Re: Cherry Zen Template Support Thread
i need a hep here. When I turn off: Categories - always show on main page, in layout seetings, instead of my welcome message, there is HEADING-TITLE, that is always showing. i tried different ways to edit it out from the index.php, but it will not go away.
You can see my website now at www.touchstonemedia.com, you will see what I mean.
thanks,
Isvara dasa
Re: Cherry Zen Template Support Thread
I think and im not sure ,you just delete whats in between the ' whatever text was there' leave the ' ' there dont delete the whole line.
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
isvara99######################
i need a hep here. When I turn off: Categories - always show on main page, in layout seetings, instead of my welcome message, there is HEADING-TITLE, that is always showing. i tried different ways to edit it out from the index.php, but it will not go away.
You can see my website now at
www.touchstonemedia.com, you will see what I mean.
thanks,
Isvara dasa
The bottom of your index.php should look like this (this is blank):
} elseif ($category_depth == 'top') {
// This section deals with the "home" page at the top level with no options/products selected
/*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', '');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', '');
}
?>
Re: Checkout w/Empty Cart
Quote:
Originally Posted by
jettrue
I promise, you are missing a </div>, like I mentioned before. It's an error in zen cart, I even posted it in the zen cart bug report section a while back.
Open up templates/tpl_time_out_default.php, and change this:
<h1 id="timeoutDefaultHeading"><?php echo HEADING_TITLE_LOGGED_IN; ?></h1>
<div id="timeoutDefaultContent" class="content"><?php echo TEXT_INFORMATION_LOGGED_IN; ?></div>
<?php
} else {
?>
to this:
<h1 id="timeoutDefaultHeading"><?php echo HEADING_TITLE_LOGGED_IN; ?></h1>
<div id="timeoutDefaultContent" class="content"><?php echo TEXT_INFORMATION_LOGGED_IN; ?></div>
</div>
<?php
} else {
?>
I guess I should include this file in the template, since 1.3.7 has this bug.
Hi Jade,
Thanks for correcting me! I guess I should have looked a little closer at the code when I checked it the other day, I totally missed the fact that there is a <div> missing it's </div> even though I looked at it several times over. :blush: Problem now solved! Thanks again for your help.
Matt
1 Attachment(s)
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
oxicottin
Hello, how would I create a spot on the right side of the tagline to place an image just like the logo on the left side? Im new to this so please explain...:blush: Thanks!
Jade, Please help me get this issue resolved. I opened the tpl_header.php and copyed the logo code:
PHP Code:
<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>'; ?></div>
Then I pasted it a few lines below:
PHP Code:
</div>
<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>'; ?></div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<!--eof-branding display-->
Now I have two header images. I then opened the stylesheet.css and removed the #logo { padding-left:15px;} which broght the left logo to the left edge of the main wrapper. Then I had to change the width % of the #taglineWrapper to width:71.65%; so everything fit in the #logowrapper. I then changed the logo image to the same image I used for the sidebox.gif. Now everything is almost the way I want it except for now I want to place my banner/logo in the center where it says Your logo could be wider here, Sales Header.... How do I acomplish this? everything im trying is not working out. I also want to get rid of the link thats in the logo....Thanks! I added an attachment of what it looks like as of now :blink:
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
oxicottin
Jade, Please help me get this issue resolved. I opened the tpl_header.php and copyed the logo code:
I'm not really following fully what you're trying to do. From your first question, it sounded like you just wanted a banner image next to your logo. Now from your image, it looks like you are trying to do much more than that. Do you want the red portions to be there on the left and right of the logo section? Why?
Anyway, I'm not really following you, but if all you want to do is have a banner next to your logo, first of all return the tpl_header.php to original.
Then:
1. remove the sales text. Instructions to so this are found in the readme_or_else.txt:
Code:
...open up includes/languages/english/cherry_zen/header.php, and remove this text:
Your logo could be wider here, Sales Header Text Could Be here, Or a Banner Image, or any combination of the three; find instructions in the readme.txt, which you have read already, right?
2. Add a banner in the Tools, Banner Manager section
3. Go to "Configuration", "Layout settings" and enter the banner group name you added your banner to in this section:
Banner Display Groups - Header Position 2
(so if you added your banner to the group "BannersAll", you'd enter "BannersAll" in the Header Position 2 section).
That should be it!
Re: Cherry Zen Template Support Thread
Why is the register details and contact us page spaced out
http://www.wholesaledirectgifts.com/create_account.html
like between the fields
Re: Cherry Zen Template Support Thread
Thanks! that works... I didnt even know there was an option like that!
Re: Cherry Zen Template Support Thread
I have another question for you, Jade.
I'm trying to add another link in the header. I've found where to add it in mytemplate/common/header.php but when I add it another link drops off as if there is a setting to allow only 5 links or for the links to span only a certain amount of the header. I see that at a monitor resolution of 800 there is no room for another link, but since I have the minimum width set to 1000px in the stylesheet there looks to be ample room for more than 1 extra link. I'm sure there is something very logical that is staring me in the face but I'm missing it I guess. :smile:
If it's no doable to add another link the way it's spaced now, how would I move the links closer together so there's room to add one more link?
Thanks again for your time!
Matt
Re: Cherry Zen Template Support Thread
Quote:
Originally Posted by
lankeeyankee
I have another question for you, Jade.
I'm trying to add another link in the header. I've found where to add it in mytemplate/common/header.php but when I add it another link drops off as if there is a setting to allow only 5 links or for the links to span only a certain amount of the header. I see that at a monitor resolution of 800 there is no room for another link, but since I have the minimum width set to 1000px in the stylesheet there looks to be ample room for more than 1 extra link. I'm sure there is something very logical that is staring me in the face but I'm missing it I guess. :smile:
If it's no doable to add another link the way it's spaced now, how would I move the links closer together so there's room to add one more link?
Thanks again for your time!
Matt
Change the width of navMain:
#navMain {
float: right;
width: 610px;
line-height: normal;
}
and also you can adjust the padding in and around the navMain section if needed.