Page 58 of 326 FirstFirst ... 848565758596068108158 ... LastLast
Results 571 to 580 of 3251
  1. #571
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by speeds5 View Post
    Jade any insight on this? Thank you!
    Open up includes/templates/cherry_zen/common/tpl_header.php and add the link after this:

    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>


    like this:

    <li><a href="link_here.htm">Link Name Here</a></li>

    And that's it! You may need to increase the width of #navMain in the css, depending on how long the word your adding is.

  2. #572
    Join Date
    Nov 2007
    Location
    oregon
    Posts
    70
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    I don't see this in Firefox. Which browser?
    Happens in ie6 just keep typing in the search box my one in the header seems ok but not the one in the right colum just keeps going out of the box

  3. #573
    Join Date
    Sep 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    OK that screwed things up for me, what am I missing?

    This is the error I'm getting...

    "Parse error: parse error, unexpected '?' in /home/alboperf/public_html/includes/templates/cherry_zen/common/tpl_header.php on line 5"
    This is what the file looks like.

    <?php
    /**
    * Common Template - tpl_header.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />* example: to override the privacy page<BR>* make a directory /templates/my_template/privacy<BR>* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<BR>* to override the global settings and turn off the footer un-comment the following line:<BR>* <BR>* $flag_disable_header = true;<BR>* * @package templateSystem * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $ */ ?&gt; <!--bof-header logo and navigation display--><?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?><!-- divs for drop shadow -->
    <DIV id=nw>
    <DIV id=ne>
    <DIV id=se>
    <DIV id=sw>
    <DIV id=n>
    <DIV id=s>
    <DIV id=w>
    <DIV id=e>
    <DIV id=main>
    <TABLE id=workaround>
    <TBODY>
    <TR>
    <TD>
    <DIV id=headerWrapper><!--bof-navigation display-->
    <DIV id=navMainWrapper>
    <DIV id=navMainSearch><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></DIV>
    <DIV id=navMain>
    <UL>
    <LI><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><SPAN><?php echo HEADER_TITLE_CATALOG; ?></SPAN></A><?php if ($_SESSION['customer_id']) { ?>
    <LI><A href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_LOGOFF; ?></SPAN></A>
    <LI><A href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_MY_ACCOUNT; ?></SPAN></A><?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <LI><A href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_LOGIN; ?></SPAN></A>
    <LI><A href="link_here.htm">Contact Us</A>
    <LI><A href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_MY_ACCOUNT; ?></SPAN></A><?php } } ?>
    <LI><A href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><SPAN><?php echo HEADER_TITLE_CART_CONTENTS; ?></SPAN></A>
    <LI><A href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><SPAN class=last><?php echo HEADER_TITLE_CHECKOUT; ?></SPAN></A></LI></UL></DIV></DIV><!--eof-navigation display--><!--bof-branding display-->
    <DIV class=clearfix id=logoWrapper>
    <DIV id=logo><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</A>'; ?&gt;</DIV><?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <DIV id=taglineWrapper><?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <DIV id=tagline><?php echo HEADER_SALES_TEXT;?></DIV><?php
    }
    ?><?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() &gt; 0) { ?&gt;
    <DIV class=banners id=bannerTwo><?php echo zen_display_banner('static', $banner);?></DIV><?php
    }
    }
    ?></DIV><?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?></DIV><!--eof-branding 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'); ?&gt; <!--eof-optional categories tabs navigation 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'); ?&gt; <?php } ?><!--eof-header ezpage links--></DIV><?php } ?></TD></TR></TBODY>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV>
    Quote Originally Posted by jettrue View Post
    Open up includes/templates/cherry_zen/common/tpl_header.php and add the link after this:

    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>


    like this:

    <li><a href="link_here.htm">Link Name Here</a></li>

    And that's it! You may need to increase the width of #navMain in the css, depending on how long the word your adding is.

  4. #574
    Join Date
    Sep 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Sorry, I had a mistake, but now I think it looks fine and it still now working. The error keeps showing up. What am I doing wrong?

    <?php
    /**
    * Common Template - tpl_header.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />* example: to override the privacy page<BR>* make a directory /templates/my_template/privacy<BR>* copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<BR>* to override the global settings and turn off the footer un-comment the following line:<BR>* <BR>* $flag_disable_header = true;<BR>* * @package templateSystem * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $ */ ?&gt; <!--bof-header logo and navigation display--><?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?><!-- divs for drop shadow -->
    <DIV id=nw>
    <DIV id=ne>
    <DIV id=se>
    <DIV id=sw>
    <DIV id=n>
    <DIV id=s>
    <DIV id=w>
    <DIV id=e>
    <DIV id=main>
    <TABLE id=workaround>
    <TBODY>
    <TR>
    <TD>
    <DIV id=headerWrapper><!--bof-navigation display-->
    <DIV id=navMainWrapper>
    <DIV id=navMainSearch><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></DIV>
    <DIV id=navMain>
    <UL>
    <LI><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><SPAN><?php echo HEADER_TITLE_CATALOG; ?></SPAN></A>
    <LI><A href="alboperformance.com/contactus.htm">Contact_Us</A><?php if ($_SESSION['customer_id']) { ?>
    <LI><A href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_LOGOFF; ?></SPAN></A>
    <LI><A href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_MY_ACCOUNT; ?></SPAN></A><?php
    } else {
    if (STORE_STATUS == '0') {
    ?>
    <LI><A href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_LOGIN; ?></SPAN></A>
    <LI><A href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><SPAN><?php echo HEADER_TITLE_MY_ACCOUNT; ?></SPAN></A><?php } } ?>
    <LI><A href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><SPAN><?php echo HEADER_TITLE_CART_CONTENTS; ?></SPAN></A>
    <LI><A href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><SPAN class=last><?php echo HEADER_TITLE_CHECKOUT; ?></SPAN></A></LI></UL></DIV></DIV><!--eof-navigation display--><!--bof-branding display-->
    <DIV class=clearfix id=logoWrapper>
    <DIV id=logo><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</A>'; ?&gt;</DIV><?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <DIV id=taglineWrapper><?php
    if (HEADER_SALES_TEXT != '') {
    ?>
    <DIV id=tagline><?php echo HEADER_SALES_TEXT;?></DIV><?php
    }
    ?><?php
    if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
    if ($banner->RecordCount() &gt; 0) { ?&gt;
    <DIV class=banners id=bannerTwo><?php echo zen_display_banner('static', $banner);?></DIV><?php
    }
    }
    ?></DIV><?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?></DIV><!--eof-branding 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'); ?&gt; <!--eof-optional categories tabs navigation 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'); ?&gt; <?php } ?><!--eof-header ezpage links--></DIV><?php } ?></TD></TR></TBODY>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV>
    <DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV></DIV>

  5. #575
    Join Date
    Dec 2007
    Location
    Sydney Australia
    Posts
    21
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by jettrue View Post
    I don't see this in Firefox. Which browser?
    Hey Jade, thanks for the support on this.

    I'm seeing it in IE7 on my laptop and desktop.

    Also do you notice the left box search area isn't quite centered, its a little to the right.
    Last edited by CMYK; 5 Dec 2007 at 06:05 AM.

  6. #576
    Join Date
    Sep 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Jade, I got the link up finally. It took me a while but after trying a few things I finally got it right.

    I added a "Contact Us" link at the top bar, not keen of the ezpages bar. So now the link is there and functional, however the text is black in color, and the divider is not there.

    How do I fix that?

    Thanks very much for your help. Much appreciated.

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

    Default Re: Cherry Zen Template Support Thread

    Quote Originally Posted by speeds5 View Post
    Sorry, I had a mistake, but now I think it looks fine and it still now working. The error keeps showing up. What am I doing wrong?
    ACK! What the HECK are you using to edit your files? Do you SEE the sheer enormous insane amount of closed divs that weren't there before?

    Also, you have messed up PHP coding, see this:

    ?&gt;

    that should be

    ?>

    There's a TON of problems such as that with your coding.
    You need a proper file editor, then your issues will go away.

  8. #578
    Join Date
    Sep 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    I use the stupid hosting company editor. Realized that was screwing things up. So what editor should use? Can you recommend one?

    Quote Originally Posted by jettrue View Post
    ACK! What the HECK are you using to edit your files? Do you SEE the sheer enormous insane amount of closed divs that weren't there before?

    Also, you have messed up PHP coding, see this:

    ?&gt;

    that should be

    ?>

    There's a TON of problems such as that with your coding.
    You need a proper file editor, then your issues will go away.

  9. #579
    Join Date
    Apr 2005
    Location
    London
    Posts
    468
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    notepad is good
    FORUM:
    # a public meeting or assembly for open discussion
    #An online discussion group, where participants with common interests can exchange open messages.
    # a public facility to meet for open discussion

  10. #580
    Join Date
    Apr 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Cherry Zen Template Support Thread

    Originally Posted by jettrue
    ACK! What the HECK are you using to edit your files?
    I couldn't have said it better myself!

    I use the stupid hosting company editor. Realized that was screwing things up. So what editor should use? Can you recommend one?
    I really like notepad2 myself. It gives you line numbers and syntax highlighting, among other things, and handles big files better. Plus, it's free like notepad.

    If you have an FTP client like CuteFtp or Filezilla (free), you can log into your web site, right click on your file and edit it directly. Remember to always backup your file though, just in case you screw something up beyond repair (been there, done that before).

 

 

Similar Threads

  1. Simple Zen Template - Support Thread
    By jettrue in forum Addon Templates
    Replies: 461
    Last Post: 27 Apr 2013, 01:33 AM
  2. Fresh Zen -- JellyFish Template Support Thread
    By magicbox in forum Addon Templates
    Replies: 93
    Last Post: 11 Apr 2012, 08:54 AM
  3. Free Template "Future Zen" v1.2 Support Thread
    By kuroi in forum Addon Templates
    Replies: 69
    Last Post: 16 Jul 2010, 06:00 AM
  4. Mix Cherry Zen Template with Default template
    By Globie in forum General Questions
    Replies: 1
    Last Post: 31 Oct 2008, 08:21 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