On 8/30/07, Chris Hartjes <[EMAIL PROTECTED]> wrote: > On 8/30/07, LS <[EMAIL PROTECTED]> wrote: > > > > nate... > > I can't... as the variable that goes in the html title tag is > > $title_for_layout > > It's a reserved variable being used by Controller::set. If you look > at the set function in cake/libs/controller.php you'll see a line (513 > in bleeding-edge Cake 1.2) where it is looking for 'title' as an index > inside arrays passed into it. It then sets the title of the page to > whatever value is associated with the index 'title'.
Oops, that line number is where the set function starts. Sorry. -- Chris Hartjes Senior Developer Cake Development Corporation My motto for 2007: "Just build it, damnit!" @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
