How to include php code into a Global Content Block

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
xberos

How to include php code into a Global Content Block

Post by xberos »

I'm in a Global Content Block and I have to use PHP. Can I do it?

For example I have this code.







Thanks
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: How to include php code into a Global Content Block

Post by RonnyK »

For PHP, use the UDT, where you create your snippet of code without the wrapped around. In the GCB, call that UDT, by putting {udtname} in the GCB.

Ronny
Post Reply

Return to “Developers Discussion”