Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 262
Total Posts: 829
Posted 12/01/07 - 03:12 AM:
#1
I'd like to use the above function as you have in switches. I have looked at http://scripts.webmastersite.net/wsnlinks/wsnmanu... but have to admit I don't fully understand. Is this a function that is already set up that I can use? If yes, then I am doing something wrong as when I try to use it it throws an error
Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 12/01/07 - 10:28 PM:
#2
The help icon is for giving contextual help from the WSN Links knowledge base. I can't imagine how/why you'd want to use that, since presumably your visitors don't want to read the WSN Links knowledge Base.
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 262
Total Posts: 829
Posted 12/01/07 - 10:34 PM:
#3
Paul wrote: The help icon is for giving contextual help from the WSN Links knowledge base. I can't imagine how/why you'd want to use that, since presumably your visitors don't want to read the WSN Links knowledge Base.
LOL! I did rather word my post wrong didn't I <G>
I meant that I have a help and information category on MY site (I don't like using the help system so use a cat and links instead). I want to do the same as you have - use help.gif with a link to the appropriate link in the help category (on MY site). I used just html before, but thought perhaps it may be better/easier to use the func as you have
Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 12/04/07 - 10:48 AM:
#4
You'll need to make your own function for it. <?php function helplink($articleid) { $url = "yourhelpurl...&articleid=$articleid"; $html = '<a href="'.$url.'"><img src=...></a>'; return $html; } ?>