Log message #112960

# At Username Text
# Aug 8th 2008, 23:37 markstory see line 260 of dispatcher.php
# Aug 8th 2008, 23:36 markstory freebox: sorry I just looked at dispatcher. and the controller's output comes back as the requestAction.
# Aug 8th 2008, 23:35 paramS cool, lemme try that for navigation stuff .. thanks for the info
# Aug 8th 2008, 23:35 markstory freebox: try return $categories; see if that works.
# Aug 8th 2008, 23:35 markstory paramS: yeah $this->set('navigation', $stuff) in your controller.
# Aug 8th 2008, 23:34 markstory (in 1.1)
# Aug 8th 2008, 23:34 markstory at least it did the last time I used it.
# Aug 8th 2008, 23:34 paramS markstory << can i define a variable which can then be used in layout/default.ctp ; i want to export $navigation , separate from $content_for_layout
# Aug 8th 2008, 23:34 markstory not the set vars.
# Aug 8th 2008, 23:34 markstory requestAction takes the __return__ of the controller action.
# Aug 8th 2008, 23:34 freebox ¬¬
# Aug 8th 2008, 23:33 markstory fail.
# Aug 8th 2008, 23:33 freebox markstory: the action: $this->set('cats', $this->Categoria->find('all'));
# Aug 8th 2008, 23:33 markstory freebox: so return $categories;
# Aug 8th 2008, 23:33 markstory Veracious: no prob :)
# Aug 8th 2008, 23:33 freebox return my categories
# Aug 8th 2008, 23:33 markstory or just set vars?
# Aug 8th 2008, 23:33 freebox markstory: yes
# Aug 8th 2008, 23:33 markstory freebox: does your controller action return anything?
# Aug 8th 2008, 23:33 freebox its because im using it in home.ctp?
# Aug 8th 2008, 23:33 Veracious markstory: thanks so much! =)
# Aug 8th 2008, 23:32 freebox but my element dosent work
# Aug 8th 2008, 23:32 freebox and worked
# Aug 8th 2008, 23:32 markstory paramS: not the easiest option but it works.
# Aug 8th 2008, 23:32 freebox i've created an view to the action menu
# Aug 8th 2008, 23:32 freebox dosent work this element! XD
# Aug 8th 2008, 23:32 paramS i like the sound of ACL option...
# Aug 8th 2008, 23:31 markstory paramS: not sure but google might know.
# Aug 8th 2008, 23:31 freebox lol
# Aug 8th 2008, 23:31 paramS is there any article about common ways of making navigation system in Bakery or any Cake related blog ; this should be a very common problem that must have been solved ;)
# Aug 8th 2008, 23:30 markstory if you are using ACL there are ways of making menus off of an Acl that is filled with controllers/actions as well.
# Aug 8th 2008, 23:30 paramS i just dont want to hard-code the navigation links anywhere in my application as i am sure they will change all the time
# Aug 8th 2008, 23:29 markstory well you could make a menu model/controller and use treebehavior to help nest them.
# Aug 8th 2008, 23:28 harrison bonjour senorita
# Aug 8th 2008, 23:28 M4ngoB00M harrison
# Aug 8th 2008, 23:28 M4ngoB00M hi harrisn
# Aug 8th 2008, 23:27 markstory paramS: define easy.
# Aug 8th 2008, 23:26 paramS hi all, a newbie here ... just started fiddling with cakephp. I was wondering if there's an easy way to handle "Menu_System/Navigation" .. I dont want to put hard-links in "layout/default.ctp" ...
# Aug 8th 2008, 23:24 TonkaTruck generatetreelist breaks for me when any 'conditions' are present. The conditions translate fine in the sql. Error is "array_combine() expects parameter 1 to be array" Is this a bug?
# Aug 8th 2008, 23:23 Veracious markstory: thanks, I'll try that
# Aug 8th 2008, 23:23 markstory Veracious: and I think Model::save() will get them all, if not Model::saveAll() will