Log message #3150563

# At Username Text
# 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';
# Jan 30th 2014, 20:54 BackEndCoder i type <?php out when i talk sometimes
# Jan 30th 2014, 20:53 BackEndCoder P
# Jan 30th 2014, 20:53 Fatalnix Now I remember why I went to Perl :)
# Jan 30th 2014, 20:53 Fatalnix D
# Jan 30th 2014, 20:53 Fatalnix forgot to put <?php in my model
# Jan 30th 2014, 20:53 BackEndCoder you might not even need to hardset the model usetable
# Jan 30th 2014, 20:53 Fatalnix sigh php is weird
# Jan 30th 2014, 20:53 BackEndCoder and then you can use your $this->Cms calls like normal
# Jan 30th 2014, 20:52 BackEndCoder it will work
# Jan 30th 2014, 20:52 BackEndCoder and you are telling model A to use table N
# Jan 30th 2014, 20:52 Fatalnix yeah.
# Jan 30th 2014, 20:52 BackEndCoder well you are basicly telling the controller to use model A
# Jan 30th 2014, 20:52 Fatalnix heh.
# Jan 30th 2014, 20:52 BackEndCoder http://book.cakephp.org/2.0/en/models/model-attributes.html#usetable
# Jan 30th 2014, 20:51 BackEndCoder http://book.cakephp.org/2.0/en/controllers.html#Controller::$uses
# Jan 30th 2014, 20:51 todds Fatalnix, there are probably others in here better suited to answer that. But yeah, in so far that 'soon' is an ambigious term, it is coming soon. :)
# Jan 30th 2014, 20:51 Fatalnix heh
# Jan 30th 2014, 20:51 Fatalnix that is kind of a hack isn't it
# Jan 30th 2014, 20:51 BackEndCoder let me find the page in the book
# Jan 30th 2014, 20:51 BackEndCoder yeah
# Jan 30th 2014, 20:51 Fatalnix as a public variable?
# Jan 30th 2014, 20:51 Fatalnix hmm
# Jan 30th 2014, 20:50 BackEndCoder that should fix it
# Jan 30th 2014, 20:50 BackEndCoder Fatalnix, so yeah in your controller $uses = array('Cms'); in your model, make a Cms model, with the $useTable = 'cms'
# Jan 30th 2014, 20:49 Fatalnix todds: Oh? is 3.x comin soon?
# Jan 30th 2014, 20:49 todds Don't be scared, my child. Embrace it!