Page 1 of 1

User defined tag - run script from file instead of from post in admin panel?

Posted: Fri Jan 22, 2010 2:33 pm
by VanTheManiac
Hi,
I'm new to CMS Made Simple and I'm trying to see how it will work on my current project.

I've tried to add a user defined function, added some PHP script and saved it through admin panel and it works fine.
But my project will need quite a few of theese user defined tags and during development I think it will be quite time consuming to work this way, and not by editing the scripts in "user-defined" php-files directly, with all the advantage my php-editor gives me instead of posting it in the admin panel to test the tag.

So my question is, is there a way to work with php-scripts when working in my user defined tags and how?

Besides that I'm pretty impressed with CMS Made Simple so far!
Cheers!

Re: User defined tag - run script from file instead of from post in admin panel?

Posted: Fri Jan 22, 2010 3:23 pm
by Wishbone
Tags can also be placed in the /plugins directory as well... Look at one of the files in there to see the format.

Re: User defined tag - run script from file instead of from post in admin panel?

Posted: Sun Jan 24, 2010 6:57 pm
by VanTheManiac
Worked like a charm! :)
Thanks!