Page 1 of 1

Spliting a page into multiple text boxes

Posted: Fri Nov 13, 2009 10:59 am
by Monotoko
Hiya :)

I have a PHP page which edits a template page, at the moment it shows a huge box with all the code on the template....is it possible to have this edit page break this up into say: header, search, sidebar etc etc and give the user a differant text box to edit each?

and then hide certain parts of the code from the user (which would just be PHP code) inbetweeen the rightsidebar and the footer...etc

Basically i want the user to only be able to edit the bits which are "echoed" out of the PHP file, in differant text boxes, as oppose to one big mess.

Posted: Fri Nov 13, 2009 5:57 pm
by Jonah Bron
Sure. Just have a page for each part, and pass the modified parts along via POST, saving each part to a session as you go along.

I think that's what you're asking.

Re: Spliting a page into multiple text boxes

Posted: Sat Nov 14, 2009 4:54 pm
by Monotoko
Is there anyway i could make each text box not show the "include thisfile.php" bit?