Hi again,
I have a site where I use multiple templates (Joomla 1.7).
I wanted to use PG Tree module, but when I click on anything there, the gallery is displayed in the default template.
Is there a way to specify template for all the items inside PG Tree module?
Thanks in advance for help.
Regards
Kordian
Phoca Gallery Tree template selection
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Tree template selection
Hi, the tree module set the itemid find by the menu link to gallery - so by this itemid the template needs to be set, see:
Using SEF in Joomla!
Using SEF in Joomla!
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery Tree template selection
OK, thanks, it seems to be working with one gallery and one gallery template.
What if I want to use multiple PG Tree modules on different pages with different templates (I mean system templates, not PG Themes).
To make it clear an example:
on the main page (which uses Template1) I have 2 menu (normal vertical menu) items, one pointing to the Cars Gallery (which uses Template2) and Girls Gallery (which uses Template3). After clicking Cars Gallery, the new template (Template2) is loaded and Cars PG Tree module is displayed (containing only PG categories from "Cars" PG Category). The goal is that when a PG Tree module item is clicked, Template2 remains.
After coming back to the main page, click on Girls Gallery opens the Gallery with its template (Template3) and Girls PG Tree module (containing only PG categories from "Girls" PG Category). From what you suggested (and if I understood the "Using SEF in Joomla!" article correctly) when I now click on any tree item, the Template2 will be used. And I want the Template3 here.
Thanks in advance for any help.
Regards
Kordian
What if I want to use multiple PG Tree modules on different pages with different templates (I mean system templates, not PG Themes).
To make it clear an example:
on the main page (which uses Template1) I have 2 menu (normal vertical menu) items, one pointing to the Cars Gallery (which uses Template2) and Girls Gallery (which uses Template3). After clicking Cars Gallery, the new template (Template2) is loaded and Cars PG Tree module is displayed (containing only PG categories from "Cars" PG Category). The goal is that when a PG Tree module item is clicked, Template2 remains.
After coming back to the main page, click on Girls Gallery opens the Gallery with its template (Template3) and Girls PG Tree module (containing only PG categories from "Girls" PG Category). From what you suggested (and if I understood the "Using SEF in Joomla!" article correctly) when I now click on any tree item, the Template2 will be used. And I want the Template3 here.
Thanks in advance for any help.
Regards
Kordian
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Tree template selection
Hi, everything in Joomla! is managing by Itemid - you can assign templates, modules, etc. to menu links - itemids, see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla
and similar articles.
Jan
https://www.phoca.cz/documents/16-joomla ... -in-joomla
and similar articles.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery Tree template selection
Sorry, but I see no connection there.
Created a new menu item (PG Girls), configured the template, but this does not work, I get the default template. The Cars PG Tree menu displays everything correctly, the Girls PG Tree still displays the default template.
Moreover, after creating the Girls PGT (with excluded Car categories), when I hit any Car Gallery within Cars PG Tree, I get an error:
Fatal error: Cannot redeclare categorytree() (previously declared in /share/MD0_DATA/Web/joomla/modules/mod_phocagallery_tree/mod_phocagallery_tree.php:121) in /share/MD0_DATA/Web/joomla/modules/mod_phocagallery_tree/mod_phocagallery_tree.php on line 131
Regards
Created a new menu item (PG Girls), configured the template, but this does not work, I get the default template. The Cars PG Tree menu displays everything correctly, the Girls PG Tree still displays the default template.
Moreover, after creating the Girls PGT (with excluded Car categories), when I hit any Car Gallery within Cars PG Tree, I get an error:
Fatal error: Cannot redeclare categorytree() (previously declared in /share/MD0_DATA/Web/joomla/modules/mod_phocagallery_tree/mod_phocagallery_tree.php:121) in /share/MD0_DATA/Web/joomla/modules/mod_phocagallery_tree/mod_phocagallery_tree.php on line 131
Regards
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Tree template selection
Hi, the tree menu module is one instance module - can be run only one on the page
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery Tree template selection
Pity.
Make it multi, please.
Regards
Make it multi, please.
Regards
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca Gallery Tree template selection
Added into feature request list.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 72
- Joined: 20 Oct 2011, 16:37
Re: Phoca Gallery Tree template selection
Thank you.