Can't use php in entries, please help
Posted: Sat Mar 14, 2009 1:23 am
Hi there,
I've been using s9y for quite a long time and I find it really great, but since now I've never needed to use some php code in entries/posts/articles. The thing is that I want to embed a widget of my own that is a piece of a php code, so therefore I need to be able at least to require it the normal way right? Like : <?php require('http://mydoma.in/php/code/path.php'); ?>
So far by reading through several topics here I happened to know that instead I should use the so called "smarty" code with syntax like {php_include .... }, and disable the security in the theme I am using - both actions done, but still no output of my widget form is shown in the entry. Please advice how it should be done. Thanks in advance!
I've been using s9y for quite a long time and I find it really great, but since now I've never needed to use some php code in entries/posts/articles. The thing is that I want to embed a widget of my own that is a piece of a php code, so therefore I need to be able at least to require it the normal way right? Like : <?php require('http://mydoma.in/php/code/path.php'); ?>
So far by reading through several topics here I happened to know that instead I should use the so called "smarty" code with syntax like {php_include .... }, and disable the security in the theme I am using - both actions done, but still no output of my widget form is shown in the entry. Please advice how it should be done. Thanks in advance!