6 Comments

sams
A great combination of good humour and information there. The capture/contentFor stuff was of interest to me I could not find a sample of the code right away (as I was not certain how to spell Chris's surname/moniker); so here is a link for others: http://snipt.net/chrisyour/cakephp-content_for-capture-html-block-for-layout/
mysticsage2
@lorro: It makes more sense to define that in your default template than it would to set it in the AppController.
lorro
why would you set variables in your view? Isn't that supposed to be done in the controller?
trevorsg
Awesome video once again, Leigh. Better than the first, in fact. Good ideas and well presented.
leighmac
Errata - make sure you echo out the elements when you capture them and also you can capture any content between the capture and contentFor not just elements. Should have really said that sorry guys... might have missed the main point haha. The video should be called "CRUD once & Capture content" Am I able to edit the video and re-upload? @damanlovett thank you :D I'm just doing my bit for mankind haha.
damanlovett
Leigh, YOU ARE DA MAN! I love your site and your tutorials are awesome, I'll watch any CakePHPTV tutorial you do. keep it up! Cheers! p.s. Batman Rules!
Most Recent Oldest View All Comments