Custom Template Adder Script
This modification is in the archives.
This is really something to help modders to add custom templates more easily in their releases.
Description: This script lets you specify which styles you want to add custom templates to. It also shows if a style has custom templates with the same names, and lets you overwrite them. You can also see the template codes you are about to add by clicking on the names. Instructions: Edit in customtemplates.php: $mod_name - your mod name $script_file - the file name, if you modify it, without ".php" $template array - each custom template you wanna add, beginning at index 1, as an associative array with 'title' and 'template' as key/values. Example: $template[1]['title'] = 'custom_template_example'; $template[1]['template'] = 'Dream\'s custom template "example".'; Demo: upload customtemplates.php to your admin cp folder, and call it from a browser. I hope you find some use for this, modify at your heart's content. Included is a script to add v3 Arcade's custom templates, the reason why I made this in the first place. [edit]typos[/edit] Download This modification is archived and cannot be downloaded. |
Similar Mods
Moderators Functions Inline Usernote Adder | Modification Graveyard |