Thanks! that saved my life ;)
Java C# desktop developer
PHP web developer
www.mohamnag.com
On Wed, Aug 7, 2013 at 8:11 PM, euromark dereurom...@gmail.com wrote:
If you already got the parent_id filled out, just use the recover
functionality of the
It will return both i.e arrays and objects.
On Friday, July 6, 2012 6:17:18 PM UTC+5, Marsson wrote:
Does it mean Cake 3.0´s Model will return objects instead of arrays ?
On Fri, Jul 6, 2012 at 6:33 AM, Kazik kaz...@gmail.com javascript:wrote:
On Friday, July 6, 2012 4:36:03 AM UTC+2,
Hi!
I am a new bee in cakePHP, look at following scenario
I have following tables structure
---
*Table name: events*
Field Type Null Default
echo $this-Form-create('Page');
echo $this-Form-input('slug');
echo $this-Form-input('title');
echo $this-Form-input('content');
؟
/div
?php
echo $this-Form-input('view_show');
echo $this-Form-end('Save');
?
in the above code view_shop field and Submit button is not in the form
because
do this
try like this
$this-request-data['Event']['name']
= $this-request-data['Event']['name'];
$this-request-data['Event']['venue']
= $this-request-data['Event']['venue'];
and then do save all..
$this-Event-save($this-request-data);
in this way only name and venue will be
$this-request-data['Event]['image] = false;
OR
unset($this-request-data['Event]['image]);
$this-Event-save($this-request-data);
Andras Kende
On Aug 7, 2013, at 6:01 AM, kapil agrawal kapilagrawal...@gmail.com wrote:
Hi!
I am a new bee in cakePHP, look at following scenario
I have
Add like this in .htaccess file of root directory
IfModule mod_rewrite.c
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?domain.com$
RewriteRule^$ app/webroot/[L]
RewriteCond %{HTTP_HOST} ^(www\.)?domain.com$
RewriteRule(.*) app/webroot/$1 [L]
/IfModule
it will
Put the following just before the end() call?
?php echo $this-Form-submit('Save'); ?
On Wed, Aug 7, 2013 at 6:40 PM, mreza_golestan mreza_goles...@yahoo.com wrote:
echo $this-Form-create('Page');
echo $this-Form-input('slug');
echo $this-Form-input('title');
echo $this-Form-input('content');
I'm new with cake php, but i have a problem that i can't fix...
Can i somehow sort data that gets by this attribute?
i'm getting that array
*array(
(int) 0 = array(
'Category' = array(
'id' = '3',
'name' = 'Материал',
seems to me like you are modifying the wrong htaccess file
the relevant one is the one in the webroot dir.
Am Mittwoch, 22. August 2012 21:04:15 UTC+2 schrieb Ogalav:
I am creating a subdomain chat.sitio.com
but I do not understand why the error occurs internarl
I've been checking the
Category model assuming Category hasMany Type :
public $hasMany = array(
'Type' = array(
'className' = 'Type',
'order' = 'Type.order ASC' //DESC depending on how
you want them ordered
)
);
Check the section on linking models
thx you a lot!!))
that was realy stupit problem
i read that section, but didn't see the answer
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP group.
I know forms submitted via ajax that the security component does not work.
(Checking for edits / tampering)
What is the reason for this? I understand if you add fields dynamically why
it would not work because of the hashed fields when the form is rendered.
But if you are simply sending a
Hello everyone,
I have a complex query for summarizing data that looks like:
$sql = 'SELECT
severity,
SUM( IF( c.name = ABC, 1, 0 ) ) AS
ABC,
SUM( IF( c.name = XYZ, 1, 0 ) ) AS
XYZ,
FROM
Because the keys are 'use once', so when submitted by ajax become invalid. See
this page for a solution:
http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html#SecurityComponent::$csrfUseOnce
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 8 Aug 2013, at
15 matches
Mail list logo