coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Black Panda on March 29, 2007, 04:52:22 AM

Title: How to remove "add to favorites" link at bottom of pic?
Post by: Black Panda on March 29, 2007, 04:52:22 AM
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!  ;)