General Category > Plugins

Plugin Folder structure


If I am creating a plug-in  for say smarty, where should I put the the main Smarty Folder?  Should it go in the Plug-ins folder?  Or not?

Currently I am not doing that.  I extended smarty in a file called library.Smarty_TMVC.php and placed it in the plug-ins folder.  but the Smarty directory I placed elsewhere.

I guess maybe another way of phrasing the question is to say, how should one incorporate a plug-in that may have many supporting files and configs?  Where should all the files and configs go?



In my example in the docs, smarty had its own directory for everything except the templates, I just used the views directory of tinymvc. It is up to you how to structure things.


[0] Message Index

Go to full version