Log message #1033544

# At Username Text
# Sep 12th 2009, 22:18 jjwdesign Maybe with a beforeFilter()?
# Sep 12th 2009, 22:18 savant you could merge them into the paginate settings
# Sep 12th 2009, 22:17 jjwdesign Can I override the paginating sorting settings using $params?
# Sep 12th 2009, 22:16 jjwdesign anyone awake... pagnating question...
# Sep 12th 2009, 21:52 urbinati how do I delete data from a model using the console bake cake? I can only list and create records
# Sep 12th 2009, 21:27 jjwdesign !sessions
# Sep 12th 2009, 21:27 jjwdesign !session
# Sep 12th 2009, 21:15 markstory well if the meta data is in the database it probably has a model, so I would treat it like any other model data.
# Sep 12th 2009, 21:14 mattalexx markstory, I agree. But I also think that the conventions are there for a reason. I don't like to break those conventions without a real consideration because it sometime backfires later on down the road, when its more time-consuming to fix.
# Sep 12th 2009, 21:10 markstory Well I think there are lots of ways to solve problems. A different approach doesn't imply one is better than the other, it depends on whether the solution solves the problem.
# Sep 12th 2009, 21:07 mattalexx markstory, If you're not being facetious, thank you. I have seen some great advice from you on this channel and I value your input.
# Sep 12th 2009, 21:05 mattalexx lol
# Sep 12th 2009, 21:05 markstory you're smart enough to decide if its right for what you need.
# Sep 12th 2009, 21:05 markstory I didn't read it.
# Sep 12th 2009, 21:05 mattalexx markstory, What do you think? Rabbit hole?
# Sep 12th 2009, 21:04 markstory ok
# Sep 12th 2009, 21:04 mattalexx markstory, I think I might do something like this: http://groups.google.com/group/cake-php/msg/38ce68ef9ae520ab
# Sep 12th 2009, 21:00 mattalexx markstory, these things are going to be set from the database. So it seems like I need to set them in the controller,.
# Sep 12th 2009, 21:00 markstory but if you want it more your way then go for it :)
# Sep 12th 2009, 20:59 mattalexx k
# Sep 12th 2009, 20:58 markstory not like you need to create or output html meta tags in json views.
# Sep 12th 2009, 20:57 markstory but I usually do things like meta tags in the html views, as that is the only place they are really relevant.
# Sep 12th 2009, 20:57 mattalexx ... or rather, I want to do things more my way ;-)
# Sep 12th 2009, 20:57 markstory well you don't really set helper variables in the controller really. You can pass things through viewVars with set() or put them in the params.
# Sep 12th 2009, 20:57 markstory ok
# Sep 12th 2009, 20:56 mattalexx markstory, I want more control than that.
# Sep 12th 2009, 20:54 markstory what about the htmlHelper?
# Sep 12th 2009, 20:53 mattalexx ... seems like it would be overkill to write a plugin.
# Sep 12th 2009, 20:53 mattalexx ... or should it be something else other than a helper?
# Sep 12th 2009, 20:50 mattalexx I am creating a simple helper to handle browser title, page header, meta description/keyword, ... What is the best way to access the helper in the controller to set these vars?
# Sep 12th 2009, 19:39 dogmatic69 $content_for_layout is the data that is rendered in your view files... eg: /app/views/users/add.ctp
# Sep 12th 2009, 19:38 dogmatic69 its just like templates you would find in joomla etc...
# Sep 12th 2009, 19:38 ^poi ok
# Sep 12th 2009, 19:37 dogmatic69 ^poi: copy it from /cake/libs/views/layouts/default.ctp
# Sep 12th 2009, 19:37 lukas__ notice <?php echo $content_for_layout; ?> and similar code
# Sep 12th 2009, 19:36 ^poi great thanks
# Sep 12th 2009, 19:36 lukas__ read it
# Sep 12th 2009, 19:36 lukas__ cake/libs/view/layouts/default.ctp
# Sep 12th 2009, 19:35 lukas__ there is a default one
# Sep 12th 2009, 19:35 ^poi *are
# Sep 12th 2009, 19:35 ^poi is there any examples in the downloaded cake code?