Page 1 of 1

an html module in categories page

Posted: 22 Oct 2010, 16:40
by ido_p
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

Re: an html module in categories page

Posted: 27 Oct 2010, 20:46
by Jan
Hi, I don't know such possibility, can I see the site where this occurs so I can see the html code.

(solved) an html module in categories page

Posted: 28 Oct 2010, 08:38
by ido_p
Hi Jan.
After some digging it is not possible.
I solved it using modules anywhere.
Thank you,
Ido

Re: an html module in categories page

Posted: 31 Oct 2010, 17:10
by Jan
Ok