On Thu, Apr 24, 2008 at 10:22 AM, Pierre MARCOURT
<[EMAIL PROTECTED]> wrote:
>
> I am doing some queries in beforeRender() because I have to set variables
> in the layout.
> When users Log In in my system, they can change the order of the elements
> (little calendar, etc.) of the layout.
> And then I save this order in the database.
I understand...unavoidable I guess.
> So I am using the beforeRender() function to set the order of the elements
> in the layout when the user load a page.
>
> For the JavaScript part, what I can do ? I have only 2 links :
> <?php echo $javascript->link('prototype') ?>
> <?php echo $javascript->link('scriptaculous') ?>
> and I am using them with drag & drop, InPlaceEditor, etc.
I'd stop using the built-in helpers and use jQuery.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---