Log in

View Full Version : I need a little help


Michael Morris
08-26-2004, 07:14 AM
I'm needing to setup a button based quickstyle chooser instead of the standard dropdown menu (basically I have 5 styles that have icons for them). I've found that <a href="?styleid=X"><img src="location of the icon"></a> works, but I need to find a variable that contains the location of the current page, or create one in the phpinclude_start template.

Logikos
08-26-2004, 07:35 AM
For the image? <img border="0" src="$stylevar[imgdir_misc]/location of the icon.gif" alt="" />

And add the icons per images/misc dir.

Or hardcode the img. <img border="0" src="http://www.you.com/forum/images/misc/icon.gif" alt="" />

Michael Morris
08-26-2004, 08:00 AM
Nevermind - figured it out.

<a href="$forumdisplay.php?$foruminfo[forumid]&styleid=X">link to style X</a>

@ Livewire Thx, but that wasn't what I was trying to figure out. I have a page that has five of the styles linked with icons in the header, so I needed to link the styles up.

Logikos
08-26-2004, 07:01 PM
Glad you got it working. :)