# |
Aug 7th 2008, 15:13 |
teknoid |
mitnavn: autoRender = false; |
# |
Aug 7th 2008, 15:12 |
mitnavn |
teknoid: well, as in my login form is in an element I include in my layout. So I don't need the view for the function, however when I press submit button it errors because of the missing login.ctp |
# |
Aug 7th 2008, 15:12 |
teknoid |
? |
# |
Aug 7th 2008, 15:12 |
teknoid |
zmonteca: view is fine, what about your action/controller? anything in beforeFilter() / beforeRender() |
# |
Aug 7th 2008, 15:11 |
zmonteca |
teknoid: you see anything obvious? |
# |
Aug 7th 2008, 15:11 |
teknoid |
mitnavn: why are you calling it from a view? |
# |
Aug 7th 2008, 15:11 |
mitnavn |
I have a login function I call from another view, can I make that function work without a view for itself? |
# |
Aug 7th 2008, 15:09 |
teknoid |
mesarpe2: have you done the blog tutorial? |
# |
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. |