News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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://coppermine-gallery.com/forum/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!  ;)