searchhighlight error
Hodges |
|
---|---|
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:
Cheers. |
Trustmaster |
|
---|---|
Hello Hodges and welcome to Cotonti!
Currently search keyword highlight script is configured to highlight words inside of divs with class="fmsg" only, that's why it works in sed-light and doesn't work in many other skins. This behavior is not correct, so it will be changed. May the Source be with you!
|
Hodges |
|
---|---|
Ahh thanks for the reply. I tried to debug it myself but it's been a while!
I'm building a site for my department at university so I'm getting back into Seditio (Cotonti) since it's wonderfully active again! Good stuff and keep up the good work. If I get enough time I'll try to push some plugins out; I've got a few ideas... |