# |
Aug 7th 2008, 10:42 |
_psychic_ |
chris12349: add the method to the menu controller |
# |
Aug 7th 2008, 10:41 |
_psychic_ |
$data['Model']['field'] = 'value'; |
# |
Aug 7th 2008, 10:41 |
_psychic_ |
stevieboy: where $data is a keyed array after your model name and it's fields |
# |
Aug 7th 2008, 10:41 |
chris12349 |
I want to make a database driven menu and I'm trying to set it up in an element to add to my layout. I've created a menu controller and added a "uses menu" to the app_controller. Is this the proper way of doing this? (cake 1.1.19) |
# |
Aug 7th 2008, 10:41 |
zeen |
aww no Juggernaut for php |
# |
Aug 7th 2008, 10:41 |
_psychic_ |
stevieboy: $this->Model->save($data); |
# |
Aug 7th 2008, 10:41 |
primeminister |
) alrighty. thx all |
# |
Aug 7th 2008, 10:40 |
TommyO |
primeminister: make a test to prove the ticket would be appreciated |
# |
Aug 7th 2008, 10:40 |
stevieboy |
primeminister: enter it in google... they will handle it :) |
# |
Aug 7th 2008, 10:40 |
stevieboy |
_psychic_: yes i do |
# |
Aug 7th 2008, 10:40 |
primeminister |
) ok |
# |
Aug 7th 2008, 10:40 |
_psychic_ |
primeminister: make sure it's not already logged though |
# |
Aug 7th 2008, 10:40 |
primeminister |
_psychic_: alright. will do |
# |
Aug 7th 2008, 10:40 |
_psychic_ |
primeminister: yeah |
# |
Aug 7th 2008, 10:40 |
_psychic_ |
stevieboy: got a model for the table you want to save the data in? |
# |
Aug 7th 2008, 10:40 |
primeminister |
yeah? make a ticket even it is a dev branche? |
# |
Aug 7th 2008, 10:39 |
_psychic_ |
trac.cakephp.org |
# |
Aug 7th 2008, 10:39 |
primeminister |
just throw them on irc? |
# |
Aug 7th 2008, 10:39 |
primeminister |
how was it again when you have seen bugs/glitches in the repo version of cake 1.2? |
# |
Aug 7th 2008, 10:39 |
stevieboy |
i just need to save a string or sth in the db with the numbers in the correct order |
# |
Aug 7th 2008, 10:39 |
_psychic_ |
save where? |
# |
Aug 7th 2008, 10:38 |
stevieboy |
question: i want to save a sequence of id's to remember the sorting later on. how can i do this with cakemagic? :) |
# |
Aug 7th 2008, 10:37 |
zeen |
unusual syntax |
# |
Aug 7th 2008, 10:36 |
jonathan_ |
yeah |
# |
Aug 7th 2008, 10:36 |
zeen |
ah that's how facebook does it |
# |
Aug 7th 2008, 10:36 |
adj |
facebook chat is slick. all erlang, no? |
# |
Aug 7th 2008, 10:36 |
jonathan_ |
ala facebook chat |
# |
Aug 7th 2008, 10:36 |
jonathan_ |
or iframe and a lightweight comet server |
# |
Aug 7th 2008, 10:36 |
adj |
i have no idea how rails-centric it is |
# |
Aug 7th 2008, 10:35 |
zeen |
ah that sounds perfect |
# |
Aug 7th 2008, 10:35 |
adj |
it embedded a tiny flash object that opened a socket to a server process that would then push data to the clients |
# |
Aug 7th 2008, 10:35 |
zeen |
will check it out abj |
# |
Aug 7th 2008, 10:35 |
zeen |
i know it's a hack job which ever way.. just wondering if anyone knew the best hack job |
# |
Aug 7th 2008, 10:35 |
zeen |
ya |
# |
Aug 7th 2008, 10:35 |
adj |
zeen: rails had a project called juggernaut to do that, but i don't think it was very well recieved |
# |
Aug 7th 2008, 10:35 |
jonathan_ |
@zeen , like instead of manually polling? |
# |
Aug 7th 2008, 10:34 |
zeen |
anyone know of a way/hack to push data to browser? |
# |
Aug 7th 2008, 10:34 |
seghezzi |
i'll give it a look then, thanks :D |
# |
Aug 7th 2008, 10:34 |
jonathan_ |
search freshmeat for a project, i saw one a while back |
# |
Aug 7th 2008, 10:34 |
seghezzi |
ic |
# |
Aug 7th 2008, 10:33 |
jonathan_ |
visio is, omnigraffle kinda sorta |