Hello
I tray to make my Own Template System with a Design System included ^^
But i have a Problem with my Design System.
This is how it sould look like.
[php]
//Init Design
$design = new template
$design->initDesign();
//Start Design
$design->designStart();
//Content
$testvar = 1;
$msg = ‘This is Ok’;
if($testwar != 1) {
$msg = “Error”;
}
echo $msg;
//Stop Design
$design->designStop();
[/php]
I want that my Design System Knows that all between $design->designStart(); and $design-designStop(); is Content and replace {CONTENT} with it.
But i don’t know how to do so.
Hope you can Help me with my problem (maybe with a Code example).
MFG Blackfire499