Loading...
 
Skip to main content

Development


Dynamic content and PHP code

Hi!

I would like to execute PHP code in a dynmic content block.
The solution with {php} echo 'test' {/php} doesnt work.

Is that possible? If not, how do I get the same feature another way?
Do I have to generate my own plugin or fix the dynmic content one?

Any help on this is appreciated.

Thank you

Carsten

> Hi!
>
> I would like to execute PHP code in a dynmic content block.
> The solution with {php} echo 'test' {/php} doesnt work.
>
> Is that possible? If not, how do I get the same feature another way?
> Do I have to generate my own plugin or fix the dynmic content one?

Apparently it's a design decision for security reasons, not a broken dynamic content system. Maybe it could be hacked to enable web-input PHP, if you don't mind the potential vulnerability.

-- Gary