Joomla PonyGallery tweak
In the current release of the The Mambo/Joomla PonyGallery component, support for MamboJoe's Community Builder component is hardwired into the picture detail page. The Author name is a link to the Community Builder component. If you don't have that component installed, here is how you can remove the link.
You need to edit the PonyGallery script sub_viewdetails.php. This script is in the components/mod_ponygallery directory.
Find these lines:
And replace them with this:
I'm fairly sure this will be a configuration item in the next release of PonyGallery ;) Until then, if you aren't using CommunityBuilder, this will hold you over.
You need to edit the PonyGallery script sub_viewdetails.php. This script is in the components/mod_ponygallery directory.
Find these lines:
- echo "<tr class='sectiontableentry2'><td width='30%' valign='top'><b>"._PONYGALLERY_AUTHOR.":</b></td><td width='70%' valign='top'> <a href='index.php?option=com_comprofiler&task=userProfile&user=" . $imgownerid . "'><b>" . $imgowner
- . "</b></a></td></tr>";
And replace them with this:
- echo "<tr class='sectiontableentry2'><td width='30%' valign='top'><b>"._PONYGALLERY_AUTHOR.":</b></td><td width='70%' valign='top'><b>" . $imgowner
- . "</b></td></tr>";
I'm fairly sure this will be a configuration item in the next release of PonyGallery ;) Until then, if you aren't using CommunityBuilder, this will hold you over.
Comments
Display comments as Linear | Threaded