Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

Plugin development workflow improvements (See related posts)

By Sencer on the TXP forums
-> http://forum.textpattern.com/viewtopic.php?id=1043&p=2

Make your life developing plugins significantly easier:

1. Use zem�s tamplate.
2. insert row into txp_prefs table with

name = �plugin_cache_dir� and val = �/full/path/www/textpattern/tmp�
(you can let the other ones default to their respective default value)
3. create a directory /full/path/www/textpattern/tmp
4. drop your plugins (uncompiled) in that directory (make sure plugin name and plugin-filename correspond, e.g. zem_test should be in zem_test.php)
(Note: do not put zem_tpl.php in the same directory)

You need to create an account or log in to post comments to this site.


Related Posts