he site loads). This is really
annoying :(
Security.level is set to "high", but it also happens at "low". I'm not
using any ACL stuff.
Maybe someone has any tip?
Marcel
--~--~-~--~~~---~--~~
You received this message because you are
I'm also having this sometimes and I couldn't figure it out.
Are you using Auth Component and or Security Component?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email
Mateo San Román wrote:
> Thank you for you quick answer.
> Any way to do that operation in a standard way?
Depending on what you like to do put the SQL in a model. I think/hope
that cake does not make new connections for each model method call ;)
--~--~-~--~~~---~--
Steve wrote:
> Well, when I activate this line in core.php:
>
> Configure::write('Cache.disable', true);
>
> Everything works like expected..
>
> But then you have no caching at all...
See: https://trac.cakephp.org/ticket/6034
--~--~-~--~~~---~--~~
You receive
Looks like that this is also not working within nocache, like the
FormHelper... :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To u
ur data, which will convert any html tags to their
> entities so they will no longer be interpreted by the browser as html.
>
> Cheers,
> Adam
Thanks!
Should this also be used while saving data? Or only in the views?
Marcel
--~--~-~--~~~---~--~
's saved as it is. So the alert box is shown when e.g.
I just do a findAll() and print it out on a table.
Is there an easy way to solve this issue? Do I have to handle this in
beforeSave? Or can it be done in $validate?
Marcel
--~--~-~--~~~---~--~~
You receive
Hi,
When I disable Cookies I get a white page after logging into my website
(using Auth Component).
Is there a way view an error page instead of just a white page?
Marcel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
ntroller gets the user info by:
> $this->set('users', $this->paginate());
>
> Thanks,
>
> Dave
Why HABTM?
Shouldn't it be sth like: User hasOne State, State belongsTo User? It
should be enough to just have a state_id at your user table.
Marcel
--~--~--
relations and stuff.
bally.z...@gmail.com wrote:
> Log in? What does "become a User" mean?
>
> Is Admin extended from User? If not, you can always make
> AdminsController::uses = array('Admin', 'User') and you can do all the
> CRUD you want.
>
> O
Hi,
I've got a basic Authentication with the Auth-Component. The Auth Model
is called 'user'.
I'd like to implement an admin-area where an admin can become an user.
How can this easily be done?
Cheers
Marcel
--~--~-~--~~~---~--~~
You r
;redirect("http://someurl";);
at http://someurl there then should be set $_POST['foo']
Marcel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group,
Hi,
I need to send post variables to a website but I'd like to to this
without a form the user sees.
The user should just click on a link and I'll do the redirect and like
to pass through the POST information.
Is this somehow possible?
Chee
re than a small file explorer and
tabs? ;) ).
cheers
Marcel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this
Hello
The problem is that a model has some fields that the user may never
edit. I don't show them in the /edit view so they don't get posted (by
default). But manualy adding some of those private fields will result
in illegal save. I've noticed the secure method in the api of the
FormHelper to ge
Hello!
I have a model named Menu which surprisingly stores menuitems for my
websites (using tree behavior). There are also models voor Users and
Groups. The menu creates the Aco's and the User and Group models
create the corresponding Aro's.
What I want is to get all menuitems that a user has ac
t;Aco"]["parent_id"] = $otherAco["Aco"]["id"];
$this->Menu->Aco->save($thisAco);
On 28 mrt, 12:21, Marcel <[EMAIL PROTECTED]> wrote:
> Helllo!
>
> I can't get setParent on an aco to work using the console:
>
> Menu:
> id | t
Helllo!
I can't get setParent on an aco to work using the console:
Menu:
id | title
1 | websites
2 |mysite.nl
3 | admin
5 | news
4 | www
Aco:
id | parent_id | model | foreign_key
17 | null | Menu | 2
18 | 17 | Menu | 3
19 | 17 | Menu |
le to specify the access rights on a file system
> basis. I use it my self and it is very useful =D
>
> On Mar 25, 10:58 am, Marcel <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I was wondering what the best way would be for hiding the code in /
> > app?
> &
Hello,
I was wondering what the best way would be for hiding the code in /
app?
The situation: My company makes websites with a CMS behind it. Now
customers often ask if they could get access to the FTP account so
they can add other folders there so they are availble for there
customers online.
Have a look at this, it did help me to get rid of all the almost-
simular controller files:
http://groups.google.com/group/cake-php/browse_thread/thread/7638b690ae0545ff
On 10 mrt, 15:57, sleepy1038 <[EMAIL PROTECTED]> wrote:
> I think I may try implementing some logic in AppController. I will l
;id = $id;
> if ($this->{$this->modelClass}->save($this->data)) {
> // blablabla as normal
> }
> }
> else {
> $this->data = $this->{$this->modelClass}->findById($id);
> }
> }
>
> }
>
> So calling /ne
Hello
Is there a way to create a generic crud controller shared by some
models? But there's a catch: I don't know before hand what the models
will be.
What I would like to have is something like this:
/news => dispatch to generic_controller.php
/news/edit/1 => dispatch to generic_controller.php
; > Model<->View connection, even so it looks like that. As you can see by
> > > the URL (first param) it calls the "news"controllerand the "view"
> > > action - not any specific model
>
> > > HTH
>
> > > On Mon, Mar 3, 2
Hi!
I've been doing some research about MVC implementations in different
frameworks. Now in allmost every book I have on my desk it says
something like 'the view in turn, asks the model for some data to
display it'. In cake I have noticed (if I'm correct) the controller is
asking data from the mo
25 matches
Mail list logo