# |
Aug 9th 2008, 11:43 |
linked_ |
whenever i use Teacher in my find, do i still need to add a condition (id=3)? |
# |
Aug 9th 2008, 11:43 |
freebox |
AD7six: you are not in a good day, i guess |
# |
Aug 9th 2008, 11:42 |
linked_ |
if i defined a relationship as Teachers, using Users model, with condition of id=3 |
# |
Aug 9th 2008, 11:42 |
AD7six |
freebox then you are beyond help ;) |
# |
Aug 9th 2008, 11:41 |
linked_ |
hi.. |
# |
Aug 9th 2008, 11:41 |
freebox |
thank you again |
# |
Aug 9th 2008, 11:41 |
freebox |
AD7six: no, i dont need |
# |
Aug 9th 2008, 11:40 |
lhy |
AD7six I have tried this on my webhost also on my mac (xampp)... both the same |
# |
Aug 9th 2008, 11:40 |
AD7six |
freebox read the paragraph "often" http://www.catb.org/~esr/faqs/smart-questions.html#rtfm |
# |
Aug 9th 2008, 11:37 |
lhy |
AD7six http://bin.cakephp.org/view/2070317524 |
# |
Aug 9th 2008, 11:35 |
freebox |
thanks |
# |
Aug 9th 2008, 11:35 |
freebox |
i'll still googling for it if is too hard to you explain me |
# |
Aug 9th 2008, 11:35 |
AD7six |
freebox look again |
# |
Aug 9th 2008, 11:34 |
freebox |
but, ok |
# |
Aug 9th 2008, 11:34 |
freebox |
but, what i cant understand is how to paginate "piadas" in category controller |
# |
Aug 9th 2008, 11:34 |
AD7six |
lhy: show |
# |
Aug 9th 2008, 11:34 |
freebox |
i've looked in the manual |
# |
Aug 9th 2008, 11:34 |
lhy |
AD7six use this or not... I have try to write something to the session but not working at all.... for example in the index action I write something to session than print it out is not possible |
# |
Aug 9th 2008, 11:33 |
AD7six |
lhy: you'd be better off using somjething not written over a year ago |
# |
Aug 9th 2008, 11:32 |
AD7six |
freebox which implies you haven't looked anywhere - try the pagination chapter in the book for a start. |
# |
Aug 9th 2008, 11:31 |
AD7six |
freebox I didn't ask you what you know |
# |
Aug 9th 2008, 11:31 |
lhy |
AD7six http://bakery.cakephp.org/articles/view/simple-form-authentication-in-1-2-x-x |
# |
Aug 9th 2008, 11:31 |
freebox |
all i know about paginate is this: $this->set('piadas', $this->paginate()); |
# |
Aug 9th 2008, 11:30 |
AD7six |
freebox where have you alrady looked. |
# |
Aug 9th 2008, 11:30 |
kalileo |
well, one single space does usually |
# |
Aug 9th 2008, 11:30 |
freebox |
AD7six: i don't know :( |
# |
Aug 9th 2008, 11:30 |
AD7six |
freebox so: do so? |
# |
Aug 9th 2008, 11:29 |
AD7six |
ilove_php: whitespace doesn't affect html |
# |
Aug 9th 2008, 11:29 |
ilove_php |
of course i can do it using form tags on html but i want to fully utilize cakephp's formhelpers |
# |
Aug 9th 2008, 11:28 |
lhy |
AD7six nope.. I use the tutorial at the bakery |
# |
Aug 9th 2008, 11:28 |
ilove_php |
i have other inputboxes (such as passwords and stuffs) and i want those boxes to be aligned |
# |
Aug 9th 2008, 11:28 |
freebox |
all i want to do is paginate that "related piadas" |
# |
Aug 9th 2008, 11:28 |
AD7six |
lhy: are yo uusing the auth component |
# |
Aug 9th 2008, 11:28 |
freebox |
AD7six: Look: http://bin.cakephp.org/view/135667706 |
# |
Aug 9th 2008, 11:28 |
AD7six |
ilove_php: why do you care a bout whitespace |
# |
Aug 9th 2008, 11:27 |
lhy |
after it checks the result... it will write the user id to the session |
# |
Aug 9th 2008, 11:27 |
AD7six |
that doesn't answer my question lhy |
# |
Aug 9th 2008, 11:27 |
ilove_php |
@AD7six - when i use $form->input theres always a "blank" space before the inputbox, can't find a way to remove that |
# |
Aug 9th 2008, 11:27 |
lhy |
the sql query returns 1 row so I assume it is ok. |
# |
Aug 9th 2008, 11:27 |
AD7six |
lhy: are you able to login at all |
# |
Aug 9th 2008, 11:26 |
lhy |
nothing is writen to the session |