Page 15 of 33 FirstFirst ... 5131415161725 ... LastLast
Results 141 to 150 of 321
  1. #141
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Rustic Template Support Thread

    Quote Originally Posted by minute View Post
    Hello, I am using zencart 1.3.7 and I have a problem because I cannot add links to the navigation links in tpl_header, I can add but it does not look the same as the rest. you can see in www.dotari-saloane.ro the links "Catalog" is not the same as the rest .. Home etc... I did what the FAQ said here: https://www.zen-cart.com/tutorials/i...hp?article=234 and add after

    <li<?php echo (($current_page_base == 'shopping_cart') ? ' class="cart current">' : ' class="cart">');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>

    This :

    <li><a href="http://www.dotari-saloane.ro/catalog.pdf" target="_blank">Catalog</a></li>
    </ul>

    But, as you can see, the result is not as I expected.

    Thanks!
    You simply forgot the span tags

    try making the highlighted corrections

    <li><a href="http://www.dotari-saloane.ro/catalog.pdf" target="_blank"><span>Catalog</span></a></li>

  2. #142
    Join Date
    Dec 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Rustic Template Support Thread

    Thanks! It works!!! GREAT!!!! Thanks again!

  3. #143
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Rustic Template Support Thread

    Quote Originally Posted by minute View Post
    Thanks! It works!!! GREAT!!!! Thanks again!
    glad to help

  4. #144
    Join Date
    Dec 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Rustic Template Support Thread

    Hello, it is me again, I want to know if there is a posibiliti to hide some of the links in the tpl_header.php with some if statements. For example, if the user is not logged in, the link /index.php?main_page=account to be hide, and when is logged in to be shown, and also the cart link if there are no products in it. Thans for your help!

  5. #145
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Rustic Template Support Thread

    Quote Originally Posted by minute View Post
    Hello, it is me again, I want to know if there is a posibiliti to hide some of the links in the tpl_header.php with some if statements. For example, if the user is not logged in, the link /index.php?main_page=account to be hide, and when is logged in to be shown, and also the cart link if there are no products in it. Thans for your help!
    Sure:

    open includes/templates/rustic/common/tpl_header.php

    find the following section of code
    Code:
    <div id="navMain">
        <ul>
        <li<?php echo (($this_is_home_page) ? ' class="current">' : '>');?><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo '<span>' . HEADER_TITLE_CATALOG . '</span>'; ?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li<?php echo (($current_page_base == 'logoff') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGOFF . '</span>'; ?></a></li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li<?php echo (($current_page_base == 'login') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGIN . '</span>'; ?></a></li>
    <?php } } ?>
    <li<?php echo (($current_page_base == 'contact_us') ? ' class="current">' : ' class="contact">');?><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>"><?php echo '<span>' . BOX_INFORMATION_CONTACT . '</span>'; ?></a></li>
        <li<?php echo (($current_page_base == 'account') ? ' class="current">' : ' class="account">');?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_MY_ACCOUNT . '</span>'; ?></a></li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li<?php echo ((in_array($current_page_base,explode(",",'checkout_shipping,checkout_payment,checkout_confirmation,checkout_success'))) ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CHECKOUT . '</span>'; ?></a></li>
    <?php }?>
        <li<?php echo (($current_page_base == 'shopping_cart') ? ' class="cart current">' : ' class="cart">');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
    </ul>
    and replace it with the following:

    Code:
    <div id="navMain">
        <ul>
        <li<?php echo (($this_is_home_page) ? ' class="current">' : '>');?><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo '<span>' . HEADER_TITLE_CATALOG . '</span>'; ?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li<?php echo (($current_page_base == 'logoff') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGOFF . '</span>'; ?></a></li>
        <li<?php echo (($current_page_base == 'account') ? ' class="current">' : ' class="account">');?><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_MY_ACCOUNT . '</span>'; ?></a></li>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li<?php echo (($current_page_base == 'login') ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_LOGIN . '</span>'; ?></a></li>
    <?php } } ?>
    <li<?php echo (($current_page_base == 'contact_us') ? ' class="current">' : ' class="contact">');?><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'SSL'); ?>"><?php echo '<span>' . BOX_INFORMATION_CONTACT . '</span>'; ?></a></li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li<?php echo ((in_array($current_page_base,explode(",",'checkout_shipping,checkout_payment,checkout_confirmation,checkout_success'))) ? ' class="current">' : '>');?><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CHECKOUT . '</span>'; ?></a></li>
        <li<?php echo (($current_page_base == 'shopping_cart') ? ' class="cart current">' : ' class="cart">');?><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo '<span>' . HEADER_TITLE_CART_CONTENTS . '</span>'; ?></a></li>
    <?php }?>
    </ul>

  6. #146
    Join Date
    Dec 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Rustic Template Support Thread

    Works great! Millions of thanks!

  7. #147
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Rustic Template Support Thread

    Quote Originally Posted by minute View Post
    Works great! Millions of thanks!
    Glad it got sorted

  8. #148
    Join Date
    Jul 2009
    Location
    Arkansas
    Posts
    177
    Plugin Contributions
    0

    Default Re: Rustic Template Support Thread

    Hello Clyde,

    I downloaded your 'Rustic' template from (sorry, site offline), installed it and it shows up but I can't get my site template to change to the Rustic. Thought I may have had a bad download, I found it again on your site I believe so I downloaded it again from there and installed it again according to instructions and when I click on Tools and go to the template installer, it shows as being there but after I go through the process to use it, my original template is still there, the Rustic one doesn't show up.

    Can you possibly advise what I should check or do, I'm new to ZC and am trying to learn it so that I can move my existing store over to it.

    My URL for the Zen Cart is rivercityemporium.com. I just got it installed the other day but have decided to change themes and thought the Rustic one would go better with the product lines I'm going to carry on it.

    Thanks for any help you can send my way,

    Jim

  9. #149
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Rustic Template Support Thread

    Quote Originally Posted by RiverCity View Post
    Hello Clyde,

    I downloaded your 'Rustic' template from (sorry, site offline), installed it and it shows up but I can't get my site template to change to the Rustic. Thought I may have had a bad download, I found it again on your site I believe so I downloaded it again from there and installed it again according to instructions and when I click on Tools and go to the template installer, it shows as being there but after I go through the process to use it, my original template is still there, the Rustic one doesn't show up.

    Can you possibly advise what I should check or do, I'm new to ZC and am trying to learn it so that I can move my existing store over to it.

    My URL for the Zen Cart is rivercityemporium.com. I just got it installed the other day but have decided to change themes and thought the Rustic one would go better with the product lines I'm going to carry on it.

    Thanks for any help you can send my way,

    Jim
    From your description, it sounds like it wasn't installed correctly.

    follow the instruction for uninstalling the template

    and then try the install again.

    Just FTP the includes folder to your server where you have Zen Cart installed.

  10. #150
    Join Date
    Jul 2009
    Location
    Arkansas
    Posts
    177
    Plugin Contributions
    0

    Default Re: Rustic Template Support Thread

    Thanks Clyde,

    I followed your instructions and deleted all the files and then reinstalled the copy I received from your website and I still can't get it to change from the Glacial Age template to the Rustic one.

    I feel comfortable that I've installed it correctly according to the instructions so I must be not completing all the steps in my admin to make the change, I'll try to find the instructions to do that and retry it.

    Thanks for the help,

    Jim

 

 
Page 15 of 33 FirstFirst ... 5131415161725 ... LastLast

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 107
    Last Post: 11 Nov 2024, 08:28 PM
  2. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  3. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  4. Scuro Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 11
    Last Post: 12 Mar 2015, 09:45 PM
  5. DigitalShop Template Support Thread
    By blingthemes in forum Addon Templates
    Replies: 19
    Last Post: 9 Mar 2011, 07:49 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