Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 63
  1. #31
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: Hope [multipurpose] Template Support Thread

    Quote Originally Posted by ATSWorld View Post
    Not having much success in finding out out to remove Home and categories have managed to find out to turn off categories but not remove ..
    Have been wondering if it would be possible to move the register /log in to replace Home and categories in the top bar ..Would this be possible at all

    thanks
    Yes you can move Register/Login and replace the Home link in navigation bar.
    You need to edit the file:

    /includes/template/template333/common/tpl_drop_menu.php

    To Remove Home and it's submenus, remove codes on line #47-54 (as below)

    Code:
                <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 BOX_HEADING_WHATS_NEW; ?></a></li>
                    <li><a href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL); ?>"><?php echo CATEGORIES_BOX_HEADING_PRODUCTS_ALL; ?></a></li>
                    <li><a href="<?php echo zen_href_link(FILENAME_SPECIALS); ?>"><?php echo BOX_HEADING_SPECIALS; ?></a></li>
                    <li><a href="<?php echo zen_href_link(FILENAME_ADVANCED_SEARCH); ?>"><?php echo BOX_HEADING_SEARCH; ?></a></li>
                  </ul>
                </li>
    Then REPLACE With the codes below:

    Code:
          <?php if ($_SESSION['customer_id']) { ?>
    
                    <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
    
                    <?php } else { ?>
    
                     <li class="submenu"><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>">Register</a>
                    &nbsp;/&nbsp;<a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    
                    
    
                    <?php } ?>

    Then to remove current Register/Login from the top most browser, go to

    /includes/template/template333/common/tpl_header.php

    Remove all codes from From line #100-122 (as below):

    Code:
                <div id="login_header">
                    
                    
    
                    <?php if ($_SESSION['customer_id']) { ?>
    
                    <a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
    
                    &nbsp;/&nbsp;<!--<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL'); ?>"><?php echo HEADER_TITLE_NEWSLETTERS; ?></a></li>-->
    
                    <?php } else { ?>
    
                    <a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>">Register</a>
                    &nbsp;/&nbsp;<a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>
    
                    
    
                    <?php } ?>
    
                 
            
                
                </div>

    You might need to adjust a little CSS here and there to compensate the changes, just let me know if this work.

  2. #32
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Hope [multipurpose] Template Support Thread

    Thanks for info ..Will have to look into it tomorrow night and let you know if it works ..bit late now
    thanks for the reply

  3. #33
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Hope [multipurpose] Template Support Thread

    Hi

    Thanks that's worked fine .. Just still showing categories tab though
    test site
    caketins4hire.co.uk

  4. #34
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: Hope [multipurpose] Template Support Thread

    Quote Originally Posted by ATSWorld View Post
    Hi

    Thanks that's worked fine .. Just still showing categories tab though
    test site
    caketins4hire.co.uk
    To remove the categories tab/dropdown, you need to delete the entire 'categories' codes

    Start from line #53 downward:

    PHP Code:

                <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>

  5. #35
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Hope [multipurpose] Template Support Thread

    Oops tried that and site not working now ...Will have to start again later

  6. #36
    Join Date
    Aug 2006
    Location
    Singapore
    Posts
    167
    Plugin Contributions
    1

    Default Re: Hope [multipurpose] Template Support Thread

    Quote Originally Posted by ATSWorld View Post
    Oops tried that and site not working now ...Will have to start again later
    Make sure you make backup before making any changes.

  7. #37
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Hope [multipurpose] Template Support Thread

    got it to work this time but it also removed the categories from the side bar .Was that suppose to happen

  8. #38
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Hope [multipurpose] Template Support Thread

    Hi ..is there anything else I could try

  9. #39
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    Default Re: Hope [multipurpose] Template Support Thread

    Thanks for your previous help .Have ended up buying a premium template

  10. #40
    Join Date
    Jun 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Hope [multipurpose] Template Support Thread

    I would like to change the size of Slider image but m not getting how to do it.
    please help me

 

 
Page 4 of 7 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  2. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  3. Rustic Template Support Thread
    By clydejones in forum Addon Templates
    Replies: 320
    Last Post: 20 May 2013, 10:47 AM
  4. Turpy Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 3
    Last Post: 20 Feb 2012, 07:36 PM
  5. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 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