I'd like to use the above function as you have in switches. I have looked at scripts.webmastersite.net/w...emplate-functions-173.html 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
Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, 'helpicon' was given in /home/club123/public_html/default/includes/templatefunctions.php on line 115
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.
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
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; } ?>
Comments on {FUNC_HELPICON[1]}
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I'd like to use the above function as you have in switches. I have looked at scripts.webmastersite.net/w...emplate-functions-173.html 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
Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, 'helpicon' was given in /home/club123/public_html/default/includes/templatefunctions.php on line 115
and the image doesn't show.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
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
Hope that makes sense now
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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;
}
?>
Stick in the modifications directory: scripts.webmastersite.net/w...onsspan-directory-369.html