Re: Apple Zen Support Thread
Hey Guys,
I guess what I need is an example?
I want to make it so that instead of having the current links I can have it so all six drop down menu links are categories that are not clickable. Then in each category I want to have multiple sub categories that are clickable. Can Anyone Help ME???
The current code looks like:
// load the UL-generator class and produce the menu list dynamically from there
require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
$zen_CategoriesUL = new zen_categories_ul_generator;
$menulist = $zen_CategoriesUL->buildTree(true);
$menulist = str_replace('"level4"','"level5"',$menulist);
$menulist = str_replace('"level3"','"level4"',$menulist);
$menulist = str_replace('"level2"','"level3"',$menulist);
$menulist = str_replace('"level1"','"level2"',$menulist);
$menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
$menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
echo $menulist;
?>
What does any of that mean??
Thanks,
Nick
Re: Apple Zen Support Thread
I desperately need help with my problem. I have had a lot of trouble with my server in the last few weeks, so decided to contact them and upgrade. Well i had to change DNS. that went ok till i get an email to say i would have to upload everything again. (My server had done a backup on the database. and decided that they would also do a fresh upload of zencart and also apple zen . they apparently found some of the files.) i had to try and finish the upload of the template, but have run into a heap of trouble. There seems to be files missing, but the worst is that my zencart cant acces the database files. I can see them all on MySQL but when i go into the admin of zencart. well i just cant access all the info that i have taken months to do. ( mind u this is the 2nd time around) My server providers have said that it is a zencart problem, and that i should seek assistance from them...I am so angry with them, as my shop was looking sooo good.
They have even suggested that i go back to the free one as they have saved the data from there, I just dont get it.
any suggestions would be helpful. Stitch With Me
oh one other thing...my old shops url was /shop. but I asked them to put it in the root folder. they said that would be easy, no problems. Not sure if this has complicated things though.
Thanks
Re: Apple Zen Support Thread
Hi Jade,
I wanted to thank you for the reply below (it's been a while, I got side-tracked).
New clarifications & questions:
- This did not work for me:
#centerColumnOuter {background:url(../images/headerborder.gif) repeat-y;border-bottom:25px solid #BBD17E}
I left the CSS modified as per your suggestion, in case I missed something.
Again, I am hoping to push the sidebox column down in the Home page, just like the other pages.
- By the way, I cannot figure out how to change the gray background color of that column. Is that this image: content_bg? Or what?
- The bullets in the product description are not indented. How can I fix that?
http://www.saleyla.com/store/index.p...&products_id=1
- Where can I add padding to the text for the Advanced Search popup windows and other similar popups?
- Do you know how can I remove the Address Bar as well as the Status Bar from the “larger image” pop up window (and add a scrollbar for low rez monitors)?
Thank you in advance for your reply. :smile:
PS: I did find my first IH2 bug on IE7 (image hover error) which I fixed with this mod:
http://www.zen-cart.com/forum/showpo...postcount=2340
Quote:
Originally Posted by
jettrue
Ok, I see. This is an issue with zen cart. If you want to fix this, you'll need to open up includes/templates/template_default/templates/tpl_ezpages_bar_footer.php and change this:
Code:
<a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a>
to this:
Code:
<li><a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a></li>
Then be sure to save it in your includes/templates/apple_zen/templates/ folder.
Then open up includes/templates/apple_zen/common/tpl_footer.php and change this:
Code:
<li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
to this:
Code:
<?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?>
It did work when I tested it on your site in Firefox, but you have this added in your tpl_product_info_display.php right before the add to cart box:
<div style="float:left">
That is not standard in zen cart or my template. You need to remove that as well as the closing </div> for that.
Personally, I don't see the need for this, but you can force a green "bar" to be on the home page by changing this in stylesheet.css to this:
Code:
#centerColumnOuter {background:url(../images/headerborder.gif) repeat-y;}
to this:
Code:
#centerColumnOuter {background:url(../images/headerborder.gif) repeat-y;border-bottom:25px solid #BBD17E}
yes
I almost always install Ultimate SEO module, but that's a personal preference. I find the site then does better in search engines. But don't say that too loud here, people get upset. :cool:
Re: Apple Zen Support Thread
WOW! What a great template. Thank you for your fantastic work. Could not get anything as beautiful as this without you.
I have the follwoing questions:
(1) I was wondering how I could make the main body of the page (below the drop down menus) to 100% or 95% relative width? If you can, with all questions, please include line numbers when possible. I tried the Firefox developer tool but could not locate the information that way.
(2) On the item description page, how can I center the item picture and have the item tilte/description/etc. follow below it?
(3) Okay, totally newbie question, but how can I increase the size of the item images (thumbnails, image and enlarged image). Also, how can I change the size of the CATEGORY and SUBCATEGORY images?
(4) Where can I add a "description" to subcategories?
(5) How can I add a permanent standard "Search" function to the top right of your design (preferably at the justified right of the drop down list).
Once again, thank you for an incredible design. I can;t wait to get this going... very exciting!
Re: Apple Zen Support Thread
Quote:
Originally Posted by
backinthesaddle
Hello Jade
Thanks for getting back to me. I could only find the file you referenced in /www/includes/templates/template_default/sideboxes (not in /www/includes/templates/apple_zen/sideboxes)
and I wasn't sure what I was supposed to be doing with the content. Am I looking in the right place?
Code:
$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
$content .= "\n" . '<ul style="margin: 0; padding: 0; list-style-type: none;">' . "\n";
for ($i=0; $i<sizeof($information); $i++) {
$content .= '<li>' . $information[$i] . '</li>' . "\n";
}
$content .= '</ul>' . "\n";
$content .= '</div>';
Hello I have now put this live at www.liquidationstockuk.co.uk but still have unresolved layout issues with the FAQ and payment links in EZ pages. I have just spent another hour trying various things but no joy and would really appreciate some help.
The 2 items in the header dropdown under information have too much spacing between them which I want to remove.
The links in the sideboxes are centred and I would like them left aligned to be consistent with the define pages items.
Are you able to help/point me in the right direction?
Thanks
Re: Apple Zen Support Thread
Quote:
Originally Posted by
Didee
I desperately need help with my problem. I have had a lot of trouble with my server in the last few weeks, so decided to contact them and upgrade. Well i had to change DNS. that went ok till i get an email to say i would have to upload everything again. (My server had done a backup on the database. and decided that they would also do a fresh upload of zencart and also apple zen . they apparently found some of the files.) i had to try and finish the upload of the template, but have run into a heap of trouble. There seems to be files missing, but the worst is that my zencart cant acces the database files. I can see them all on MySQL but when i go into the admin of zencart. well i just cant access all the info that i have taken months to do. ( mind u this is the 2nd time around) My server providers have said that it is a zencart problem, and that i should seek assistance from them...I am so angry with them, as my shop was looking sooo good.
They have even suggested that i go back to the free one as they have saved the data from there, I just dont get it.
any suggestions would be helpful.
Stitch With Me
oh one other thing...my old shops url was /shop. but I asked them to put it in the root folder. they said that would be easy, no problems. Not sure if this has complicated things though.
Thanks
If you PM me, we can't talk further. I'd be willing to login to your site and see if I can help.
Re: Apple Zen Support Thread
Quote:
Originally Posted by
backinthesaddle
Hello - :( sorry - I just don't know what it is I am supposed to be amending. Could you give me a line reference? I have looked through this file and just can't see what it is I need to amend. Thank you for your help.
I'm realizing I don't really understand your issue. By default, the ezpages are supposed to be in their on ezpages sidebox. They do not by default show up in the same sidebox as the define pages. Did you make some changes to get them in the same box? Could I see a link?
Re: Apple Zen Support Thread
Quote:
Originally Posted by
neighbornick
Hey Guys,
I guess what I need is an example?
I want to make it so that instead of having the current links I can have it so all six drop down menu links are categories that are not clickable. Then in each category I want to have multiple sub categories that are clickable. Can Anyone Help ME???
The current code looks like:
// load the UL-generator class and produce the menu list dynamically from there
require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
$zen_CategoriesUL = new zen_categories_ul_generator;
$menulist = $zen_CategoriesUL->buildTree(true);
$menulist = str_replace('"level4"','"level5"',$menulist);
$menulist = str_replace('"level3"','"level4"',$menulist);
$menulist = str_replace('"level2"','"level3"',$menulist);
$menulist = str_replace('"level1"','"level2"',$menulist);
$menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
$menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
echo $menulist;
?>
What does any of that mean??
Thanks,
Nick
That code above will do you no good.
Are you saying you only want subcategories to be clickable?
Re: Apple Zen Support Thread
Quote:
Originally Posted by
hedron
Hi Jade,
I wanted to thank you for the reply below (it's been a while, I got side-tracked).
New clarifications & questions:
- This did not work for me:
#centerColumnOuter {background:url(../images/headerborder.gif) repeat-y;border-bottom:25px solid #BBD17E}
No, it doesn't work, because you removed the <div id="centerColumnOuter></div> from tpl_main_page.php
To get the green bar, you can add this:
#indexHomeBody #centerColumnWrapper2{border-top:25px solid #BBD17E}
Or change it to #ffffff if you want it to be white (I see you changed the breadcrumb to white.
Quote:
Originally Posted by
hedron
- By the way, I cannot figure out how to change the gray background color of that column. Is that this image: content_bg? Or what?
Yes, you have to change the image.
Quote:
Originally Posted by
hedron
This is kind of a hack of a fix, but you can add this to your stylesheet.css
#productinfoBody ul {padding-left:15px;margin:0;float:left;width:270px;}
Quote:
Originally Posted by
hedron
- Where can I add padding to the text for the Advanced Search popup windows and other similar popups?
In the stylesheet, under this section:
#popupShippingEstimator, #popupSearchHelp, #popupAdditionalImage, #popupImage, #popupCVVHelp, #popupCouponHelp, #popupAtrribsQuantityPricesHelp, #infoShoppingCart {
background:#fff;
}
Quote:
Originally Posted by
hedron
- Do you know how can I remove the Address Bar as well as the Status Bar from the “larger image” pop up window (and add a scrollbar for low rez monitors)?
No, I don't
Re: Apple Zen Support Thread
Quote:
Originally Posted by
backinthesaddle
Hello I have now put this live at
www.liquidationstockuk.co.uk but still have unresolved layout issues with the FAQ and payment links in EZ pages. I have just spent another hour trying various things but no joy and would really appreciate some help.
The 2 items in the header dropdown under information have too much spacing between them which I want to remove.
The links in the sideboxes are centred and I would like them left aligned to be consistent with the define pages items.
Are you able to help/point me in the right direction?
Thanks
You added them manually to tpl_drop_menu.php.
Remove them.
Then under "Tools", "EzPages", give them a sort order for the header, and they will show up automatically.
Same with the sidebox links. You added them manually. Remove them. Then under "Tools" "Ezpages", give them a sidebox sort order. Then turn on the ezpage sidebox under "Tools", "Layout Boxes Controller".