Having some troubles customizing default.php
Posted: 07 Mar 2012, 10:14
Through searching the forums I have found out that to customize the category display I need to change the default.php in the components\com_phocagallery\views\category\tmpl\.
I am trying to achieve output suited to processing by galleria javascript lib which seems simple enough at the first look. However I cant seem to find the code that outputs the gallery when in the switch image mode. For example where is the code that generates this:
from this in the article:
I found the part that should be it at line 73 in default.php but its not the same and changing it doesnt seem to effect the former output.
Any help is welcome.
I am trying to achieve output suited to processing by galleria javascript lib which seems simple enough at the first look. However I cant seem to find the code that outputs the gallery when in the switch image mode. For example where is the code that generates this:
Code: Select all
<div class="phocagallery">
<div><center style="margin:0px;padding:7px 5px 7px 5px;margin-bottom:15px;" class="main-switch-image"><table cellspacing="5" cellpadding="5" border="0" style=""><tbody><tr><td align="center" valign="middle" style="text-align:center;width:640px;height:485px; background: url('http://localhost/components/com_phocagallery/assets/images/icon-switch.gif') 302px 222px no-repeat;margin:0px;padding:0px;"><img width="640" border="0" height="480" id="PhocaGalleryobjectPicture" alt="" src="/images/phocagallery/thumbs/phoca_thumb_l_app1 some.jpg"></td></tr></tbody></table></center></div></div>Code: Select all
{phocagallery view=switchimage|basicimageid=1}Any help is welcome.