# |
Aug 9th 2008, 11:53 |
TheBig |
ilove_php, just write $form->input('field', array('label' => false)); |
# |
Aug 9th 2008, 11:52 |
AD7six |
password is a building block method input and inputs as the wrappers for everything. |
# |
Aug 9th 2008, 11:52 |
AD7six |
ilove_php: yes. and not surprising. |
# |
Aug 9th 2008, 11:52 |
ilove_php |
@AD7six - is there a way for $form->input so that it won't print a label for my username? noticed that a label only shows on $form->input, but not on other form methods |
# |
Aug 9th 2008, 11:51 |
ilove_php |
i looked at it a while ago and it prints out a label for my usrename |
# |
Aug 9th 2008, 11:50 |
AD7six |
ilove_php: have you looked at yuor html source |
# |
Aug 9th 2008, 11:50 |
linked_ |
now, in my controller, i need to have a list of instructors. so i'll do a $this->Schedule->Instructor->find('list', array('fields' => 'id', 'Instructor.first_name'); |
# |
Aug 9th 2008, 11:49 |
lhy |
AD7six http://bin.cakephp.org/view/1952953037 |
# |
Aug 9th 2008, 11:49 |
AD7six |
linked_: use Teacher in your find - on what model? |
# |
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 |