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
an html module in categories page
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: an html module in categories page
Hi, I don't know such possibility, can I see the site where this occurs so I can see the html code.
If you find Phoca extensions useful, please support the project
-
ido_p
- Phoca Newbie

- Posts: 4
- Joined: 06 Apr 2010, 11:29
(solved) an html module in categories page
Hi Jan.
After some digging it is not possible.
I solved it using modules anywhere.
Thank you,
Ido
After some digging it is not possible.
I solved it using modules anywhere.
Thank you,
Ido
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: an html module in categories page
Ok
If you find Phoca extensions useful, please support the project