Override-Templates
Posted: 20 Apr 2010, 11:09
Hi,
I have always problems with overrides the Phoca Gallery.
The templates for the output are very confusing and it is always difficult because what suit their needs.
Why are there so many <center> and <div> or in other templates once <fieldset>.
This can be simplified yet so it's much easier at the end by Joomla overrides not to overwrite or so.
I've attached 2 examples that implement this as simple as possible.
There, the individual items with ltr or rtl be realized with float.
Columns can then wrap with clear.
For example, if 3 columns are needed after every 3rd Element <div class=""phoca-clear> </ div> spent.
Forgive me the bad english, it was translated with Google Translate
Examples: http://www.genesis-nova.de/files/items.zip
I have always problems with overrides the Phoca Gallery.
The templates for the output are very confusing and it is always difficult because what suit their needs.
Why are there so many <center> and <div> or in other templates once <fieldset>.
This can be simplified yet so it's much easier at the end by Joomla overrides not to overwrite or so.
I've attached 2 examples that implement this as simple as possible.
There, the individual items with ltr or rtl be realized with float.
Columns can then wrap with clear.
For example, if 3 columns are needed after every 3rd Element <div class=""phoca-clear> </ div> spent.
Forgive me the bad english, it was translated with Google Translate
Examples: http://www.genesis-nova.de/files/items.zip