Login required for large image view

Phoca Gallery plugins - plugins for Phoca Gallery extension
Galatea
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 14 Jul 2009, 17:07

Login required for large image view

Post by Galatea »

hi,

i have the problem, if an unregistered user wants to enlarge the thumbnails the website is requesting a login.

I have an Menu entry that is pointing to the category, it is accessable for unregisted user and working fine also the zoomed view. but if i link a picture with the plugin inside a content page, the zoom is not availaible.
sometimes the zoom is working but on top of the image its shown
Message
* You must log in first
* You must log in first
* You must log in first

menu link to category : http://fusselsoft.de/index.php?option=c ... &Itemid=36
article with link to image of this category: http://fusselsoft.de/index.php?option=c ... &Itemid=35
image showing the message-bug: http://fusselsoft.de/tmp/bug_phoca.jpg

Gallery version 2.2.4
Plugin version 2.2.4
Joomla 1.5.12

i found 2 posts with this problem but both solved by creating a menu link
viewtopic.php?f=9&t=4911
viewtopic.php?f=9&t=4857
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Login required for large image view

Post by caro84g »

Hi,

it has this problem, 'cause it takes itemid=38 instead of itemid=36. So it takes the settings of another menu item, which is for registered users only.

I though that the menu-item with the lowest ordering is taken, but I'm not sure about that... (or it is the categories view which is taken first).

A solution for your problem could be to create a new menu item as category list layout, which you place in a hidden menu item, but published and open to public.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Galatea
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 14 Jul 2009, 17:07

Re: Login required for large image view

Post by Galatea »

this hidden module is also there, based on the other two threads i tried this, but without success.
i changed the code to overwrite the itemid with 0, this works for me. Thanx for the hint with 36<->38

for what is this id good?
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Login required for large image view

Post by caro84g »

Hi,

it's the menuitem id, so with this Id you could see which menu item it's taking. If you disable the menu-item with id 38, I think your problems are solved (but this menu item isn't visible).

Regards Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Galatea
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 14 Jul 2009, 17:07

Re: Login required for large image view

Post by Galatea »

i used for the zoomed view the light box, so there is no menu-item needed :)

i think for general solving this bug, it would be better to make this as a parameter (for the plugin)
or in the plugintag {phocagallery|itemid:36|...} or something like that ?
Post Reply