Elxis CMS Forum
Extensions => Bots and plugins => Topic started by: xmanhattan on July 03, 2011, 12:22:45
-
Hello all,
I just tried to use addphp inside a module but I am not seeing any of my output. The program is small and only for a test to echo one line of content.
I checked it by placing the same code {addphp file=/programtest/test.php}
into a regular content page and that works.
Does the bot work inside of modules or am I doing something wrong?
-
a bot can't run inside a module.
Just create a module to run your php file.
-
That's what I thought.
Thanks Creative
-
Just create a module to run your php file.
correct and preferable solution
alternative:
try this trick-> add the bot in a content-item then use a module(look EDC) to load this content-item in the module!
-
You read my mind.
Thanks ks-net
-
alternative:
try this trick-> add the bot in a content-item then use a module(look EDC) to load this content-item in the module!
But with this way you will increase the number of requests.