Tooltip PHP Fusion Help
Since i use PHP Fusion as well, i worked my way around it a tiny bit.
In your themes/templates/header.php you have to add the following line.
echo "<script type='text/javascript' src='http://tor.zamimg.com/tooltips.js'></script>\n";
This line must be added before echo "</head>\n<body>\n";
For me this was on line 48, but probably for you on a different line.
It looks a bit different with the one Torhead gives, but i think its a slight different coding PHP Fusion uses. ( not an expert )
this makes the tooltip pop up on the site/forum now after you CTRL+F5 refreshed your site.
Only thing is, its the item name in the colors on your site without an icon, there is an test on our forum and site atm
http://www.warbound.eu so you can see what i mean.
at the moment im struggling with <script>var framehead_tooltips = { "colorlinks": true, "iconizelinks": true }</script>
so i can use the icons and colors from torhead on our site as well. but its a start.
oh and the code to ask up the item on your site is as follow.
on the site : <a href="javascript:void(0)" data-torhead="item=1zPrntT">test</a> test you can replace with the origional item name.
on the forum : [^url=http://www.torhead.com/item/9IG9X25]Champion War Hero Force-Mystic's Lightsaber[/url] without ^ ofcourse.
hope i helped you a bit, and just what i said, im not an expect. but trial and error <3
and if you find more out than that i know, would love to hear it :)
Greetings Fred aka Adelena.
I came a bit further at the moment by adding
echo "<script>var framehead_tooltips = { ".colorlinks.": true, ".iconizelinks.": true, ".renamelinks.": true }</script>\n";
above echo "<script type='text/javascript' src='http://tor.zamimg.com/tooltips.js'></script>\n";
in the header.php what i said before,
only weird thing is now i get the name in collors plus icon with the name from left to right but also from top to down o.O
just what i said, trial and error :)
Editing my own post,
echo "<script>var framehead_tooltips = { ".colorlinks.": true, ".iconizelinks.": true, ".renamelinks.": false }</script>\n";
is the good one, its working now how it should be.
instead of true it should be false ( for renamelinks )
if you have questions id be here to help.
Post Reply
You are not signed in. Please sign in to post a reply.