# |
Aug 7th 2008, 10:45 |
_psychic_ |
stevieboy: np just trying to narrow the scope so I can help |
# |
Aug 7th 2008, 10:44 |
_psychic_ |
chris12349: use this technique http://bakery.cakephp.org/articles/view/creating-reusable-elements-with-requestaction |
# |
Aug 7th 2008, 10:44 |
stevieboy |
sorry for bugging you |
# |
Aug 7th 2008, 10:44 |
chris12349 |
_psychic_: correct |
# |
Aug 7th 2008, 10:44 |
stevieboy |
_psychic_: i guess i just dont know my problem yet... i'll start and get back if I have a more explicit problem |
# |
Aug 7th 2008, 10:44 |
_psychic_ |
you can use it anywhere in your app |
# |
Aug 7th 2008, 10:44 |
_psychic_ |
chris12349: are you using an element to display the menu? |
# |
Aug 7th 2008, 10:43 |
chris12349 |
_psychic_: well I put it there because it will only work in /menu/* |
# |
Aug 7th 2008, 10:43 |
_psychic_ |
chris12349: probably don't need it in app controller |
# |
Aug 7th 2008, 10:43 |
_psychic_ |
stevieboy: what part of that do you need help with? |
# |
Aug 7th 2008, 10:43 |
chris12349 |
_psychic_: It's a horizontal drop down so it uses findallthreaded to build it |
# |
Aug 7th 2008, 10:42 |
stevieboy |
_psychic_: yes, i know that. my prob is that I want the user to arrange items at will (javascript) and want to store the sequence for later reloading |
# |
Aug 7th 2008, 10:42 |
primeminister |
TommyO: bake |
# |
Aug 7th 2008, 10:42 |
TommyO |
primeminister: what's the bug related to? |
# |
Aug 7th 2008, 10:42 |
_psychic_ |
what's in the menu? |
# |
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? |