I've not understood. If I do that, how can i show the file's content
inside browser like youtube or amazon?
On 18 jun, 04:22, Kyo wrote:
> If you set everything up with CakePHP correctly, all you need to do is
> place the files into your "webroot" folder (I think the app/webroot/
> files folder
Hi,
i have an repository of archives and i don't want that people have to
download them to see the archives's content. How can i show in my
browser pdfs, docs, txts, etc. Is there a way in cakephp to do this?
--~--~-~--~~~---~--~~
You received this message because
If you want a 1-n relantionship, use $belongaTo, and not $hasOne, like
you've done. But, i dont think that will correct your problem. Could
you put the error's message, please?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
In your model EventAdmin is there any relationship with some model
matched with test_event_admins's table?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php
If you use AuthComponent, you can get id from $this->Auth->user('id")
as said above, but functions like edit, view or delete, they receive
$id from URL. Make a simple application from bake and look at the URL
after click in edit. You'll see something like this: http://address/
{controllerName} / e
Try to use this: $this->Auth->allowedActions = array('login','logout',
'register').
--~--~-~--~~~---~--~~
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 un
I'm sorry, I wrote wrong.
The correct is $this->Auth->allowedActions = array('*'); In your case,
$this->Auth->allowedActions = array('show');
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to
Hi,
i've used ACL im my project and i have learned how to use that based
on link given by Delberto above. It works. You probably made something
wrong. Are you sure you deleted, in beforeFilter, the line $this->Auth-
>allowedActions = array('*')?
--~--~-~--~~~---~--~--
If I were you, I would use $this->Auth->allowedActions(' * ') instead
of $this->Auth->allow. It works
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@goog
Hi,
You have to use belongsTo and hasMany for 1-n relationship, and not
hasOne and hasMany. In your PropertiesModel, put $belongsTo =
'Seller", and, inside SellerModel, put hasMany = 'Property'.
--~--~-~--~~~---~--~~
You received this message because you are subscr
I created schemas in postgreSql, and using cakephp, i created two
different database configs, each one referenced one schema on
postgres. I have three tables called users, profiles and
profiles_users. The first table is on 'public' schema, in postgres,
and the others are in 'portal' schema. When i
Hello,
the command is correct and, in this example, don't type it, because it
is int the function buildAcl(), on second line. This example just
shows you how to add acos, using that command, but the hard work of
add all controllers is done by buildAcl.
--~--~-~--~~~---
12 matches
Mail list logo