> A quick one... 
> 
> Is it possible/wise to change the style a page uses dynamically
> while the page is loaded. I imagine that one would use some
> command in the <[code-init]> of a page, ie before the style is
> loaded, and somehow tell midgard that the page should use a
> different style than default?

Rather not casue midgard core will get the page faster than You.
But You may try as style is getting from db later than code-init or code-global.

$page = mgd_get_page($midgard->page);
$page->style = $another_style_id;

Piotras

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to