Icons will not switch off...SOLVED!!

Phoca Gallery - image gallery extension
jmsherry
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 09 Mar 2009, 16:12

Icons will not switch off...SOLVED!!

Post by jmsherry »

Ironic given previous threads on this board, I cannot get the 'image detail' and 'image download' icons to switch off in category view (I a new to this; I believe category view is when you have the thumbnails next to each other in a gallery and no viewing program [such as lightbox] has been used?!)

Anybody know how to get them to go away: I have changed the preferences to hide in the global config.

Kind regards


Jim :)
Last edited by jmsherry on 09 Mar 2009, 20:39, edited 2 times in total.
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Icons will not switch off...

Post by caro84g »

Hi,

that sounds like weird behaviour. Could you check in your menu item if the component - parameters (2nd box on the right) are set to use global?

Or do you use the Phoca Gallery plugin?

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)
jmsherry
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 09 Mar 2009, 16:12

Re: Icons will not switch off...

Post by jmsherry »

Hi Carolien,

I use the plugin. I've also got several components installed (ie photogallery tree, random image, etc.) and I have the component... is this likely to be the cause of the prob?

I've just found out that basically nothing in the parameters settings is affecting anything on the screen - I set the background to red and it stayed white (but reports as red when I re-open the parameters list)...
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Icons will not switch off...

Post by caro84g »

Yes, and that's why I asked if you used the plugin.

With the code of the plugin you can control what it looks like and otherwise it takes the original parameters. See: https://www.phoca.cz/documents/14-phoca- ... ery-plugin

so you have to add displaydownload=0|displaydetail=0 etc to your code.

I had this issue too and decided to edit the core file (so I don't have to add all the parameters to the code all the time)

Go to plugins/content/phocagallery.php and line 72 till 111 are the parameters.

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)
jmsherry
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 09 Mar 2009, 16:12

Re: Icons will not switch off...

Post by jmsherry »

Thanks Carolien...

Sorry I didn't find it in the manuals; I did look...?!

Anyway, Thanks for all your help...

And to all who make Phoca happen...Thankyou! :)
Post Reply