News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

How can I package this modification?

Started by Rohawk, April 01, 2015, 11:35:36 PM

Previous topic - Next topic

Rohawk

I've created a modification that allows "rainbow" as an option for membergroup name color.  I did so by directly modifying template files on my testing forum, but now that I'm sure it works, I'd like to make it an installable package.  It modifies four source files and one CSS file; instead of adding a sub template, I tweaked small paragraphs in the relevant files to display a span instead of a style rule (when relevant).

I remember a while back, you could package modifications with some sort of xml installation file that boiled down to instructions like "in this file, change code x to code y" or "add code z here".  The tutorials I've found talk more about either just adding sub templates or how to reference existing sources, though. 

Does anyone else know what I'm talking about? Am I barking up the wrong tree?

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters


Advertisement: