News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Fn Pacman is too stupid to know what it's doing.

Started by Antechinus, August 30, 2015, 06:15:01 AM

Previous topic - Next topic

Antechinus

Ok, so problem with Profile.template.php. There are two sections I need to edit. Both share identical markup/syntax where I need to edit them. Pacman is too dumb to edit one first, then edit the other one. It insists on trying to do the edit twice in the same place. :P

Ok, so there is a way around it. I need a way of having <![CDATA[ and ]]> in the edit in the XML, without it tripping the end of the operation tag.

IOW, I need the edit to insert some javascript into the PHP file, and of course that means it needs the CDATA tags for the js, but putting those tags into the XML screws it up.

Make sense? How to fix?

Antechinus


Advertisement: