Using elements?
On 2 fév, 15:14, Aurelius wrote:
> Hi!
>
> Whats the best way to read a layout from the database?
>
> Simply writing a model for the layout-table and using following layout-
> code?
> echo $database_layout['top'];
> echo $scripts_for_layout;
> echo $database_layout['middle'];
>
Hi!
Whats the best way to read a layout from the database?
Simply writing a model for the layout-table and using following layout-
code?
flash();
echo $content_for_layout; ?>
echo $database_layout['bottom'];
echo $cakeDebug;
?>
Or is there an more elegant way?
thx!
Aurelius
--~--~-~--~