I need to include some php, I think I’ve followed all instructions on the textpattern site, and mooched around on here and the web in general but can’t seem to find any answers.
When I put < txp:php>echo ‘Hello World’;< /txp:php> (minus the space) into an article, it doesn’t get displayed on the page (nor in the source code).
The client is running version 4.0.2 and has ‘allow_page_php_scripting’ and ‘allow_article_php_scripting’ set to 1 in both lib/admin_config.php and in the database (txp_prefs)
The user that I’m logging in as has ‘privs’ set to 3, this id is enabled for article.edit in admin_config and the db.
What I do find is that I can run the code if I put it into a ‘page’, but I really need to be able to put it into an ‘article’
Can anyone tell me what I’m doing wrong?
I didn't find the right solution from the internet.
Smart Sensor Video