Forums / Cotonti / Support / Wowhead code

Raylandar
#25146 2010-07-04 20:44
Hi, I am moving my site from Sedito to Cotonti, and for the life of me I can not get Wowhead tool tips working.

I added the javascript to the header tag
when I call my custom tag [wowitem]
it points to something like
<a href="http://www.wowhead.com/item=25697" class="q3" rel="gems=23121&amp;ench=2647&amp;pcs=25695:25696:25697">[Felstalker Bracers]</a>

[/wowitem}

When it gets parsed I get
['\[\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',=([0-9]*)\]\[q=([0-9]{1})\]([^\[]*)'\[\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',=([0-9]*)\]\[q=([0-9]{1})\]([^\[]*)'\[\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',=([0-9]*)\]\[q=([0-9]{1})\]([^\[]*)'\[\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',=([0-9]*)\]\[q=([0-9]{1})\]([^\[]*)'\[\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',=([0-9]*)\]\[q=([0-9]{1})\]([^\[]*)'\[\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',\[/item\]' => '\3',=([0-9]*)\]\[q=([0-9]] 

the pre code actually lead me to this site

wowitem
\\[item=([0-9]*)\\]\\[q=([0-9]{1})\\]([^\\[]*)
end wowitem
\\[/item\\]' => '<a class="q\\3"

Any help would be greatly appreciated.