Hi again WebSamir
I don´t know if you solved your problem, i don't have time to search the code and help you, but i know how you need to put code to works , but whit the option called no popup.
I think that you only need to check in other files, like the model or controller if you want to this works whit JAK LIGHTBOX.
So you need to modify the file called default.php
is in ..\components\com_phocagallery\views\detail\tmpl\
so you need to put this code starting to paste in the line 7 like this:
Code: Select all
//New Code
$user0 =& JFactory::getUser();
$idd=$user0->id;
if( $idd != null ) {
//New Code
and add a
At the end of the file.
Whit this and whit the option not popup the image don't show if the user is not login, so you can add a else whit code showing the registration form, or redirect to the login form.
So i hope that this help you.