Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
insert code via textbox?

 

 


Toledoh
Enthusiast

Jan 24, 2012, 5:07 PM

Post #1 of 3 (308 views)
Shortcut
insert code via textbox? Can't Post

Hi Guys,

I'm sure I've seen this before, but I can't find the thread...

I want to have the following in my detail page;

<?php echo $what_we_doRecord['additional_page_code'] ?>

where additional page code would be something like;
<?php include("_moduleAccommodation.php"); ?>

However, I think this is being stripped out? Is there a way I can get around this? Or another way of acheiving it?
Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au


Dave
Staff / Moderator


Jan 24, 2012, 7:35 PM

Post #2 of 3 (303 views)
Shortcut
Re: [Toledoh] insert code via textbox? [In reply to] Can't Post

Hi Tim,

There's a post about this here:
http://www.interactivetools.com/forum/gforum.cgi?post=87318

If all you need to do is include different files then you could have a pulldown of include file names and insert the value in the PHP include tag.

Hope that helps, let me know any questions.

Dave Edis - Senior Developer
interactivetools.com
 


Toledoh
Enthusiast

Jan 24, 2012, 7:38 PM

Post #3 of 3 (302 views)
Shortcut
Re: [Dave] insert code via textbox? [In reply to] Can't Post

Thanks Dave!
Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au