Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Feb 2009
    Location
    atlanta GA
    Posts
    224
    Plugin Contributions
    0

    Default Re: General question about a new install

    So i have tried Ezpages Footer Columns and it looks like there might be issues with the most currently zc and my setup. Do any of you know of any other foot column plugins that work with 1.5.7c ?
    Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com

  2. #12
    Join Date
    May 2009
    Posts
    1,183
    Plugin Contributions
    2

    Default Re: General question about a new install

    How about this
    https://zenexpert.com/zx-products-carousel

    As per the horizontal menu I have been experimenting with this, you need to do some tweaking to adapt it to your needs; it was done for the older bootstrap version, you may compare it to the latest, and eventually update it.

    Includes/templates/YOUR_BOOTSTRAP_CLONE/common/tpl_offcanvas_menu.php

    PHP Code:
    <?php
    /**
     * Template for Mobile Header Drop Down
     * 
     * BOOTSTRAP v1.0.BETA
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * FZ modified to have megamenu - aka keneso
     */
     
    ?>


    <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" href="#" id="categoryDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        <?php echo BOX_HEADING_CATEGORIES?>
        </a>
        <div class="dropdown-menu fz-megamenu-container" aria-labelledby="categoryDropdown">
        <div class="container-flex">
            <div class="row">
            <div class="col-md-3">
                <span class="text-uppercase text-white fz-megamenu-title"><?php echo BOX_HEADING_CATEGORIES?></span>
                <ul class="nav flex-column">
        <?php
        $categories_tab_query 
    "SELECT c.categories_id, cd.categories_name FROM ".TABLE_CATEGORIES." c, ".TABLE_CATEGORIES_DESCRIPTION " cd WHERE c.categories_id=cd.categories_id AND c.parent_id= '0' AND cd.language_id='" . (int)$_SESSION['languages_id'] . "' AND c.categories_status='1' ORDER BY c.sort_order, cd.categories_name;";
        
    $categories_tab $db->Execute($categories_tab_query);
        while (!
    $categories_tab->EOF
        {
        
    // currently selected category
            
    echo '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_DEFAULT,'cPath=' . (int)$categories_tab->fields['categories_id']).'">'
            if((int)
    $cPath == $categories_tab->fields['categories_id']) 
             echo 
    '<span class="category-subs-selected">'.$categories_tab->fields['categories_name'].'</span>';
            else 
             echo 
    $categories_tab->fields['categories_name'];
            echo 
    '</a></li>';
            
    $categories_tab->MoveNext();
        }
        
    ?>
                </ul>
            </div>
            <!-- /.col-md-3  -->
            <div class="col-md-3">
            <span class="text-uppercase text-white fz-megamenu-title"><?php echo FZ_SNAF_PRODUCTS?></span>
                <ul class="nav flex-column">
        <?php
        
    // specials products link
        
    if (SHOW_CATEGORIES_BOX_SPECIALS == 'true') {
        
    $show_this $db->Execute("select s.products_id from " TABLE_SPECIALS " s where s.status= 1 limit 1");
        if (
    $show_this->RecordCount() > 0) {
        echo 
    '<a class="dropdown-item" href="'.zen_href_link(FILENAME_SPECIALS) . '">' CATEGORIES_BOX_HEADING_SPECIALS.'</a>';
        }
        }

    // START to show the specials centerbox    
        
    //require($template->get_template_dir('tpl_modules_specials_fz.php',DIR_WS_TEMPLATE, $current_page_base,'centerboxes'). '/tpl_modules_specials_fz.php');

    // END to show the specials centerbox

        // new products link
    if (SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true') {
    // display limits
    // $display_limit = zen_get_products_new_timelimit();
    $display_limit zen_get_new_date_range();
        
    $show_this $db->Execute("select p.products_id
                                    from " 
    TABLE_PRODUCTS " p
                                    where p.products_status = 1 " 
    $display_limit " limit 1");
        if (
    $show_this->RecordCount() > 0) { 
        echo 
    '<a class="dropdown-item" href="'.zen_href_link(FILENAME_PRODUCTS_NEW) . '">' CATEGORIES_BOX_HEADING_WHATS_NEW.'</a>';
        }
        } 
        
    // featured products link
        
    if (SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true') {
        
    $show_this $db->Execute("select products_id from " TABLE_FEATURED " where status= 1 limit 1");
        if (
    $show_this->RecordCount() > 0) { 
        echo 
    '<a class="dropdown-item" href="'.zen_href_link(FILENAME_FEATURED_PRODUCTS) . '">' CATEGORIES_BOX_HEADING_FEATURED_PRODUCTS.'</a>';
        }
        }
        
    // all products link
        
    if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
        echo 
    '<a class="dropdown-item" href="'.zen_href_link(FILENAME_PRODUCTS_ALL) . '">' CATEGORIES_BOX_HEADING_PRODUCTS_ALL.'</a>';
        }
        
    ?>
                </ul>
            </div>
            <!-- /.col-md-3  -->
            <div class="col-md-3">
            <span class="text-uppercase text-white fz-megamenu-title"><?php echo BOX_HEADING_INFORMATION?></span>
                <div class="fz-call-to-action-box">
                <a href="#">
                <img src="https://dummyimage.com/200x100/ccc/000&text=image+link" alt="" class="img-fluid">
                </a>
                <p class="text-white">call to action box</p>
                </div>

    <?php
        
    echo '<ul class="nav flex-column">';
        if (
    DEFINE_SHIPPINGINFO_STATUS <= 1) {
            echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_SHIPPING) . '">'BOX_INFORMATION_SHIPPING.'</a></li>';
        }
        if (
    DEFINE_PRIVACY_STATUS <= 1) {
            echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_PRIVACY) . '">'BOX_INFORMATION_PRIVACY.'</a></li>';
        }
        if (
    DEFINE_CONDITIONS_STATUS <= 1) {
            echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_CONDITIONS) . '">'BOX_INFORMATION_CONDITIONS.'</a></li>';
        }
        if (!empty(
    $external_bb_url) && !empty($external_bb_text)) { // forum/bb link
            
    echo '<li><a class="dropdown-item" href="'.external_bb_url.'" target="_blank">'external_bb_text.'</a></li>';
        }
        if (
    DEFINE_SITE_MAP_STATUS <= 1) {
            echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_SITE_MAP) . '">'BOX_INFORMATION_SITE_MAP.'</a></li>';
        }
        if (
    defined('MODULE_ORDER_TOTAL_GV_STATUS') && MODULE_ORDER_TOTAL_GV_STATUS == 'true') {
                echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_GV_FAQ) . '">'BOX_INFORMATION_GV.'</a></li>';
        }
        if (
    DEFINE_DISCOUNT_COUPON_STATUS <= && defined('MODULE_ORDER_TOTAL_COUPON_STATUS') && MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') {
                echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_DISCOUNT_COUPON) . '">'BOX_INFORMATION_DISCOUNT_COUPONS.'</a></li>';
        }
        if (
    SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') {
            echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_UNSUBSCRIBE) . '">'BOX_INFORMATION_UNSUBSCRIBE.'</a></li>';
        }
        if (
    DEFINE_PAGE_2_STATUS <= 1) {
            echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_PAGE_2) . '">'BOX_INFORMATION_PAGE_2.'</a></li>';
        }
        if (
    DEFINE_PAGE_3_STATUS <= 1) {
            echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_PAGE_3) . '">'BOX_INFORMATION_PAGE_3.'</a></li>';
        }
        if (
    DEFINE_PAGE_4_STATUS <= 1) {
            echo 
    '<li><a class="dropdown-item" href="'.zen_href_link(FILENAME_PAGE_4) . '">'BOX_INFORMATION_PAGE_4.'</a></li>';
        }
        echo 
    '</ul>';
    ?>

            </div>
            <!-- /.col-md-3  -->
            <div class="col-md-3">
                <span class="text-uppercase text-white fz-megamenu-title"><?php echo BOX_HEADING_EZPAGES?></span>
    <?php
        
    // test if sidebox should display
        
    if (EZPAGES_STATUS_SIDEBOX == '1' or (EZPAGES_STATUS_SIDEBOX== '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE$_SERVER['REMOTE_ADDR'])))) {

        echo 
    '<ul class="nav flex-column">';

        if (isset(
    $var_linksList)) {
            unset(
    $var_linksList);
        }
        
    // BOE - Bootstrap for 1.5.6     
        
    $page_query $db->Execute("SELECT e.*, ec.*
                                    FROM " 
    TABLE_EZPAGES " e,
                                        " 
    TABLE_EZPAGES_CONTENT " ec
                                    WHERE e.pages_id = ec.pages_id
                                    AND ec.languages_id = " 
    . (int)$_SESSION['languages_id'] . "
                                    AND e.status_sidebox = 1
                                    AND e.sidebox_sort_order > 0
                                    ORDER BY e.sidebox_sort_order, ec.pages_title"
    );   
            
    // old code for 1.5.5:
            //    $page_query = $db->Execute("select * from " . TABLE_EZPAGES . " where status_sidebox = 1 and sidebox_sort_order > 0 order by sidebox_sort_order, pages_title");
            // EOE - Bootstrap for 1.5.6
            
    if ($page_query->RecordCount()>0) {
                
    $title =  BOX_HEADING_EZPAGES;
                
    $box_id =  'ezpages';
                
    $rows 0;
                while (!
    $page_query->EOF) {
                
    $rows++;
                
    $page_query_list_sidebox[$rows]['id'] = $page_query->fields['pages_id'];
                
    $page_query_list_sidebox[$rows]['name'] = $page_query->fields['pages_title'];
                
    $page_query_list_sidebox[$rows]['altURL']  = "";
                switch (
    true) {
                    
    // external link new window or same window
                    
    case ($page_query->fields['alt_url_external'] != ''):
                    
    $page_query_list_sidebox[$rows]['altURL']  = $page_query->fields['alt_url_external'];
                    break;
                    
    // internal link new window
                    
    case ($page_query->fields['alt_url'] != '' and $page_query->fields['page_open_new_window'] == '1'):
                    
    $page_query_list_sidebox[$rows]['altURL']  = (substr($page_query->fields['alt_url'],0,4) == 'http') ?
                    
    $page_query->fields['alt_url'] :
                    (
    $page_query->fields['alt_url']=='' '' zen_href_link($page_query->fields['alt_url'], '', ($page_query->fields['page_is_ssl']=='0' 'NONSSL' 'SSL'), truetruetrue));
                    break;
                    
    // internal link same window
                    
    case ($page_query->fields['alt_url'] != '' and $page_query->fields['page_open_new_window'] == '0'):
                    
    $page_query_list_sidebox[$rows]['altURL']  = (substr($page_query->fields['alt_url'],0,4) == 'http') ?
                    
    $page_query->fields['alt_url'] :
                    (
    $page_query->fields['alt_url']=='' '' zen_href_link($page_query->fields['alt_url'], '', ($page_query->fields['page_is_ssl']=='0' 'NONSSL' 'SSL'), truetruetrue));
                    break;
                }

                
    // if altURL is specified, use it; otherwise, use EZPage ID to create link
                
    $page_query_list_sidebox[$rows]['link'] = ($page_query_list_sidebox[$rows]['altURL'] =='') ?
                
    zen_href_link(FILENAME_EZPAGES'id=' $page_query->fields['pages_id'] . ($page_query->fields['toc_chapter'] > '&chapter=' $page_query->fields['toc_chapter'] : ''), ($page_query->fields['page_is_ssl']=='0' 'NONSSL' 'SSL')) :
                
    $page_query_list_sidebox[$rows]['altURL'];
                
    $page_query_list_sidebox[$rows]['link'] .= ($page_query->fields['page_open_new_window'] == '1' '" target="_blank' '');
                
    $page_query->MoveNext();
                }

                
    $title_link false;

                
    $var_linksList $page_query_list_sidebox;

            }

            for (
    $i=1$n=sizeof($var_linksList); $i<=$n$i++) { 
                echo 
    '<li><a class="dropdown-item" href="' $var_linksList[$i]['link'] . '">' $var_linksList[$i]['name'] . '</a></li>';
            } 
    // end FOR loop

            
    echo '</ul>';

            } 
    // test for display
     
    ?>
            </div>
            <!-- /.col-md-3  -->

            </div>
        </div>
    <!--  /.container-flex  -->
    </div>
    </li>

  3. #13
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,970
    Plugin Contributions
    7

    Default Re: General question about a new install

    Quote Originally Posted by keneso View Post
    i don't want to be a wet rag, but...

    if you go to the above link, you will see:

    Based on Owl Carousel and using jQuery

    now if you want any info on the owl carousel you can go here:

    https://github.com/OwlCarousel2/OwlCarousel2

    i would completely recommend against using anything with owlcarousel; project has no been maintained for 3 years, and has numerous issues.

    in addition, in both carousels, the author is the same person, ie zenexpert is balihr, who in my few dealings with him is a very lovely person and a very talented coder.

    one might be able to reach out to him for his thoughts on a carousel or perhaps hire him for a new one.

    best.
    #theGoldStandard in IT support
    if you feel so inclined, feel free to send some cake....

  4. #14
    Join Date
    May 2009
    Posts
    1,183
    Plugin Contributions
    2

    Default Re: General question about a new install

    Quote Originally Posted by carlwhat View Post
    i don't want to be a wet rag, but...
    Not at all, thank you for your infos.
    I posted it as I haven't had any issue with it, I have jquery3.5

  5. #15
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,344
    Plugin Contributions
    15

    Default Re: General question about a new install

    Quote Originally Posted by carlwhat View Post
    while that slider may work great, i do not recommend it.

    it makes use of jquery 1.7.1. you can see the version history here: same for the ZCA bootstrap template.
    Nope, it was updated to jQuery 3 over a year ago. Unfortunately, a minor edit is required and you must delete the included jscript_jquery-1.7.1.min.js before uploading to server.
    Zen Cart Point of Sale? Sure: ZX POS - v2 released
    My site - Pro ZC Help | My portfolio | My plugins

  6. #16
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,344
    Plugin Contributions
    15

    Default Re: General question about a new install

    Quote Originally Posted by keneso View Post
    Actually also available in the Plugins section, but for some reason most of my plugins don't show up in search results...

    As for OwlCarousel - although abandoned, I dare say (and think) the last production version was pretty good and does the job as it's supposed to. I won't argue about better alternatives being available, but personally I feel this is quite good. The numerous issues were not security related but were mostly feature or support requests so I'm still using it...
    Last edited by balihr; 8 Jun 2021 at 05:20 PM. Reason: extra info
    Zen Cart Point of Sale? Sure: ZX POS - v2 released
    My site - Pro ZC Help | My portfolio | My plugins

  7. #17
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,970
    Plugin Contributions
    7

    Default Re: General question about a new install

    Quote Originally Posted by balihr View Post
    Nope, it was updated to jQuery 3 over a year ago. Unfortunately, a minor edit is required and you must delete the included jscript_jquery-1.7.1.min.js before uploading to server.
    well that's what threw me! you had that file included in the download...
    #theGoldStandard in IT support
    if you feel so inclined, feel free to send some cake....

  8. #18
    Join Date
    May 2009
    Posts
    1,183
    Plugin Contributions
    2

    Default Re: General question about a new install

    Quote Originally Posted by balihr View Post
    Unfortunately, a minor edit is required and you must delete the included jscript_jquery-1.7.1.min.js before uploading to server.
    I gather that edit is referred to the ZX Slideshow, as I don't recall making edits, save some minor layout ones, for ZX Products Carousel.

    Quote Originally Posted by balihr View Post
    but for some reason most of my plugins don't show up in search results...
    Indeed I looked for it, but couldn't find it, tried various keyword combinations ...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. General Question about Bookmarks
    By mel150 in forum General Questions
    Replies: 1
    Last Post: 28 Nov 2012, 03:50 PM
  2. General question about overrides
    By jeffmic in forum General Questions
    Replies: 2
    Last Post: 23 Sep 2010, 05:08 AM
  3. general question about zencart
    By fiddycent in forum General Questions
    Replies: 6
    Last Post: 26 Apr 2007, 07:46 PM
  4. General Question about Discounts
    By tomhilton in forum General Questions
    Replies: 0
    Last Post: 12 Jul 2006, 05:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR