how to include php script?

General project discussion. NOT for help questions.
Post Reply
docman
Forum Members
Forum Members
Posts: 103
Joined: Sat Oct 10, 2009 4:25 pm

how to include php script?

Post by docman »

Hi, I am wondering what is the limit of implementing php codes in CMSMS.

So far my understanding is:

Tags:
- one can insert bits of php code without the labels et the beginnignand the end
- these tags can be included into content
? can these tags be executed AUTOMATICALLY or only by clicking on the tag ?

Plugins:
- these are stand-alone php programs
? are these equavalent to MODULES ?

{literal}{/literal}
? can someone explain the use of these tags ?
? is my understanidng correct that these tags separate any code from the content of the page, hence allowing their execution ?
? would the execution be AUTOMATIC or should it be activated in any ways ?

My motivation in asking all this is to find out what is the extent of the use of the vast body of php code out there with CMSMS.

Thanks a lot.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: how to include php script?

Post by RonnyK »

Tags in the backend (Extensions -> Tags) are shared functions which are stored in the \plugins folder. They are similiar in a way to modules, as they can be in the default set, but they DONT have a admin-screen, tables etc..... Just logic.

User Defined Tags (Extensions -> User Defined Tags) are small parts of script you can create yourself, these are in the database.

Withing {literal}{/literal} in the template an external call can be made like js-call....

{literal}

{/literal}

Ronny
Post Reply

Return to “General Discussion”