c-i.com/gEwCart/HowToEnableJavascriptAndCookies.htm
>
> Of course, if you have also to check if javascript is enabled .. :-)
>
> On Jul 4, 2:24 am, dandreta <[EMAIL PROTECTED]> wrote:
>
> > any solution, please?
>
> > On 26 jun, 09:42, dandreta <[EMAIL PROTECTED]> wrote:
>
> &
any solution, please?
On 26 jun, 09:42, dandreta <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have used the OthAuth component for the access to my application,
> defining the groups and permissions. If in the browser thecookiesare
> not activated, on login the user cannot en
Hi!
I have used the OthAuth component for the access to my application,
defining the groups and permissions. If in the browser the cookies are
not activated, on login the user cannot enter to the restricted
functions because the permissions are not loaded in the session. What
I want is if a user
Hi!
I have two tables:Student and profile with hasone association
Table Student: profile_id
Table Profile:id
And two models
Profile hasOne Student (fk:profile_id)
Student belongsTo Profile (fk:profile_id)
If i delete a profile the associated Student is deleted, but how can I
delete the associa
Hi,
I am doing searchs in my cake application. I have a select with
options and a text field. I want that if in this select is chosen
option 1 or option 2, the text field is kept to introduce the text to
search, but if the selected option is 3, I want that the text field is
replaced by another ne
Then, to seeing if I have understood it well. For my example, I have
two classes:
---
PersonsController
{attributes}
-model:Person
{methods}
+insertPerson(name,age,sex):void
+obtListPersons():Person[]
-
Hi!
I have a problem. I have a view with a form with the fields to refill
and under of they a button to accept. The question is that after the
information of the form validates, if anyone gives error, it shows the
message correctly under the text fields that have failed but the
button to accept re
understood to me.
Thanks and regards
On 15 mayo, 22:41, "Juan Miguel Paredes" <[EMAIL PROTECTED]>
wrote:
> On Fri, May 16, 2008 at 3:28 PM, dandreta <[EMAIL PROTECTED]> wrote:
>
> > Hi!
> > I am developing my web application with cake, but I need to d
Hi!
I am developing my web application with cake, but I need to deliver
the diagram of classes of the application with the Model-View-
Controller that uses. I have been searching very much but I do not
find anything of help. If someone can say me any link or something i
will great.
Thanks and rega
Thanks for your response.
Do you know other links where explains more about this translate
behaviour?
On 7 abr, 15:02, Sliv <[EMAIL PROTECTED]> wrote:
> Have you looked at the translate behaviour?
>
> http://api.cakephp.org/1.2/class_translate_behavior.html
--~--~-~--~~~--
Hi!
I am developing a multilanguage site and I have followed the tutorial
of the bakery
(http: //bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-
persistent-internationalization-tutorial)
to translate the static content and it works well.
The problem is that I want to have also some record
Any ideas?
How can I relate othauth component with managers, clients and
suppliers tables that contains all users?
On 24 mar, 14:18, dandreta <[EMAIL PROTECTED]> wrote:
> I am searching and reading enough things on the users' access and
> permissions (OthAuth, ACL ...) and final
I am searching and reading enough things on the users' access and
permissions (OthAuth, ACL ...) and finally I have applied the othauth
component.
The question is that I want to do the access to my application
depending on the type of user. I have 3 types of users:manager,
client, supplier and in
any idea?
On 19 mar, 13:39, dandreta <[EMAIL PROTECTED]> wrote:
> If I add the relation in the model Person :
>
> var $belongsTo = array('Profile' => array('className' => 'Profile',
>
Hi!
I have two models:(Client,purchase)
One client has many purchases.
In clients_controller:
If I want to paginate all clients with name John I do:
$this->paginate(array('Client.name' => 'John'))
But how can I paginate all clients who have bought a certain product
(for example, condition: purc
Hi!
I have two models:(Client,purchase)
One client has many purchases.
In clients_controller:
If I want to paginate all clients with name John I do:
$this->paginate(array('Client.name' => 'John'))
But how can I paginate all clients who have bought a certain product
(for example, condition: purc
et/mail
>
> Then make a little test in a Cake controller that you can call
> directly which does the same thing. Then you can worry about the
> emailcomponent etc.
>
> Wayne
>
> On 2/15/08, dandreta <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi!
> >
Hi!
I am developing my application with Cake 1.2 and I want to have send e-
mails functionality.
Inside pages folder, I have the view to send e-mail with the basic
fields: Destination, Subject and Message(body). I have been reading
about EmailComponent in Bakery's article
(http://bakery.cakephp.or
I have a function that receives an array of data($product).
How can I create a new record in the database with the information
received without using a form?
Thanks and regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On 27 ene, 14:57, dandreta <[EMAIL PROTECTED]> wrote:
> Hi!!
> I have applied Othauth component to define the user groups and their
> permissions following Bakery's article.
> I want that when a user logs in the aplication, it shows the principal
> screen with a dif
Hi!!
I have applied Othauth component to define the user groups and their
permissions following Bakery's article.
I want that when a user logs in the aplication, it shows the principal
screen with a different layout depending on the group of the user.
Do you know how can I do it?
any suggestion or
On 24 ene, 14:13, dandreta <[EMAIL PROTECTED]> wrote:
> Hi!
> I have been verifying it and I have a problem with the relations,
> concretly with one:
> 1 Project - N Persons
> N Persons - N Projects
> I have two different relations between the same models (Project and
<[EMAIL PROTECTED]> wrote:
> There is a problem in one of your related model relations or relations
> of the related models. Check about 'fields' options and maybe
> className etc ...
>
> A way to search would be to remove the relation on this model one
> after the ot
Hi!!
I have index function in my controller of the following form:
function index() {
$this->Proyecto->recursive = 2;
$this->set('proyectos', $this->paginate());
}
And all of the projects appear correctly in the index view with their
fields and for each pr
On 21 ene, 18:04, dandreta <[EMAIL PROTECTED]> wrote:
> ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To un
On 21 ene, 18:05, dandreta <[EMAIL PROTECTED]> wrote:
> Any suggestion please?
>
> On 19 ene, 14:03, dandreta <[EMAIL PROTECTED]> wrote:
>
> > Hi!
> > I have an HABTM relation between ModelA and ModelB.
> > In the add view of A, I have created two lis
Any suggestion please?
On 19 ene, 14:03, dandreta <[EMAIL PROTECTED]> wrote:
> Hi!
> I have an HABTM relation between ModelA and ModelB.
> In the add view of A, I have created two lists(two multiple selects),
> one with all B
> elements of the database and other one empty
?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visi
Hi!
I have two tables: Projects and Directors related this way in the
model:
- Director hasMany Project
- Project belongsTo Director
Adding a new project I have the field Director who is a simple select
where I can choose the director between all those that I have in the
BD.
Creating a new project
Hi!
I have an HABTM relation between ModelA and ModelB.
In the add view of A, I have created two lists(two multiple selects),
one with all B
elements of the database and other one empty . I pass elements of the
first list to the second one with javascript and the second list will
contain the B el
Hi!
I have 2 tables: projects and persons.
In my ProjectsController I have a function that shows in the view a
list of all the persons of the database. For it I have this:
$this -> set ('persons', $this -> requestAction ('/persons/getpersons
'));
And in PersonsController:
Function getpersons ()
Hi!
I have 2 tables: projects and persons.
In my ProjectsController I have a function that shows in the view a
list of all the persons of the database. For it I have this:
$this -> set ('persons', $this -> requestAction ('/persons/getpersons
'));
And in PersonsController:
Function getpersons ()
Hi!!
I am searching and reading enough things on the users' access and
permissions (OthAuth, ACL ...). The question is that I want to do the
access to my application depending on the type of user. I have 3 types
of users:manager, client, supplier and in the database 3 tables with
their different i
Thanks for your response.
I have proved it but it does not work. Anyone has made something
similar what I want to do?
On 10 dic, 10:21, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> On Dec 9, 4:45 pm, dandreta <[EMAIL PROTECTED]> wrote:
>
> > Thanks
On 6 dic, 19:19, dandreta <[EMAIL PROTECTED]> wrote:
> I have an HABTM relation between ModelA and ModelB.
> In the add view of A, I have created two lists, one with all B
> elements of the database and other one empty . I pass elements of the
> first list to the second one w
Thanks for your response.
But I dont understand how I can do this.
Can you explain me, please?
Regards
On 7 dic, 12:16, Serge Rodovnichenko <[EMAIL PROTECTED]> wrote:
> Try to set/reset a 'selected' attribute of OPTION when moving options
> between two lists.
>
>
I have an HABTM relation between ModelA and ModelB.
In the add view of A, I have created two lists, one with all B
elements of the database and other one empty . I pass elements of the
first list to the second one with javascript and the second list will
contain the B elements that will be relate
Nobody knows any link or example how I can do it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
Hi!
I have a problem and I cant solve it. I hope you can help me.
I have a table called Records with fields Id and Name.
I create model, controller and views with bake. In the model I
validate that Id and name do not be empty and in the controller I have
add function:
function add() {
Hi!
I am trying to create a search box for my application, but I have many
doubts.
Being a common thing, do you know any link or site where it explains
this topic and how to do it?
Thanks and regards
--~--~-~--~~~---~--~~
You received this message because you are su
On 26 nov, 19:22, rtconner <[EMAIL PROTECTED]> wrote:
> If it was me, I'd have a Model with no table attatched and then add a
> function to create the tables in it
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cak
I have two models:ModelA and Model B.
ModelA hasMany ModelB.
In the add view of ModelA, I want to create a table dynamically with a
button(AddB) and clicking it, adds a new row with the inputs of the
fields of the ModelB.
At the end of the view I have a submit button and I want that on
clicking it
php-edge/browse_thread/thread/d127...
>
> cheers
>
> On Nov 20, 8:20 pm, dandreta <[EMAIL PROTECTED]> wrote:
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To p
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, vi
I have a view with a list of records, each one with a checkbox to the
side. The name of the checkbox is the Id of the record.
checkbox('Record]['.$record['Record']['id']);?>
Then in my controller I want to do a function that writes the Ids of
the records with marked checkboxes. I have this:
forea
> Set debug to 2 and try fixing your sql error. which will be the source
> of the first error message (this one: Notice (8): Undefined offset: 0
> [CORE/cake/libs/model/datasources/ dbo_source.php, line 882]).
>
> AD
Thanks for your response.
I have tried what you have said to me, but in the sql
¿?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visi
Any suggestion?
I have been a lot of time trying to solve the problem but I don´t know
because the warning happens and I do not find a solution.Please,help
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" g
I have done it like in the link that I have written up, and the line
of the error in the model director.php is:
if ( array_key_exists('firstname',$val[$this->name]) &&
array_key_exists('lastname',$val[$this->name]))
--~--~-~--~~~---~--~~
You received this message
Sorry, I work with cake is 1.2.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PR
Hello!
I have one table called Projects and another table called Directors in
my database:
Project belongsTo Director
Director hasMany Project
Adding a new project, I have a select of directors and I want that
they appear with their firstname and lastname and not with their Id.
The fields of the t
Hi!
I have one table called products and another table called soldproducts
in my database. The table products has these fields:id, name. And the
table soldproducts:id, name, date. I have a view in products where
there is a product with its name and an input field where I introduce
a date. And I wa
Hi!
I have a HABTM relation between products and clients. I create the
models and the table clients_products with the fields Id, client_id,
product_id and one additional field called priority.
I do the index view for products and for each product I write its
clients. But I want to write the priori
Hello!
I have in my view a list of products, each one with a checkbox to the
side and a link (Remove Selected Products) at the end of the page. The
question is that I want that on click the link all the marked products
will be removed. How I would do my function in the controller in order
that it
54 matches
Mail list logo