Elxis CMS Forum
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download Elxis CMS: Elxis 4.0 Nautilus
 
Pages: [1]
  Print  
Author Topic: addphp and modules  (Read 1689 times)
xmanhattan
Hero Member
*****
Offline Offline

Posts: 975


If I'm still breathing, I'm doing something!


WWW
« on: July 03, 2011, 11: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
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?

Logged

CREATIVE Options
Authorized Elxis Professional
Elxis Community
Hero Member
*****
Offline Offline

Posts: 2326


Professional services for Elxis CMS


WWW
« Reply #1 on: July 03, 2011, 11:55:42 »

a bot can't run inside a module.

Just create a module to run your php file.
Logged

Online Booking Pro Template with split menu (Elxis 2009.3) | We introduce the service of transferring all the content from Elxis 2006.x / 2008.x / 2009.x to Elxis 4 !
xmanhattan
Hero Member
*****
Offline Offline

Posts: 975


If I'm still breathing, I'm doing something!


WWW
« Reply #2 on: July 03, 2011, 13:11:06 »

That's what I thought.

Thanks Creative
Logged

ks-net
Elxis Community
Hero Member
*****
Offline Offline

Posts: 2075

Kostas Stathopoulos


WWW
« Reply #3 on: July 03, 2011, 13:51:35 »

Quote
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!
« Last Edit: July 03, 2011, 13:53:20 by ks-net » Logged

xmanhattan
Hero Member
*****
Offline Offline

Posts: 975


If I'm still breathing, I'm doing something!


WWW
« Reply #4 on: July 03, 2011, 14:12:27 »

You read my mind.

Thanks ks-net
Logged

CREATIVE Options
Authorized Elxis Professional
Elxis Community
Hero Member
*****
Offline Offline

Posts: 2326


Professional services for Elxis CMS


WWW
« Reply #5 on: July 03, 2011, 16:09:17 »

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.
Logged

Online Booking Pro Template with split menu (Elxis 2009.3) | We introduce the service of transferring all the content from Elxis 2006.x / 2008.x / 2009.x to Elxis 4 !
Pages: [1]
  Print  
 
Jump to: