Hello !
Not a template how-to, but a tiny layout "fix".
I wanted to have the Save button on top of the configuration page, especially when just changing one setting (e.g. template) and having to scroll all the way down. After much attempts, I finally found the config file and found the code snippet to duplicate. Hoping this post will help someone :)
Edit this file:
lib/plugins/config/admin.php
After the line containing (should be the 102th one in release 2013-05-10a "Weatherwax"):
ptln('<form action="'.script().'" method="post">');
Insert the same code from the bottom of the page:
ptln('<p>');
ptln(' <input type="hidden" name="do" value="admin" />');
ptln(' <input type="hidden" name="page" value="config" />');
if (!$this->_config->locked) {
ptln(' <input type="hidden" name="save" value="1" />');
ptln(' <input type="submit" name="submit" class="button" value="'.$lang['btn_save'].'" accesskey="s" />');
ptln(' <input type="reset" class="button" value="'.$lang['btn_reset'].'" />');
}
ptln('</p>');
There you go!
Obviously, if the file is overwritten during an upgrade, you will need to modify the file again... until it's implemented :-p