# |
Aug 7th 2008, 15:05 |
mesarpe2 |
i wanna know a fast way to create the form and receive the data |
# |
Aug 7th 2008, 15:05 |
mesarpe2 |
I have two titles: one in spanish and another in english |
# |
Aug 7th 2008, 15:05 |
mesarpe2 |
loading I mean... filling the data |
# |
Aug 7th 2008, 15:04 |
teknoid |
mesarpe2: loading process? |
# |
Aug 7th 2008, 15:03 |
zeen |
but you'd have to wait a year or so for it to defrost to drink it |
# |
Aug 7th 2008, 15:03 |
mesarpe2 |
i have a php site and i want to migrate it to cakephp... I have a db table with an id, and the table-lang contains the id, the language and the text translated... I have made it with a hasmany relation ship, but I wanna know if there s a way to automatize the forms and the loading process... ideas? |
# |
Aug 7th 2008, 15:02 |
TommyO |
zeen: you know how quickly you could chill a beer with a chamber at 1.9Kelvin? |
# |
Aug 7th 2008, 15:02 |
zeen |
ohhh they're called slugs! |
# |
Aug 7th 2008, 15:02 |
Eddie_CRO |
) |
# |
Aug 7th 2008, 15:02 |
Eddie_CRO |
ha? |
# |
Aug 7th 2008, 15:01 |
TommyO |
Eddie_CRO: slug cacheing is rather simple. I believe wikipedia uses memcached |
# |
Aug 7th 2008, 15:01 |
zmonteca |
teknoid: nope, i was wrong - http://bin.cakephp.org/view/215683496 |
# |
Aug 7th 2008, 15:00 |
zmonteca |
teknoid: i think you just tipped me off, i don't think the end form tag is getting displayed...two seconds. |
# |
Aug 7th 2008, 14:59 |
teknoid |
zmonteca: paste your view/action |
# |
Aug 7th 2008, 14:59 |
lqdice__ |
TommyO: well it only really gets 1 level at a time |
# |
Aug 7th 2008, 14:59 |
Eddie_CRO |
question for everyone, not strictly related to cakePHP: what do you think, how wikipedia (for example) did their thing with links that are like: http://en.wikipedia.org/wiki/German_Shepherd ? do they really search the database by article name everytime? or there is some trick? |
# |
Aug 7th 2008, 14:59 |
zmonteca |
teknoid: to itself. |
# |
Aug 7th 2008, 14:59 |
zeen |
http://en.wikipedia.org/wiki/Large_Hadron_Collider |
# |
Aug 7th 2008, 14:58 |
TommyO |
lqdice__: but it sounds like a good project :) |
# |
Aug 7th 2008, 14:58 |
TommyO |
lqdice__: eh... paginate a tree? where would you make the page breaks? |
# |
Aug 7th 2008, 14:58 |
teknoid |
zmonteca: where is the form submitted? |
# |
Aug 7th 2008, 14:58 |
zmonteca |
teknoid: it's a page with a form and the page generates fine. but when the form is submitted it gives you the output you saw and that's it. It doesn't even reproduce the form. |
# |
Aug 7th 2008, 14:57 |
lqdice__ |
TommyO: i wonder if it would be a pain to paginate the results too ;) |
# |
Aug 7th 2008, 14:57 |
zmonteca |
teknoid: well i mean the code not the definition |
# |
Aug 7th 2008, 14:57 |
teknoid |
zmonteca: so then what's the problem? |
# |
Aug 7th 2008, 14:57 |
anthony |
what's LHC? |
# |
Aug 7th 2008, 14:57 |
zmonteca |
teknoid: i'm literally doing nothing in the method - it's all commented out. |
# |
Aug 7th 2008, 14:56 |
Raphael__ |
any idea ? |
# |
Aug 7th 2008, 14:56 |
zeen |
LHC is being turned on soon |
# |
Aug 7th 2008, 14:56 |
zeen |
the future?!?!?! |
# |
Aug 7th 2008, 14:55 |
TommyO |
ACTION can see the future, and it's grim |
# |
Aug 7th 2008, 14:55 |
Eddie_CRO |
) |
# |
Aug 7th 2008, 14:55 |
Eddie_CRO |
you have a beer. |
# |
Aug 7th 2008, 14:55 |
Eddie_CRO |
thanks for your help |
# |
Aug 7th 2008, 14:55 |
Eddie_CRO |
) |
# |
Aug 7th 2008, 14:55 |
Eddie_CRO |
i put now utf8 instead of utf-8 and it works |
# |
Aug 7th 2008, 14:54 |
ADmad |
Eddie_CRO: i am not able to see the future... so its unlikely i gave u the answer even b4 i saw ur question.. |
# |
Aug 7th 2008, 14:54 |
Eddie_CRO |
soooooory |
# |
Aug 7th 2008, 14:54 |
Eddie_CRO |
working now. |
# |
Aug 7th 2008, 14:54 |
Eddie_CRO |
aaaaaaaaaa |
# |
Aug 7th 2008, 14:54 |
teknoid |
zmonteca: is your validation failing? do you have beforeSave() in your model, that's not returning true? |