# |
Oct 22nd 2009, 18:55 |
cakenoob |
echo $form->input('Project.completed'); |
# |
Oct 22nd 2009, 18:55 |
cakenoob |
echo $form->input('Project.due_date',array('type'=>'text', 'class'=>'dateInput')); |
# |
Oct 22nd 2009, 18:55 |
cakenoob |
echo $form->input('Project.desc'); |
# |
Oct 22nd 2009, 18:55 |
cakenoob |
echo $form->input('Project.projectName'); |
# |
Oct 22nd 2009, 18:55 |
cakenoob |
echo $form->input('Project.id'); |
# |
Oct 22nd 2009, 18:55 |
cakenoob |
<?php |
# |
Oct 22nd 2009, 18:54 |
cakenoob |
my guess is that my form isn't setup right... |
# |
Oct 22nd 2009, 18:54 |
joeb |
Well, paste the code you're using and we'll check it out; |
# |
Oct 22nd 2009, 18:54 |
cakenoob |
I tried the saveAll() method, but I think I'm not quite doing it right |
# |
Oct 22nd 2009, 18:53 |
cakenoob |
I have - but it seemed to only reference a one to many relationship, not many to many |
# |
Oct 22nd 2009, 18:53 |
cakenoob |
the Project model saves correctly...just not the projects_users |
# |
Oct 22nd 2009, 18:53 |
joeb |
cakenoob: Have you read the book? |
# |
Oct 22nd 2009, 18:53 |
cakenoob |
how do I go about getting it to save that table as it doesn't have a direct model associated with it? |
# |
Oct 22nd 2009, 18:52 |
cakenoob |
I have a form that needs to save data to the table that stores the relationship information between the 2 models (projects_users) |
# |
Oct 22nd 2009, 18:52 |
Doncode |
like newyork(30) |
# |
Oct 22nd 2009, 18:51 |
cakenoob |
sweet - well I have to models that have habtm relationships with eachother (Project and User) |
# |
Oct 22nd 2009, 18:51 |
Doncode |
I want to get hotel count near the city name but could able to put the logic |
# |
Oct 22nd 2009, 18:51 |
joeb |
cakenoob: Don't ask if anyone can help, just ask. |
# |
Oct 22nd 2009, 18:51 |
Doncode |
with requestaction - I am getting showing all the cities with function allcity and pasting them with a li list |
# |
Oct 22nd 2009, 18:50 |
cakenoob |
anyone able to help? |
# |
Oct 22nd 2009, 18:50 |
Doncode |
I am new to cake. I have hotel and city models and their controllers. |
# |
Oct 22nd 2009, 18:50 |
cakenoob |
hey all - got a quick question... |
# |
Oct 22nd 2009, 18:49 |
Doncode |
hi bartek |
# |
Oct 22nd 2009, 18:44 |
Bartek120 |
Doncode: hi |
# |
Oct 22nd 2009, 18:40 |
Doncode |
is anybody here? |
# |
Oct 22nd 2009, 18:40 |
Doncode |
I need some help about cake. |
# |
Oct 22nd 2009, 18:40 |
Doncode |
hello every one |
# |
Oct 22nd 2009, 18:26 |
Predominant |
alkemann: You there? |
# |
Oct 22nd 2009, 18:18 |
Patrick_TT |
or is there more to it than that? |
# |
Oct 22nd 2009, 18:18 |
Patrick_TT |
is it just the database setting that needs changing? |
# |
Oct 22nd 2009, 18:18 |
Patrick_TT |
hey i have developed a website using cakephp and mysql.. but the host only has ms sql |
# |
Oct 22nd 2009, 18:08 |
dieselz |
even though the site im looking at is french. |
# |
Oct 22nd 2009, 18:08 |
dieselz |
its always en-us |
# |
Oct 22nd 2009, 18:08 |
dieselz |
lang comes out to be the wrong value.... |
# |
Oct 22nd 2009, 18:08 |
dieselz |
sorry, should have binned it |
# |
Oct 22nd 2009, 18:07 |
dieselz |
is wrong. |
# |
Oct 22nd 2009, 18:07 |
dieselz |
$lang = $I18n->l10n->locale; |
# |
Oct 22nd 2009, 18:07 |
dieselz |
$I18n->l10n->get(Configure::read('Config.language')); |
# |
Oct 22nd 2009, 18:07 |
dieselz |
$I18n =and I18n::getInstance(); |
# |
Oct 22nd 2009, 18:07 |
jessica-m |
i have a HABTM relationship, but it isnt deleting the rows in the db before it inserts, what would cause that? |
# |
Oct 22nd 2009, 17:54 |
meenie |
Guess it's not heh |