Alternative Layouts
Posted: 03 Sep 2011, 08:26
Is Joomla 1.6 / 1.7 Alternative Layouts support implemented in Phoca Gallery now?
Just create in
\templates\mytemplate\html\com_phocagallery\category\
files
mycatlayout1.php,
mycatlayout1.xml,
mycatlayout2.php,
mycatlayout2.xml
(also copied
\components\com_phocagallery\views\category\tmpl\default.php
\components\com_phocagallery\views\category\tmpl\default.xml
to
\templates\mytemplate\html\com_phocagallery\category\ )
Choice of new types of menu is appeared,
and route is working like:
index.php?option=com_phocagallery&view=category&layout=mytemplate:mycatlayout1&id=19&Itemid=127
index.php?option=com_phocagallery&view=category&layout=mytemplate:mycatlayout2&id=20&Itemid=150
But Phoca 3.0.2 ALWAYS open the
\templates\mytemplate\html\com_phocagallery\category\default.php layout.
Just create in
\templates\mytemplate\html\com_phocagallery\category\
files
mycatlayout1.php,
mycatlayout1.xml,
mycatlayout2.php,
mycatlayout2.xml
(also copied
\components\com_phocagallery\views\category\tmpl\default.php
\components\com_phocagallery\views\category\tmpl\default.xml
to
\templates\mytemplate\html\com_phocagallery\category\ )
Choice of new types of menu is appeared,
and route is working like:
index.php?option=com_phocagallery&view=category&layout=mytemplate:mycatlayout1&id=19&Itemid=127
index.php?option=com_phocagallery&view=category&layout=mytemplate:mycatlayout2&id=20&Itemid=150
But Phoca 3.0.2 ALWAYS open the
\templates\mytemplate\html\com_phocagallery\category\default.php layout.