Re: Apple Zen Support Thread
I have edited your template pretty heavily. If I don't get it figured out today I will be working on it again Monday morning - but so far I can't for the life of me get my menu's to display properly. I have moved code around so it is displayed on the left side - and it shows up alright in 7 and 8..just can't get the flyout of the menu to display correctly. They are still drop downs (as that was what they were originally designed for..so I am thinking that may be a problem).
Here is a link to the website I am trying to implement this into:
http://www.tqmeats.com/shop/
What I want it to do is what the prototype does:
http://www.tqmeats.com/new/
Hopefully someone will be able to help me - I will check this off and on today - and definitely more on Monday (going to be away from the internet all weekend :frusty:).
Thank you in advance!
Seth
Re: Apple Zen Support Thread
Ok, I figured it out. What I had to do was change the dropdown menus to have a margin-left attribute in the style sheet. I also found that in order for it to make it so it doesn't scroll all the other buttons down the page there has to be a margin-bottom attribute with a negative value. I made mine outrageous in case they add a lot of products when their site goes live.
I made it have a "margin-bottom:-1800px;" so that way they won't have any margin attached to them and they overlap the buttons located below them.
Yeah if that confused you you can private message me - I'll try to help you out however I can.
Thanks for anyone who looked into it - but...I'm good :wacko: lol
Seth
Re: Apple Zen Support Thread
hi Jettrue ~ thanks so much for your work here ~ I'm totally new to zen cart, so I hope my question is not silly... but I am setting up my site and trying to get zen_lightbox to work. Actually, it's working beautifully except the drop-down menu bar doesn't disappear when a product is in lightbox mode.
http://phantomchicken.com/chickenstore
Any ideas?
Thanks!!!
Re: Apple Zen Support Thread
o.k.... so i love your template :)
but I just installed Image handler 2 and now all the payment modules disappeared. any idea what I need to do to fix this?
also, I'm having troubles getting more than one image to show up on a product listing.
thanks for any help ~
http://phantomchicken.com/chickenstore/
Re: Apple Zen Support Thread
Quote:
Originally Posted by
athena
I've also just noticed...did it change? I don't know......
That my forum link does not appear in the Information Drop Down Menu; however, it is in the information sidebox.
You'll have to add that manually, as I didn't add that functionality to it, but I will add it to the next version.
You would open up includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php and insert this:
Code:
<?php if ( (isset($phpBB->phpBB['db_installed_config']) && $phpBB->phpBB['db_installed_config']) && (isset($phpBB->phpBB['files_installed']) && $phpBB->phpBB['files_installed']) && (PHPBB_LINKS_ENABLED=='true')) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_BB_INDEX, '', 'NONSSL'); ?>" target="_blank"><?php echo BOX_BBINDEX; ?></a></li>
<?php } ?>
where you'd like the forum link.
Re: Apple Zen Support Thread
Quote:
Originally Posted by
athena
I followed the instructions but it did not work at all. everything is the same. Specials is still in the drop down menu and the side boxes shift to the left.
I double checked to see that they uploaded properly.
The website is here
www.thethreadedneedle.com
Thanks for any help ...prefer to just turn specials off completely as they will never happen at this shop.
I missed one set of instructions. Open up includes/modules/pages/specials/main_template_vars.php and change this:
Code:
$num_products_count = $specials->RecordCount();
if ($num_products_count) {
if ($num_products_count < SHOW_PRODUCT_INFO_COLUMNS_SPECIALS_PRODUCTS || SHOW_PRODUCT_INFO_COLUMNS_SPECIALS_PRODUCTS==0 ) {
$col_width = floor(100/$num_products_count);
} else {
$col_width = floor(100/SHOW_PRODUCT_INFO_COLUMNS_SPECIALS_PRODUCTS);
}
$list_box_contents = array();
while (!$specials->EOF) {
Code:
$num_products_count = $specials->RecordCount();
if ($num_products_count ==0) {
$col_width=0;
} else {
if ($num_products_count < SHOW_PRODUCT_INFO_COLUMNS_SPECIALS_PRODUCTS || SHOW_PRODUCT_INFO_COLUMNS_SPECIALS_PRODUCTS==0 ) {
$col_width = floor(100/$num_products_count);
} else {
$col_width = floor(100/SHOW_PRODUCT_INFO_COLUMNS_SPECIALS_PRODUCTS);
}
}
$list_box_contents = array();
while (!$specials->EOF) {
You can also turn off specials in the admin, "configuration", "layout settings", "Categories Box - Show Specials Link".
Re: Apple Zen Support Thread
Hi,
I first want to say that I love this template. It works perfectly with the rest of my site.
I've run into a small problem. I can't seem to get rid of the "you can change the colors and add your own logo" directions on the top of the page. I removed it from the header.php file. Is there somewhere it would be cached that I am not seeing, or anywhere else that it might be?
Thanks in advance!
Re: Apple Zen Support Thread
Quote:
Originally Posted by
jettrue
You will need to give each section its own id in includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php
Like so:
Code:
<li class="submenu" id="catalog"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>
<li class="submenu" id="categories"><a href="<?php echo zen_href_link(FILENAME_SITE_MAP); ?>"><?php echo HEADER_TITLE_CATEGORIES; ?></a>
<li class="submenu" id="information"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_INFORMATION; ?></a>
<li id="contact"><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CONTACT_US; ?></a></li>
<li class="submenu" id="cart"><a class="noLine" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
<li id="cart"><a class="noLine" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
Then you can give them each their own image in the css.
Hi Again, Jade,
Thanks for all the help you've given me so far on this issue.
Unfortunately it's still not quite right. I was able to get the images now to show up, but not without the text on top - AND, on the menu items that drop down, I lose the drop down completely. So I was wondering if it's more of an issue with the language file - is there a way to define the text as really the image for JUST this one part? I don't want it to think that every instance of "home" needs to be this image, just in the navigation bar.
Here's the link again, so you can see what's happening - I didn't add the image to the drop down items because we use those a lot...
http://purple-eggplant.com/zc/
Sorry to be so dense about it... but thanks for your help!!
Re: Apple Zen Support Thread
Hi again,
Been playing around a bit more, and tried changing this code in headermenu.php:
PHP Code:
define('HEADER_TITLE_CATEGORIES','navbar_shop.gif');
And it seems like a step in the right direction, but now instead of the word "categories" in the display it has the filename for the image I want to use. Somewhere, in some file, I need to change something else, but I've done the developer search for HEADER_TITLE, and cant' find anything.
My deadline for this site is rapidly approaching, and if I can't accomplish this I really need to give the bad news to my client, but I've seen it done elsewhere, so I think it is possible...:dontgetit
Should I also post this in the thread for the menu? I searched there and no one has mentioned anything like this...but I didn't want to double post...
Thanks again!
Re: Apple Zen Support Thread
Hello,
I am new here. Please help me to correct my site which is not same as the apple zen demo.
1. the menu is not working.
it seems that tpl_header.php should be changed for this. but the file has sth wrong (? mark there) since I downloaded it.
2. remove ezpages section?
3. remove next section under ezpage?
4. remove "Congratulations" section?
http://dalewz.brinkster.net/zencart/
thanks, -dale