Modifying My Gallery link to work with custom button? Modifying My Gallery link to work with custom button?
 

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

Modifying My Gallery link to work with custom button?

Started by Joachim Müller, March 16, 2004, 07:08:44 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Joachim Müller

Provide a link and maybe an excerpt of your theme.php code; how should we know what went wrong?

GauGau

tbone2004

Hers my code I'm using fro my button

</a><a href="http://cgi.rhino3dforums.com/gallery/index.php?cat=10003" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','http://cgi.rhino3dforums.com/images/buttons/MyGallery2.gif',1)"><img name="Image12" border="0" src="http://cgi.rhino3dforums.com/images/buttons/MyGallery1.gif"></a>

I guess I'm looking for the right syntax to use for the link.

By using
http://cgi.rhino3dforums.com/gallery/index.php?cat=10003
That will show the member associate with 1003

Casper

the code you need is
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">

edited, wrong link put in first time  :oops:
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

tbone2004

casper thanks for the reply, for some resoan that didnt work
heres the link

heres my custom nav bar
http://cgi.rhino3dforums.com/gallery/test11.htm

any suggestions what could be going wrong?

Thanks,
Mark

bit bit spears

oh i know why.

you can't have navigation from an html page, and certainly not one defined in coppermine.

here's what you need to do:

open theme.php

and look for the nav you want to customize, it should then work:)

tbone2004

Thanks for the reply, I tried that and still cant figure this out, I also tried to use mysite.com/galleryindex.php?cat=$my_gallery_id , but no luck with that as well. Its been a long time since I did any php code so I'm thinking about letting this go for now and reading thru a php book.

Thanks,
Mark

bit bit spears

hey, send me the nav code and your theme.php-i'll try my best to code them-just give me a pm:)