Try the Demo

Magento Forum

   
Custom Menu Extension Error on Product Page
 
ryanb4614
Jr. Member
 
Total Posts:  8
Joined:  2012-06-10
 

I am using Magento CE 1.7. I am using the following extension on my store: http://www.magentocommerce.com/magento-connect/custom-menu.html I am able to create a static block and what I put in the static block will appear in the dropdown menu. But when I am on a product page/product display page the dropdown feature is not working on this menu. Do you have any ideas why?

In the static block I am putting the following code:

<table style="background-position: right bottom; border-width: 3px; border-color: #333333; width: 600px; background-image: url('../images/home.png'); background-repeat: no-repeat;">
<
tbody>
<
tr>
<
td>
<
div>    {{block type="catalog/product_list" category_id="7" template="catalog/product/listmenu.phtml"}}</div>
</
td>
<
td>&nbsp;</td>
</
tr>
</
tbody>
</
table>
In listmenu.phtml is the following:
<table width="300px" class="menutablelayout" border="0">
<
tr>
<
td><?php
$_productCollection
=$this->getLoadedProductCollection();
foreach (
$_productCollection as $_product): ?>
<div>
<
h4><?php echo $this->stripTags($_product->getName());?></h4>
<
img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(300); 
?>" 
width="300" height="300" alt="<?php 
echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" 
/>
<?php echo $this->getPriceHtml($_producttrue?>
</div>
<?php endforeach; ?></td>
</
tr>
</
table>
</
a></div>
I think it has to do with the catalog/product_list type maybe… it won’t display this because it is in view.phtml (products page)...The dropdown appears on every other page except the product’s detail page.. Any help would be great!!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
davidmst
Sr. Member
 
Avatar
Total Posts:  192
Joined:  2012-02-08
 

You can use this extension, it’s easy to customize menu through admin smile
Magento Connect : Menu Creator Pro
Visit Extension Page: http://www.MenuCreatorPro.com
Live Demo: http://MenuCreatorPro.com/livedemo/
Backend Demo: http://menucreatorpro.com/livedemo/index.php/admin
User Guide: http://menucreatorpro.com/wiki/index.php?title=User_manual

 Signature 

have a look this extension: Magento Connect MenuCreatorPro
Mega Dropdown Menu, Left Mega Menu, Accordion and Responsive Menu for Magento. MCP MenuCreatorPro is a great Menu Extension
http://menucreatorpro.com/
http://menucreatorpro.com/livedemo/
http://menucreatorpro.com/livedemo/index.php/admin/
Extension Store

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top