Log message #3150589

# At Username Text
# Jan 30th 2014, 21:01 Nick____ https://gist.github.com/anonymous/2a02b3d5cc6e75269559 like this i think?
# Jan 30th 2014, 21:00 todds Nick____ (sorry): 'pageurl' => $menucat['Page']['url'], 'attribute' => 'value', etc...
# Jan 30th 2014, 21:00 chris______ ok i see it now, thanks
# Jan 30th 2014, 21:00 chris______ I should not be nor reading nor saving Item from the Order controller
# Jan 30th 2014, 21:00 chris______ oh oh i get it
# Jan 30th 2014, 21:00 BackEndCoder if its a habtm
# Jan 30th 2014, 21:00 BackEndCoder $this->Order->Item
# Jan 30th 2014, 21:00 BackEndCoder if you are ...
# Jan 30th 2014, 21:00 BackEndCoder you shouldn't be saving to the Items model
# Jan 30th 2014, 21:00 chris______ ?
# Jan 30th 2014, 21:00 chris______ what about the Item model
# Jan 30th 2014, 20:59 BackEndCoder if its not relational, it will tell you to do one
# Jan 30th 2014, 20:59 todds Nick___, in the second parameter of link() (array())
# Jan 30th 2014, 20:59 BackEndCoder you can access the OrdersItem model with $this->Order->OrdersItem->...
# Jan 30th 2014, 20:59 BackEndCoder if you are in the orders controller and you are relational
# Jan 30th 2014, 20:59 BackEndCoder yeah i typed it out in my example
# Jan 30th 2014, 20:58 chris______ BackEndCoder: is there any way I could get Item data from the OrdersController? maybe something like $this->Order->OrderItems->Item ?
# Jan 30th 2014, 20:58 Nick____ where would it go in here? https://gist.github.com/anonymous/716614c237d26dda661b it is after pageurl isnt it
# Jan 30th 2014, 20:58 todds You need some baileys in that coffee
# Jan 30th 2014, 20:58 todds you're doing it wrong
# Jan 30th 2014, 20:58 the-neon but it's 11 pm.
# Jan 30th 2014, 20:58 the-neon I has coffee.
# Jan 30th 2014, 20:58 the-neon ACTION high fives
# Jan 30th 2014, 20:58 BackEndCoder ACTION high fives
# Jan 30th 2014, 20:58 todds TAG TEAM
# Jan 30th 2014, 20:57 the-neon D
# Jan 30th 2014, 20:57 BackEndCoder ^^
# Jan 30th 2014, 20:57 the-neon 'data-toggle' => 'collapse'
# Jan 30th 2014, 20:57 BackEndCoder like 'class'=>'accorion'
# Jan 30th 2014, 20:57 the-neon you can put those into the options array as normal
# Jan 30th 2014, 20:57 BackEndCoder in the data array
# Jan 30th 2014, 20:57 Nick____ how would I put this into a cakephp link? class="accordion-toggle" data-toggle="collapse" data-parent="#leftMenu"
# Jan 30th 2014, 20:55 Fatalnix LOL
# Jan 30th 2014, 20:55 BackEndCoder i had a phase when i type ip route all the time
# Jan 30th 2014, 20:55 Fatalnix got so bad I had to make aliases
# Jan 30th 2014, 20:54 BackEndCoder hehe
# Jan 30th 2014, 20:54 Fatalnix I type ls in my MUDs and look in my terminals
# Jan 30th 2014, 20:54 Fatalnix BackEndCoder: its not just programming.
# Jan 30th 2014, 20:54 BackEndCoder D todds :D
# Jan 30th 2014, 20:54 todds Colleagues love me.
# Jan 30th 2014, 20:54 todds My Users model $useTable = 'not_users' and my Not_Users Model $useTable = 'users';