Topic on Extension talk:SectionHide

Images for the toggles?

4
Natrashafierce (talkcontribs)

Is there a way to change the "show" and "hide" toggles to images (like arrows)? I've tried editing SectionHideHooks.php to remove the brackets (worked), and then SectionHide.i18n.php to replace the text with HTML img src links, but I'm not very good with PHP and JS: while the images do display, there's a bunch of garbled text around them, so I'm guessing there's something going on where I can't just insert images there that easily. I looked through SectionHideHooks.php and tried various things but nothing worked. Thanks!

Hoggle42 (talkcontribs)

I think the language files would need either a wiki code image link or an html image link - will have a play and work something out.

Hoggle42 (talkcontribs)

Done - had to change the javascript as the many layers of quotes mucks things up else.

Reply to "Images for the toggles?"