Hi Fred,
To get the id of a specific group you should use
$data = $group->find ('first', array ('conditions' => array ('name' =>
'admins')));
$id = $data['Group']['id'];
bye
me.
On Jan 6, 11:34 pm, Fred wrote:
> I am new to Cake and have read the Cookbook, tutorials, searched here,
> etc. and
kesite
> > |
> > __other website
>
> > Anja
>
> > -Ursprüngliche Nachricht-
> > Von: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] Im
> > Auftrag von eMarcus
> > Gesendet: Montag, 5. Januar 2009 12:00
> > An: CakePHP
>
Hi,
On my cakephp testenvironment, I would like to exclude a specific
directory from any cakephp rerouting. That directory holds an
independent website.
However, when I try to access a page in that directory, cakephp tries
to load a controller that is called like the directory - which
obviously
y you can add line 129 of \cake\libs
> \model\db_acl.php that line to solve your pb
> $db->query('SET SQL_BIG_SELECTS=1');
> i'm looking for a correct way of doing it !
>
> On Dec 23, 3:20 pm,eMarcus wrote:
>
> > Hi,
>
> > As my database hoster see
y you can add line 129 of \cake\libs
> \model\db_acl.php that line to solve your pb
> $db->query('SET SQL_BIG_SELECTS=1');
> i'm looking for a correct way of doing it !
>
> On Dec 23, 3:20 pm,eMarcus wrote:
>
> > Hi,
>
> > As my database hoster see
Hi,
The other problem with the setlocale is, that you must set it in
bootstrap. I would prefer a possibility to set it somewhere at runtime
- when a user switches languages for instance...
bye
me.
On Dec 23, 4:40 pm, GetIT wrote:
> Hi,
>
> I´ve seen many people with the same problem.
> setloca
Hi Mona,
Well, it would help if you could specify the error a bit more. The
form need to be called 'app/views/users/add.ctp'.
I don't know if you can make "echo $form->inputs(array('name',
'email', 'password'));"
I would rather do:
echo $form->input('User.name');
echo $form->input('User.pas
Hi,
As my database hoster seems to have set the limit for no of joins
relativly low, I need to set the SQL system variable SQL_BIG_SELECTS
to on. Otherwise, CakePHP does not work here (especially
authentication/ACL check does not work).
Where is the best place to set SQL systems variables in Cak
t it is generally not necessary to
> > use the ACL Component to protect items at a record level.
>
> > Usually just using an author_id field will be enough.
>
> > -Aran
>
> > On Nov 20, 6:18 am, mark_story <[EMAIL PROTECTED]> wrote:
>
> > > On Nov 20,
cess control and assign permissions with those.
>
> Sorry if I ranted a bit there, but I'm tired of people belly aching
> that controller/action/id doesn't work when it is obviously the
> totally wrong solution for the problem. And anyone who thinks it is a
> great idea sho
an on also using Auth
>
> Anja
>
> -Ursprüngliche Nachricht-
> Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von
> eMarcus
> Gesendet: Mittwoch, 19. November 2008 15:55
> An: CakePHP
> Betreff: General ACL Question
>
> Hi,
>
>
Hi,
I want to use the ACL component to control access of users to model
data.
I built up AROs, ACOs and permissions so far.
1.) does the ACL component automatically check if a user has an UPDATE
right on save operations?
2.) if not, where would be the best place to perform that check? (in a
cal
Hi,
Alltough I read the cookbook forth and back, I am still not sure what
goes wrong with my ACL:
I took the ACL example of the cookbook (Version 1.2) and extended it
in the following way:
I added a /models node to my ACO database
I set var $actsAs = array ('Acl' => array ('type' => 'controlled
13 matches
Mail list logo