an html module in categories page
Posted: 22 Oct 2010, 16:40
Hi guys,
I would like to insert an html module for free text in the categories page.
I created the module in the Joomla modules. Created a position for it in my template.xml page and than opened
site/components/com_phocagallery/views/categories/tmpl/default.php
and added the following code:
//Insert module with free text
echo '<div id="phoca-products-text>'.'<jdoc:include type="modules" name="phoca-gallery-text-products" style="-1" />'.'</div>';
where phoca-gallery-text-products is the position i created for the module. I also made sure it was published and selected to appear in the right menu page.
The code shows in firebug but the module does not.
What am I doing wrong?
Thank you very much,
Ido
I would like to insert an html module for free text in the categories page.
I created the module in the Joomla modules. Created a position for it in my template.xml page and than opened
site/components/com_phocagallery/views/categories/tmpl/default.php
and added the following code:
//Insert module with free text
echo '<div id="phoca-products-text>'.'<jdoc:include type="modules" name="phoca-gallery-text-products" style="-1" />'.'</div>';
where phoca-gallery-text-products is the position i created for the module. I also made sure it was published and selected to appear in the right menu page.
The code shows in firebug but the module does not.
What am I doing wrong?
Thank you very much,
Ido