Joomla JoomGallery - add link in SlimBox to Detail View (for comments and ratings)
JoomGallery in one of the most powerful Joomla gallery extensions with countless number of options and settings. I won't go into details on how JoomGallery works, If you are reading this you probably already familiar with this component.
My aim was to give people an easy and quick way to browser images in Category View and SlimBox without going through Detail View. You can achieve this by enabling following option:
Configuration Manager > Category View > General Settings > Entering Detail View > SlimBox
This way people can browse pictures in Category View and clicking on any picture opens a large version in a SlimBox. Unfortunately this removes ability to comment and rate pictures because the only way to do this is open image in the Detail View. So, what we need is ability open Detail View from SlimBox.
To achieve this all you need is a single line of code in a right place: