an html module in categories page

Phoca Gallery - image gallery extension
ido_p
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 06 Apr 2010, 11:29

an html module in categories page

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: an html module in categories page

Post by Jan »

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
Phoca Newbie
Posts: 4
Joined: 06 Apr 2010, 11:29

(solved) an html module in categories page

Post by ido_p »

Hi Jan.
After some digging it is not possible.
I solved it using modules anywhere.
Thank you,
Ido
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: an html module in categories page

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply