g the function like
this? What would be the 'Cake way' of dealing with timezones?
Thank you!
_Z
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cak
}
> }
> $this->set(
> 'foods',
> $this->Food->find('list', array(...))
> );
>
> }
>
> This way, the only time you're not fetching the options is when you've
> redirected after a successf
Hello Cake Community!
I was wondering if there is a standard approach to maintaining drop
down menus within a view when the submitted data does not pass
validation (in the model.)
For example, I have a dropdown menu of foods and other fields within a
view.
When submitted, the data does not pass
Hello,
Using $this->here within my $form->create(..) brings me to action="/
path/to/cake/path/to/cake/action/id" while my installation is in "/
path/to/cake".
This then causes the action to fail, as an extra 'path/to/cake' is
added. (This is a generalized example.)
Anyone else having this tro
p getting a textbox :(
Thank you all very much for your help!
_Zach
On Dec 13, 8:58 am, Alexandru Ciobanu wrote:
> _Z wrote:
> > I validated with pr($store_tables); That I am indeed getting back a
> > list of tables.
>
> > However the echo $form->input('store_table
need to check?
There is a field called 'name' in the store_tables DB table.
Thank you!
On Dec 12, 2:46 pm, Alexandru Ciobanu wrote:
> _Z wrote:
> > Hello,
>
> > I am expecting a dropdown box in my /add action, but only a textbox is
> > produced.
>
> In
able model is working as expected..?
>
> On Dec 12, 6:17 pm, _Z wrote:
>
> > Hello,
>
> > I am expecting a dropdown box in my /add action, but only a textbox is
> > produced.
> > Another field is associated and configured the same way, and I get a
> > d
Hello,
I am expecting a dropdown box in my /add action, but only a textbox is
produced.
Another field is associated and configured the same way, and I get a
dropdown box.
Details:
The association is setup so that 'store_table' belongsTo 'Waitlist'.
In the /add.ctp ,
echo $form->i
Hello,
I am attempting to retrieve the value of the group_id attribute in the
User table.
I can see the value for User object within the debug output, and
confirm that this value exists from the database.
Other values, such as email, name can be retrieved just fine with
$this->Auth->User->('ema
Hi Rafael,
I have this set as:
$this->Auth->loginRedirect = array('controller' => 'users',
'action' => 'index');
and the problem still persists without deleting that key. :s
Thanks for the input!
On Nov 27, 12:45 pm, Rafael Bandeira aka rafaelbandeira3
<[EMAIL PROTECTED]> wrote:
> > De
as well. I would just use
> $this->redirect('/users/login'); Of course it is always better to use array
>
> urls.
>
> -Mark
>
> On Nov 24, 4:34 pm, _Z <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I am redirecting a user to a login page after t
ion->del('Auth.redirect');
to kill the redirect from Auth and just go back to the login screen to
logon with registered credentials.
Thanks for your help
On Nov 24, 9:45 pm, "David C. Zentgraf" <[EMAIL PROTECTED]> wrote:
> On 25 Nov 2008, at 06:34, _Z wrote:
>
> > Howe
Hello,
I am redirecting a user to a login page after they register for an
account. A message is displayed to login with their new credentials.
However when the form is submitted to login, they are instead
redirected back to the register view.
It would appear that code after the redirect() call i
13 matches
Mail list logo