Page 1 of 2 12 LastLast
Results 1 to 10 of 3041

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by Saberman View Post
    Is there somewhere I can go to understand how to do comment(?) on stylesheet. I'm still learning. Thanks
    Here's a quick tutorial on commenting out items in the stylesheet:

    In a stylesheet, sections like this will be hidden:

    /* this stuff will be hidden */


    Removing the /* and */ from a "hidden" section, will make it un-hidden.


    So in the stylesheet, the green section comes un-commented:


    /*green */

    green styles are found here, and are not hidden

    /* eof green */


    And the blue (and red and gray) come commented:

    /* blue

    blue styles are found here, and ARE hidden

    /*eof blue*/

    To un-comment the blue, all you have to do is change

    /* blue

    to

    /* blue */

    Hope that helps!

  2. #2
    Join Date
    Sep 2006
    Location
    Oklahoma City, OK
    Posts
    28
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    Here's a quick tutorial on commenting out items in the stylesheet:

    In a stylesheet, sections like this will be hidden:

    /* this stuff will be hidden */

    Removing the /* and */ from a "hidden" section, will make it un-hidden.


    So in the stylesheet, the green section comes un-commented:


    /*green */

    green styles are found here, and are not hidden

    /* eof green */


    And the blue (and red and gray) come commented:

    /* blue

    blue styles are found here, and ARE hidden

    /*eof blue*/

    To un-comment the blue, all you have to do is change

    /* blue

    to

    /* blue */

    Hope that helps!
    That helped alot. Really need to spend more time learning about CSS and stylesheets.

    Thanks again..

  3. #3
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Hi!

    Great template. :)

    I have disabled the shopping cart as we only use Zen for it's catalog functions.

    SHOPPING CART is still displayed in the horizontal menu. I have read a similar request in post# 53 and followed jettrue's instructions explaining how to remove CONTACT US (tpl_drop_menu.php) but haven't succeeded.

    Your help would be much appreciated. :)

  4. #4
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by penzman View Post
    Hi!

    Great template. :)

    I have disabled the shopping cart as we only use Zen for it's catalog functions.

    SHOPPING CART is still displayed in the horizontal menu. I have read a similar request in post# 53 and followed jettrue's instructions explaining how to remove CONTACT US (tpl_drop_menu.php) but haven't succeeded.

    Your help would be much appreciated. :)
    You would remove this section:

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
    <ul class="level2">
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    </ul>
    </li>
    <?php } else { ?>


    from includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php

  5. #5
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    You would remove this section:

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
    <ul class="level2">
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    </ul>
    </li>
    <?php } else { ?>


    from includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php
    Mmm, I have, not exactly sure if that's exactly what I attempted before but followed your instructions and the Shopping Cart is still appearing in the horizontal menu. I have renamed the original file to keep it intact, tried over and over, refreshed, nothing. Same result now.

    Here's what's left after I ''gutted'' the file.

    ?>
    <!-- menu area -->

    <div id="dropMenuWrapper">
    <div id="dropMenu">
    <ul class="level1">
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>
    <ul class="level2">
    <li><a href="<?php echo zen_href_link(FILENAME_PRODUCTS_NEW); ?>"><?php echo HEADER_TITLE_NEW_PRODUCTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL); ?>"><?php echo HEADER_TITLE_ALL_PRODUCTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_SPECIALS); ?>"><?php echo HEADER_TITLE_SPECIALS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ADVANCED_SEARCH); ?>"><?php echo HEADER_TITLE_SEARCH; ?></a></li>
    </ul>
    </li>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo HEADER_TITLE_CATEGORIES; ?></a>
    <?php

    // load the UL-generator class and produce the menu list dynamically from there
    require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
    $zen_CategoriesUL = new zen_categories_ul_generator;
    $menulist = $zen_CategoriesUL->buildTree(true);
    $menulist = str_replace('"level4"','"level5"',$menulist);
    $menulist = str_replace('"level3"','"level4"',$menulist);
    $menulist = str_replace('"level2"','"level3"',$menulist);
    $menulist = str_replace('"level1"','"level2"',$menulist);
    $menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
    $menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
    echo $menulist;
    ?>

    </li>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_INFORMATION; ?></a>
    <ul class="level2">
    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo HEADER_TITLE_SHIPPING_INFO; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_PRIVACY); ?>"><?php echo HEADER_TITLE_PRIVACY_POLICY; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CONDITIONS); ?>"><?php echo HEADER_TITLE_CONDITIONS_OF_USE; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>"><?php echo HEADER_TITLE_ABOUT_US; ?></a></li>
    <?php if (defined('FILENAME_SITE_MAP')) { ?><li><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo HEADER_TITLE_SITE_MAP; ?></a></li>
    <?php } ?><?php if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') { ?><li><a href="<?php echo zen_href_link(FILENAME_GV_FAQ, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_GV_FAQ; ?></a></li>
    <?php } ?><?php if (MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') { ?><li><a href="<?php echo zen_href_link(FILENAME_DISCOUNT_COUPON, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_DISCOUNT_COUPON; ?></a></li>
    <?php } ?><?php if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true') { ?><li><a href="<?php echo zen_href_link(FILENAME_UNSUBSCRIBE, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_UNSUBSCRIBE; ?></a></li><?php } ?><?php require(DIR_WS_MODULES . 'sideboxes/' . $template_dir . '/' . 'ezpages_drop_menu.php'); ?>
    </ul>
    </li>
    <li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CONTACT_US; ?></a></li>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
    <ul class="level2">
    <?php if ($_SESSION['customer_id']) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
    <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_NEWSLETTERS, '', 'SSL'); ?>"><?php echo HEADER_TITLE_NEWSLETTERS; ?></a></li><?php } else { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></a></li>
    </ul>
    </div>
    </div>

  6. #6
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    I`m having a go at the Developers Tools see if I can find something elsewhere...

  7. #7
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Strange, I did not get rid of the Shopping Cart in the horiz. menu. Thinking maybe I had messed up something, I did a fresh install. Now, following your same instructions, the whole horizontal menu disappears....

  8. #8
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Apple Zen Template Support Thread

    Quote Originally Posted by penzman View Post
    Strange, I did not get rid of the Shopping Cart in the horiz. menu. Thinking maybe I had messed up something, I did a fresh install. Now, following your same instructions, the whole horizontal menu disappears....
    You are taking out too much. ONLY take out this section:

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
    <ul class="level2">
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    </ul>
    </li>
    <?php } else { ?>
    <li><a class="noLine" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <?php } ?>

    The bottom of that file should look like this:


    </ul>
    </li>
    </ul>
    </div>
    </div>


    While your is like this:

    </li>
    </ul>
    </div>
    </div>

  9. #9
    Join Date
    Aug 2004
    Posts
    10
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    I sure was taking out too much Jettrue. Cart is now gone. Thank you very much.

    Like when rearranging furniture, my wife now also wants sideboxes!

    This template is just great, also, it has the most views in the forum, very helpful!

    I feel like making a donation now. ;)

  10. #10
    Join Date
    Feb 2007
    Location
    New York
    Posts
    88
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    Hi,

    Please take a look at my log in page:
    http://www.ejpshop.com/shop/index.php?main_page=login

    Where do I need to change to make it look like yours:
    http://www.zencart137.jadetrue.com/i...ain_page=login

    Is it the tpl_login_default.php ?

    Thanks in advance!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Zen Lightbox addon [Support Thread]
    By Alex Clarke in forum All Other Contributions/Addons
    Replies: 3726
    Last Post: 2 Feb 2026, 06:28 PM
  2. Cherry Zen Template Support Thread
    By jettrue in forum Addon Templates
    Replies: 3250
    Last Post: 13 Nov 2017, 08:02 PM
  3. v151 Zen Magnific Support Thread
    By mutinyzoo in forum All Other Contributions/Addons
    Replies: 79
    Last Post: 14 Sep 2015, 04:39 AM
  4. Simple Zen Template - Support Thread
    By jettrue in forum Addon Templates
    Replies: 461
    Last Post: 27 Apr 2013, 01:33 AM

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