How to remove "add to favorites" link at bottom of pic? How to remove "add to favorites" link at bottom of pic?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

How to remove "add to favorites" link at bottom of pic?

Started by Black Panda, March 29, 2007, 04:52:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Black Panda

I installed this modification --> http://forum.coppermine-gallery.net/index.php?topic=26315.0

It all seems to work o.k. except for I want to do one more thing and I have a couple of questions.

After installing this mod, there is still an "Add to Favorites" link in the File Information when a user is logged out. How do I make this only viewable to logged in users?

There is supposed to be an addfav.gif image, where is it? Can someone attach the image for me?

Also, I have no idea where this part of the code goes. Can someone help me as where I need to place this code?


and check that your theme.php in template dir has <!-- BEGIN favpics --> and <!-- END favpics --> around

Code:
<a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK}</a>

2* htlm code:

Code:
<a href="home.html"
onMouseOver="document.images[0].src='fav.gif'"
onMouseOut="document.images[0].src='fav2.gif'">
<img src="fav.gif" width=192 height=47 alt="" border="0">
</a>


Your help is very much appreciated!  ;)