|
Project Information
|
Import/Export/Remove/Download/Upload Templates as FilesThis plugin creates a new Templates tab under Extensions, enabling the trivial export of Forms, Pages, Plugins, Sections, and Style rules to a specified folder for convenient editing, and the subsequent import of new and updated files. Existing template directories, as well as, the $cxc_templates['base_dir'] can be deleted. Please note, the $cxc_templates['base_dir'] will be recreated when the plugin is next accessed. Other features include zip and download of template directories, and a template upload option that will upload and import new templates with a single click. http://forum.textpattern.com/viewtopic.php?id=35319 Plugin Requirements </>This plugin requires Textpattern 4.3.0 and above. Regardless of where it's been tested, this plugin messes around with your database. Do not use it without backing up your database. Setup Instructions </>By default, the plugin looks for directories named cache and tpl in the directory with images, rpc, sites, and textpattern directories. If the directories don't exist, the plugin will attempt to create it the first time you export your templates. This creation will often fail, if that occurs, you'll need to create the directories manually, and ensure that the web server has write access. If your Textpattern root is located at /users/home/myuser/web/public/, something similar to the following commands could be used: cd /users/home/myuser/web/public/ mkdir directory chmod 777 directory Just replace the word 'directory' in the example above with the directory you need to create. Note: if using an alternate template directory you will need to adjust accordingly. |