# |
Aug 9th 2008, 11:48 |
lhy |
AD7six ok... seems that if I write something to the session object in index I can read it in the view. but once I set the write something in other action and redirect it index the value in session will be lost |
# |
Aug 9th 2008, 11:48 |
ilove_php |
@AD7six http://pastebin.com/m2aaaaeba here you go |
# |
Aug 9th 2008, 11:48 |
linked_ |
AD7six: ok, in my Schedules model I have this relationship http://pastebin.com/m36578333 |
# |
Aug 9th 2008, 11:48 |
ilove_php |
wait.. pasting to psatebin |
# |
Aug 9th 2008, 11:46 |
AD7six |
linked_: explain or show what you mean |
# |
Aug 9th 2008, 11:45 |
AD7six |
ilove_php: show something |
# |
Aug 9th 2008, 11:45 |
AD7six |
$this->Session is an object |
# |
Aug 9th 2008, 11:45 |
ilove_php |
@AD7six - is there anyway that i can get rid of that space? :) |
# |
Aug 9th 2008, 11:45 |
AD7six |
lhy: what is your paste suposed to show? |
# |
Aug 9th 2008, 11:44 |
lhy |
does $this->redirect have effect on the stuff you write to the session? |
# |
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 |