PHP stripped

Replied by ced1870 on topic PHP stripped

Posted 4 years 10 months ago #52768
but this has nothing to do with Page Builder CK in my case ...

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic PHP stripped

Posted 4 years 10 months ago #52769
I have lots of sites using this code successfully in a Custom Module, with DirectPHP activate and Options | Prepare Content set to Yes. Nothing is stripped or commented out. Only when I use a CKPB module does this happen. Not even Sourcerer keeps the code from beign commented out in a CKPB module.

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic PHP stripped

Posted 4 years 10 months ago #52770
no, I'm explaining you that in my test I was into an article, without Page Builder CK. I can not make it work
I finally got it working, because I did not enable the directphp plugin ! now checking in page builder ...

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic PHP stripped

Posted 4 years 10 months ago #52771
in the page builder ck module, have you enabled "Activate content plugins" in the advanced options ?
works fine, and using

{?php echo date("Y"); ?}

this avoid the editor filtering and works with DirectPHP

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by trogladyte on topic PHP stripped

Posted 4 years 10 months ago #52772
Yes, with "Activate content plugins" enabled and Direct PHP both enabled and disabled, it fails.

A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic PHP stripped

Posted 4 years 10 months ago #52773
have you tried with my code ?
as I got it working, you shall also :)

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.826 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 710 guests and no members online