Check out the SMF Function DB!
Started by [Unknown], November 22, 2004, 03:26:37 AM
Quote from: package-info.xml<!-- Installation, the key part of this file. --> <install> <readme>readme.txt</readme> <modification>install.xml</modification> <code>add_settings.php</code> </install>
QuoteThis tells it what file to edit. Among others, you can use $sourcedir, $themedir, and $languagedir.<file name="$sourcedir/Subs.php"> <operation> The position attribute should tell the position relative to the code you want to add. <search position="before"><![CDATA[Search for some code to add stuff after.]]></search> The code to add in the described location. <add><![CDATA[This is what to add.]]></add> </operation></file>
Quote<search position="before"><![CDATA[Search for some code to add stuff after.]]></search>