Hey,
I have an orders table, a carts table and a carts_orders table. Every once
and a while, I lose some of the rows from the carts_orders table. They are
being created properly but are being deleted at some point. I have been
trying to figure it out but everything in the applications works
By default, Cake clears down the entire habtm table (for the current
association) and adds back in just those that are in the current saved dataset.
So if a cart has three orders and you try to add another in isolation the first
three are cleared and replaced with the new one. If you are trying
If you are using $this-CartsOrder-delete(); then it must be deleting the
cartsorder record . You should check for that.
Enjoy,
Marcus
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are
I would develop the javascript MVC application to be independent of
the CakePHP application and not try to put the js MVC into the webroot
of the cakePHP app
So it would be easier if you think of your project as two separate
projects.
Hi. Thank you for reply. Is that correct way to do like
bootstrap.php
=
https://github.com/hugodias/cakeStrap/blob/master/app/Config/bootstrap.php#L173
default.ctp
=
https://github.com/hugodias/cakeStrap/blob/master/app/View/Layouts/default.ctp#L21
Em quarta-feira, 10 de outubro de 2012 03h14min42s UTC-3, Lucky1968
escreveu:
Does anyone know
On Thu, Oct 11, 2012 at 3:12 PM, Sathia S sathia2...@gmail.com wrote:
I would develop the javascript MVC application to be independent of
the CakePHP application and not try to put the js MVC into the webroot
of the cakePHP app
So it would be easier if you think of your project as two
Hello,
I want to call index.ctp in element so i can call element anywhere in
application. e.g. contact_form element which uses ajax form submit.
I have no idea how i am going to do this. Please help me.
Regards,
Sanjeev Divekar
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us
For 2.x sites you can also set 'unique' = 'keepExisting' to prevent the save
from deleting existing records:
http://book.cakephp.org/2.0/en/models/saving-your-data.html#what-to-do-when-habtm-becomes-complicated
On Thu, Oct 11, 2012 at 6:55 PM, Sanjeev Divekar
sanjeevdive...@gmail.com wrote:
Hello,
I want to call index.ctp in element so i can call element anywhere in
application. e.g. contact_form element which uses ajax form submit.
Start by going thru
Do you know that .htaccess is being read? Are you certain they're all present?
You said all green so I guess cake.generic.css is being loaded. Is
that right? If you for some reason copied Cake's CSS rules for certain
things into your own CSS you should also include the last CSS rule:
In the Form-create line, make sure you have 'type' = 'file' as an option.
On Wed, Oct 10, 2012 at 11:38 PM, Angelo Ortiz aorti...@gmail.com wrote:
I mean i using cakephp 2.1, my bad. But my problem is that i can't access
the information coming from the file field call Imagen, i tried to used
Yes, keep your javascriptMVC code in weroot folder and build cakePHP app
using REST webservice (cakephp inbuilt feature) this way you build service
oriented architecture for your project, I have same structure in my project.
On Thu, Oct 11, 2012 at 6:06 PM, Dr. Tarique Sani
Yes everything appears to be working fine. I copied a fresh version of all
htaccess files.
I figured there was something wrong when trying to get Mark Story's asset
plugin going but still something is wrong.
Getting missing function css() and missing function js() so I don't know
about to
It's $this-Html-css() not $html-css() -- that your problem?
On Thu, Oct 11, 2012 at 4:09 PM, Advantage+ movepix...@gmail.com wrote:
Yes everything appears to be working fine. I copied a fresh version of all
htaccess files.
I figured there was something wrong when trying to get Mark Story's
On Thursday, October 11, 2012 10:53:07 PM UTC+7, keith...@classoutfit.com
wrote:
For 2.x sites you can also set 'unique' = 'keepExisting' to prevent the
save from deleting existing records:
Yes.
However, you will still need to ensure that those data exist on the form
(which might not be
Hello,
You didn't get me. I want to call certain view in element.
e.g. I have contact.ctp file which have contact us form.
Now suppose i want to place that form in any section of website. I will
create element which will render contact.ctp
Can you suggest any how I can do this?
Regards,
On
Do it the other way round. Make contact.ctp an element, then in your
contact.ctp view render the contact element - you can then also render the
element wherever you need it.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 12 Oct 2012, at 05:36:50, Sanjeev Divekar
17 matches
Mail list logo