I just notice that a action which has a compound name (like preparePdf
- prepare_pdf) fails authentication.
I mean if I´m not authenticated and call an action I`m redirected to
the authentication page.
But if I call an action with a compound name it works without
authentication.
Sorry, I´m not
For my application I need a ACL with habtm.
In my book Webentwicklung mit CakePHP there´s only an example with a
hasMany relation.
I can't find anything I the web belonging to ACL and habtm (with the
ACL of cakePHP and no custom solutions).
For testing purposes I only have a simple aco tree:
Hi,
I´m having a problem to set the values of a date-field.
A little example:
The table users:
id, int(11), auto_increment, primary key
today, date
I know that this example doesn´t make sense, but it´s only a example.
My Controller:
...
$this-set('user', $this-user-read(null, $id)
...
And
I want checkboxes displaying all users in my database.
For example:
In my app some users can add new documents and they can choose which
users have the right to see the docs.
So in my fileupload form I want to add checkboxes showing all users.
But this doesn´t work.
In the documentation of
Thanks Paco!
This would help, but unfortunately I use another javascript-library
which won´t work together with prototype.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send
Hello,
I want to validate dynamic fields.
Normally validation is done by defining rules for a table field.
For example:
var $validate = array('Fieldname' = some rules)
But I have defined my fields in this table:
Table: fields
id:int(6)
tab_id:int(4)
attribute:varchar(60)
type:varchar(10)
First of all I want to say that I´m not english.
So please forgive me for my bad english and please use easy to
understand english in your answers.
Thank you!!
I write a programm for doctors.
I´ve got a table called 'clients' which looks like
id:int(11):primary key
salutation_id:tinyint(3)
Yoe´ve been right.
That works.
Thank you very much.
On 28 Feb., 14:06, Gonzalo Servat gser...@gmail.com wrote:
On Sat, Feb 28, 2009 at 10:49 AM, GetIT david.bruen...@t-online.de wrote:
[..snip..]
But if I save the data only the thing belonging to the client are
saved. The data from
Hi,
I want to build a navigation out of all available Controllers/Actions.
Is there a way to get a list of all Controllers/Actions with the help
of cakephp or php?
How?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I use this as a dev/fallback
menu:http://trac.assembla.com/mi/browser/branches/base/views/elements/admi...
Thanks a lot.
Configure::listObjects() is exactly what I was looking for.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hi,
I want to create an adress book.
The names should be displayed with a pagination but not in the
normal. Not x entries on one page, but all names beginnining with an
A on one side, all with B on one side and so on.
Has anyone expiriences or with that or an idea how to solve that?
Hi,
I´m having big trouble with a session.
I´m calling the same action two, ore more times without doing anything
other (calling another action or so).
This is my action
[code]
function admin_index($id = null) {
$notepad = $this-Session-read(notepad);
$notepad[] = $id;
because I´m working on Win, which is not case sensitive.
But now I´m happy.
On 25 Dez., 22:18, GetIT david.bruen...@t-online.de wrote:
Hi,
I´m having big trouble with a session.
I´m calling the same action two, ore more times without doing anything
other (calling another action or so).
This is my
Hi,
I´ve seen many people with the same problem.
setlocale() entry in bootstrap.php doesn't work.
Some people think its a problem with the versions of php and apache.
Can anyone confirm this?
And can anyone tell me which versions of php and apache work with
setlocale() ?
My problem is that I
14 matches
Mail list logo