Hi,
I have just installed a fresh Zencart 1.5.1 test site. no addons no other modules. Tried to add this template but I get WARNING: An Error occurred, please refresh the page and try again. on the website and also on the layout box controller page within admin. any clues please
First, and most importantly, thank you for this template!!
I started building my store with the Andover Modern template and liked it a lot but when I saw this template, I actually scrapped everything I was doing and completely re-did the site with this amazing template. In TWO days. I am a very solid novice when it comes to site building and the majority of coding (mainly php) is entirely over my head. Your templates are so good that even someone like me can use them and look like a rockstar. I think a huge part of that also has to be your readme files and installation instructions, which are probably the best I have ever used. So.. thank you.
My original intention in posting was to say nothing more than thanks. But in the process of waiting to be approved to post on the forum, I actually ran into a question and google has not been able to supply with a response.
On my product info page, I want to align the product info and description on the left and have the cart box (with the attributes and add to cart button) on the right. Basically side by side in a two-column format. I have tried everything I can think of, but cannot seem to align the two and the cart box keeps floating below the description.
Can you please tell me where I need to change the code? I am assuming it has be either in the stylesheet.css or tpl_product_info_display page, right? I would really appreciate it.
http://spiderkat.net/shop/index.php?...roducts_id=113
Thanks again.
Katerina
I am so happy that you like the template and are using it ;) I am also happy that the readme file helped you. I spend a lot of time on the readme's and often wonder how many people actually read them.
For a 2 column layout you will basically be creating a layout with a containing div on the left, a containing div on the right and a clearing div below. You will float one div right and the other left.
See this:
http://www.w3schools.com/css/css_float.asp
Thanks,
Anne
Hi Anne,
I have tried everything and I cannot seem to get the right formula. Here is the code in the tpl_mega_menu.php file.
<li class="categories-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo HEADER_TITLE_CATEGORIES; ?></a><!-- bof cateories -->
<div class="dropdown_1column">
<div class="col_1 firstcolumn">
<div class="levels">
<?php
// 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;
?>
</div>
</div>
</div>
</li><!-- eof categories -->
Can you look at it and maybe compare it to another megamenu file. Has anyone else come to you with this same issue? I'm wondering if this is an isolated problem relating to the subcategories.
Thanks for your help. :)
The problem is not in the template package. I would recommend restoring the template to its original state and then making your changes one by one and testing in between each stage to see when the problem occurs. You can compare the files related to the mega menu from this template with the other templates but the only changes will not be ones that effect the way the ul levels work.
Thanks,
Anne
Bookmarks