Page 1 of 1

Icons will not switch off...SOLVED!!

Posted: 09 Mar 2009, 16:17
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 :)

Re: Icons will not switch off...

Posted: 09 Mar 2009, 16:20
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

Re: Icons will not switch off...

Posted: 09 Mar 2009, 16:39
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)...

Re: Icons will not switch off...

Posted: 09 Mar 2009, 19:15
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

Re: Icons will not switch off...

Posted: 09 Mar 2009, 20:38
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! :)