Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / help with red passion template

help with red passion template

Locked

Views: 2,415

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
1 Jul 2007, 2:44 AM
#1
justmygirls avatar

justmygirls

New Zenner

Join Date:
Jan 2007
Posts:
8
Plugin Contributions:
0

help with red passion template

how do I add links next to my navigation where it says Home; Login
I would like to add other links like my blog and gallery. is this possible?
my links is http://www.digi-moments.net/Shoppe/
thanks in advance
-Tanya

1 Jul 2007, 9:11 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: help with red passion template

Find your copy of tpl_header.php then find <!--bof-navigation display--> and <!--eof-navigation display-->

Look at the listings between these and insert additional li's where you want with href's to your pages

2 Jul 2007, 12:59 AM
#3
justmygirls avatar

justmygirls

New Zenner

Join Date:
Jan 2007
Posts:
8
Plugin Contributions:
0

Re: help with red passion template

thanks soo much :hug:

2 Jul 2007, 2:46 AM
#4
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: help with red passion template

I want to do this too, but it will not show up. :no:

Here is my code in tpl_header.php:

<!--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>
<li><a href="http://www.chappellmccullar.com/notes/index.php">Michael's Blog</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 } } ?>

<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<li><a href="mylink.html">My link</a></li>
<?php }?>
</ul>
</div>

Where did I go wrong?

2 Jul 2007, 5:55 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: help with red passion template

bobdog,

How about a look at the site where this is?

2 Jul 2007, 6:57 PM
#6
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: help with red passion template

3 Jul 2007, 12:01 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: help with red passion template

bobdog,

If that is your tpl_header.php file it is not in the correct place and not being used.

What is the path to this file?

It should be in includes/templates/custom_template/common

3 Jul 2007, 12:56 AM
#8
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: help with red passion template

Kobra,

Thanks for the reply. True, the <li> was removed yesterday as I awaited a reply.

However, I solved the problem. For others having this problem, there seems to be a specific place to add between the

<!--bof-navigation display-->

and

<!--eof-navigation display-->

This worked for me:

<!--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>
<li><a href="http://www.MY_LINK.com/notes/index.php">MY LINK</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 } } ?>

<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>
</div>
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<br class="clearBoth" />
</div>
<!--eof-navigation display-->
3 Jul 2007, 5:07 AM
#9
justmygirls avatar

justmygirls

New Zenner

Join Date:
Jan 2007
Posts:
8
Plugin Contributions:
0

Re: help with red passion template

is there anyway to change the home link to say shoppe? instead of home?

3 Jul 2007, 5:35 AM
#10
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: help with red passion template

Yes. In includes/languages/english/header.php check around line 16,

Change this:

  define('HEADER_TITLE_CATALOG', 'Home');

To this:

  define('HEADER_TITLE_CATALOG', 'Shoppe');

Be sure to save it to languages/english/MY_TEMPLATE/header.php

3 Jul 2007, 3:37 PM
#11
justmygirls avatar

justmygirls

New Zenner

Join Date:
Jan 2007
Posts:
8
Plugin Contributions:
0

Re: help with red passion template

oooh thank you thank you :clap:

3 Jul 2007, 3:47 PM
#12
justmygirls avatar

justmygirls

New Zenner

Join Date:
Jan 2007
Posts:
8
Plugin Contributions:
0

Re: help with red passion template

MY last question I promise..lol
would you know how to do this?

not sure if this is a layout or CSS question as I am soo new to all this. I am only using two colums so how do i delete that line on the right? so it doesnt look like a 3 column layout?
**http://www.digi-moments.net/Shoppe/** that is my link if you need it.

Thanks :)

3 Jul 2007, 5:49 PM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: help with red passion template

Looking quickly at this I think that you need to look at this image
background-image: url(../images/mainwrapper_tile.jpg); and possibly using a graqaphic editor stack this several deep so that ou can see if this is in your image, alternatively, you can just specify a mono color and no image.