Page 30 of 36 FirstFirst ... 202829303132 ... LastLast
Results 291 to 300 of 353
  1. #291
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by toomanyknots View Post
    My Original tpl header:

    " </div>

    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>


    </div>

    <br class="clearBoth" />
    <!--eof-branding display-->



    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
    <ul class="back">
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a> | </li>
    <?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> | </li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | </li>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a> | </li>
    <?php } } ?>
    <li><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon" /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo $_SESSION['cart']->count_contents();?> <?php echo HEADER_TITLE_CART_ITEMS; ?> - <?php echo $currencies->format($_SESSION['cart']->show_total());?></a> | </li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <?php }?>
    </ul>
    </div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->





    <!--eof-header logo and navigation display-->


    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->

    <!--bof handheld menu display-->
    <?php require($template->get_template_dir('tpl_modules_mobile_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_mobile_categories_tabs.php'); ?>
    <!--eof handheld menu display-->

    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->
    </div>
    <?php } ?>"



    -After the code is added (I am adding it in the correct place, right?):



    </div>

    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>


    </div>

    <br class="clearBoth" />
    <!--eof-branding display-->



    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
    <ul class="back">
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a> | </li>
    <?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a> | </li>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | </li>
    <?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a> | </li>
    <?php } } ?>
    <li><img src="<?php echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon" /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo $_SESSION['cart']->count_contents();?> <?php echo HEADER_TITLE_CART_ITEMS; ?> - <?php echo $currencies->format($_SESSION['cart']->show_total());?></a> | </li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <?php }?>
    </ul>
    </div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->





    <!--eof-header logo and navigation display-->


    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->

    <!--bof handheld menu display-->
    <?php require($template->get_template_dir('tpl_modules_mobile_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_mobile_categories_tabs.php'); ?>
    <!--eof handheld menu display-->

    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->
    </div>
    <!--bof-mega menu display-->
    <?php require($template->get_template_dir('tpl_mega_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_mega_menu.php');?>
    <!--eof-mega menu display-->
    <div class="clearBoth"></div>

    <?php } ?>
    A white page or partial white page usially means there is a errorlog file created. go to your log folder in the zen cart installation and see if there are any. You can post the contents of the latest one here, and we can help you better.

  2. #292
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by toomanyknots View Post
    Hello. I'm having trouble getting this to work. I am attempting to test this out on a fresh 1.5.4 install on wamp on my local server. I have currently tried installing the mega menu on the responsive avonlee contempo template, and the normal avonlee contempo template, to no avail. The problem comes after I add the code to tpl header:

    "3. In your favorite plain text editor, open the includes/templates/YOUR_TEMPLATE/common/tpl_header.php file. If you do not already have this file in your template override directory, make an override for it by coping the includes/templates/template_default/common/tpl_header.php to includes/templates/YOUR_TEMPLATE/common/tpl_header.php.

    Directly before the ending line:

    <?php } ?>

    Add this code:

    <!--bof-mega menu display-->
    <?php require($template->get_template_dir('tpl_mega_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_mega_menu.php');?>
    <!--eof-mega menu display-->
    <div class="clearBoth"></div>

    Save the file."


    What happens is everything on the website disappears except the header. It is strange, and I am not sure what is the problem. Is this menu compatible with 1.5.4?
    It is compatible with 1.5.4. Check your logs folder for errors and correct them.

    Thanks,

    Anne

  3. #293
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Hello Anne. Here is my latest log:

    [14-Mar-2015 18:46:43 Europe/Paris] PHP Fatal error: 1054:Unknown column 'show_box_min_width' in 'field list' :: insert into layout_boxes

    (layout_template, layout_box_name, layout_box_status, layout_box_location, layout_box_sort_order, layout_box_sort_order_single, layout_box_status_single, show_box_min_width)

    values ('responsive_avonlee_contempo', 'banner_box.php', 0, 0, 0, 0, 0, 0) ==> (as called by) C:\wamp\www\zencart154test1\zenadmin\layout_controller.php on line 71 <== in C:\wamp\www\zencart154test1\includes\classes\db\mysql\query_factory.php on line 155

    [14-Mar-2015 18:46:43 Europe/Paris] PHP Stack trace:

    [14-Mar-2015 18:46:43 Europe/Paris] PHP 1. {main}() C:\wamp\www\zencart154test1\zenadmin\layout_controller.php:0

    [14-Mar-2015 18:46:43 Europe/Paris] PHP 2. queryFactory->Execute() C:\wamp\www\zencart154test1\zenadmin\layout_controller.php:71

    [14-Mar-2015 18:46:43 Europe/Paris] PHP 3. queryFactory->set_error() C:\wamp\www\zencart154test1\includes\classes\db\mysql\query_factory.php:262

    [14-Mar-2015 18:46:43 Europe/Paris] PHP 4. queryFactory->show_error() C:\wamp\www\zencart154test1\includes\classes\db\mysql\query_factory.php:132

    [14-Mar-2015 18:46:43 Europe/Paris] PHP 5. trigger_error() C:\wamp\www\zencart154test1\includes\classes\db\mysql\query_factory.php:155

  4. #294
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Can I do a mega menu like this with this plugin (this website has an awesome mega menu, it's easy to navigate, and you don't have to click 5 links to get to the product you want): http://www.outdoorsexperience.com/

  5. #295
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Like this:


  6. #296
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Tried it on a fresh install of 151 too, same thing happens. As soon as I add the code to includes/templates/template_default/common/tpl header.php everything under the header disappears:



    Here is the log for that:

    [15-Mar-2015 16:54:44 Europe/Paris] PHP Warning: require(includes/templates/template_default/common/tpl_mega_menu.php): failed to open stream: No such file or directory in C:\wamp\www\zencart151\includes\templates\template_default\common\tpl_header.php on line 109

    [15-Mar-2015 16:54:44 Europe/Paris] PHP Stack trace:

    [15-Mar-2015 16:54:44 Europe/Paris] PHP 1. {main}() C:\wamp\www\zencart151\index.php:0

    [15-Mar-2015 16:54:44 Europe/Paris] PHP 2. require() C:\wamp\www\zencart151\index.php:97

    [15-Mar-2015 16:54:44 Europe/Paris] PHP 3. require() C:\wamp\www\zencart151\includes\templates\template_default\common\tpl_main_page. php:73

    [15-Mar-2015 16:54:44 Europe/Paris] PHP Fatal error: require(): Failed opening required 'includes/templates/template_default/common/tpl_mega_menu.php' (include_path='.;C:\php\pear') in C:\wamp\www\zencart151\includes\templates\template_default\common\tpl_header.php on line 109

    [15-Mar-2015 16:54:44 Europe/Paris] PHP Stack trace:

    [15-Mar-2015 16:54:44 Europe/Paris] PHP 1. {main}() C:\wamp\www\zencart151\index.php:0

    [15-Mar-2015 16:54:44 Europe/Paris] PHP 2. require() C:\wamp\www\zencart151\index.php:97

    [15-Mar-2015 16:54:44 Europe/Paris] PHP 3. require() C:\wamp\www\zencart151\includes\templates\template_default\common\tpl_main_page. php:73

  7. #297
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Does anyone have a guess what could be the problem?

  8. #298
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,930
    Plugin Contributions
    45

    Default Re: Pure CSS Mega Menu

    Quote Originally Posted by toomanyknots View Post
    Does anyone have a guess what could be the problem?
    The error is saying that you are missing this file:

    includes/templates/template_default/common/tpl_mega_menu.php

    Thanks,

    Anne

  9. #299
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Thank you so much! Sorry, I know these are probably stupid questions, I kinda figured that was the problem, but I am way out of my league here, so I appreciate all and any help anyone is willing to give me immensely. I really need a mega menu for my site because I have so many products. Thank you!,

    Daniel

  10. #300
    Join Date
    Jun 2014
    Location
    hamilton, ohio
    Posts
    100
    Plugin Contributions
    0

    Default Re: Pure CSS Mega Menu

    Welp, I'm trying it again (on my local server), with 1.5.4 using Annes EXCELLENT Avonlee Contempo Responsive template. I tried using the default, but was not having any success. I install the mega menu again following all steps. I got the same thing where nothing shows up after adding the code to tpl-header, so I looked at the log:

    [18-Mar-2015 22:24:07 Europe/Paris] PHP Warning: require(includes/templates/template_default/common/tpl_mega_menu.php): failed to open stream: No such file or directory in C:\wamp\www\zencart154\includes\templates\responsive_avonlee_contempo\common\tpl _header.php on line 132

    [18-Mar-2015 22:24:07 Europe/Paris] PHP Stack trace:

    [18-Mar-2015 22:24:07 Europe/Paris] PHP 1. {main}() C:\wamp\www\zencart154\index.php:0

    [18-Mar-2015 22:24:07 Europe/Paris] PHP 2. require() C:\wamp\www\zencart154\index.php:97

    [18-Mar-2015 22:24:07 Europe/Paris] PHP 3. require() C:\wamp\www\zencart154\includes\templates\responsive_avonlee_contempo\common\tpl _main_page.php:116

    [18-Mar-2015 22:24:07 Europe/Paris] PHP Warning: require(includes/templates/template_default/common/tpl_mega_menu.php): failed to open stream: No such file or directory in C:\wamp\www\zencart154\includes\templates\responsive_avonlee_contempo\common\tpl _header.php on line 132

    [18-Mar-2015 22:24:07 Europe/Paris] PHP Stack trace:

    [18-Mar-2015 22:24:07 Europe/Paris] PHP 1. {main}() C:\wamp\www\zencart154\index.php:0

    [18-Mar-2015 22:24:07 Europe/Paris] PHP 2. require() C:\wamp\www\zencart154\index.php:97

    [18-Mar-2015 22:24:07 Europe/Paris] PHP 3. require() C:\wamp\www\zencart154\includes\templates\responsive_avonlee_contempo\common\tpl _main_page.php:116

    [18-Mar-2015 22:24:07 Europe/Paris] PHP Fatal error: require(): Failed opening required 'includes/templates/template_default/common/tpl_mega_menu.php' (include_path='.;C:\php\pear') in C:\wamp\www\zencart154\includes\templates\responsive_avonlee_contempo\common\tpl _header.php on line 132

    [18-Mar-2015 22:24:07 Europe/Paris] PHP Stack trace:

    [18-Mar-2015 22:24:07 Europe/Paris] PHP 1. {main}() C:\wamp\www\zencart154\index.php:0

    [18-Mar-2015 22:24:07 Europe/Paris] PHP 2. require() C:\wamp\www\zencart154\index.php:97

    [18-Mar-2015 22:24:07 Europe/Paris] PHP 3. require() C:\wamp\www\zencart154\includes\templates\responsive_avonlee_contempo\common\tpl _main_page.php:116



    So I copied tpl_mega_menu from the includes/templates/Your Template/Common/ folder in the files that come with the mega menu package, and added it to includes/templates/template_default/common/ (I uploaded and overided all files included with the package and made sure to rename all admin folders to my admin name, I am wondering if the files just aren't being added or over written for some reason?) Now I get this:



    Does this mean the code I added to tpl_header isn't working?:

    (includes/templates/template_default/common/tpl_mega_menu.php): failed to open stream: No such file or directory in C:\wamp\www\zencart154\includes\templates\responsive_avonlee_contempo\common\tpl _header.php on line 13

 

 
Page 30 of 36 FirstFirst ... 202829303132 ... LastLast

Similar Threads

  1. Help with Mega Menu css customization
    By swdynamic in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jul 2013, 01:21 AM
  2. v139h Mega Menu Mess
    By traytray in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Nov 2012, 07:58 PM
  3. v150 Mega Menu assistance
    By Fancyfrills in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 24 Aug 2012, 06:16 PM
  4. Horizontal Drop Menu sort order of mega-menu
    By familynow in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 19 Oct 2011, 04:39 PM

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