Foren / Cotonti / Support / searchhighlight

searchhighlight error

Hodges
#27108 18. November 2010, 04:07
Hi,

Just started using Cotonti and it's good to see new life being blown back in Seditio/Land Down Under!

Anyway, I'm having a problem with the hl.js script. I know it's getting inserted into the header via {COM_POPUP} however I can only get highlighting working with the skin sed-light. Any other skin I've tried it will not work. I know it's not a css problem because I'm using chrome to show me the complete source code - including the client-side rendering - which will show the inserted span tags:

<span class="searchhighlight">Example</span>

for sed-light skin. But for any other skin I merely get:

Example

with no insertion of the span tags.

Please help me. Hopefully it's reproducible; I've managed to produce this bug by:

  1. Installing fresh localhost (WAMP) copy of Genoa 0.6.11
  2. Test highlighting in sed-light = works
  3. Download DutchCotonti skin and test highlighting = fail
  4. And my own skin which I build starting from sed-light

Cheers.