Hello Sekou.
I'm not an expert in Cakephp but before anyone can tell you something t
think you have to check logs to see if you have errors there.
If you have could you post them? maybe someone can advise you.
sâmbătă, 13 decembrie 2014, 21:05:14 UTC+2, Sekou Dioubate a scris:
>
>
> hello,
>
label' => false,
'empty' => 'Towns',
));
echo $this->Form->input('User.city', array(
'readonly' => 'readonly',
'class' => array('form-control', 'chosen-select
is->Session->setFlash(__('The user could not be saved. Please, try
again.'));
}
} else {
$options = array('conditions' => array('User.' . $this->User->primaryKey =>
$id));
$this->request->data = $this->User->find('first', $opt
'user_id'; *otherwise it didn't know witch id field to use and i was
inserting a new row, not updating the one allready used
joi, 26 iunie 2014, 14:19:23 UTC+3, CUCULEAC STEFAN a scris:
>
> No one?
>
>
>
> --
> View this message in context:
> http://cake
pastie.org/private/wrgxo9sdspar3sdxgrpyyq
and the field if its read by the Artist view:
http://666kb.com/i/bt7evphoib2ca2m6y.gif
Regards, Stefan.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and
hi
baked views should not be used as final solution for an application.
but you can use the security component to avoid manipulation of form data.
regards
On Sun, Sep 6, 2009 at 3:32 PM, thesti wrote:
>
> hi,
>
> i'm learning CakePHP and i take the Blog tutorial.
>
> and as i came to the mod
Hey hello i'm new to cakephp but i think it's a really cool thing to
learn and so fare all went well. But now I have a problem and i can't
figure it out by my self.
I have a plug in and I visit the plug in over the url pluginname/
controller/action and i want to go back over a navigation menue th
I developed a rather large amount of code on Cake 1.1. At the end of
the View, I wrote some data back to Session->write. I can't seem to
find the proper object to get to the Session from the View in Version
1.2. Any clues would be greatly appreciated.
--~--~-~--~~~---
ere is a function "boolean" in dbo_postgres.php that does the
mapping, but it seems that the values stored from the database to the
model are not translated.
Regards
Stefan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
e why the {alias} would be required in that
> position by any SQL database?
>
> On Jan 25, 12:44 pm, stefan <[EMAIL PROTECTED]> wrote:
>
> > thanks for your tips.
>
> > i'm using 1.2.0.6311 beta right now, hopefully there are no other
> > problems when
so i have another simple question:
i have a simple edit form with some habtm-relations.
if i use data validation and get a validation error while saving, in
the following edit-view none of the related data is loaded.
but if i manually do a $model->read i loose the user-input from the
post data.
i
{Alias} FROM Table must be non-standard because
> you don't normally put {alias} in that position. I posted a bug
> report:
>
> #3984 (Delete {alias} from Table - non-standard SQL which stops
> Firebird working)
>
> See the 'Problem with Delete' thread or the bug
anies` AS `Company` WHERE `Company`.`id` IN
(11)
why does cake to that?
i could of course write my own query as this is a very tiny one, but i
would like to understand why cake does this...
thanks a lot
stefan
--~--~-~--~~~---~--~~
You received this message because you
I guess the real question was:
Will CakePHP be compatible with PHP6?
Thanks
Stefan
--~--~-~--~~~---~--~~
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@google
Having good ol SQL Server character coding problem. Supposedly PHP6
fixes the problem, Cake compatible with V6 or not?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send ema
Hi,
Can I get the query in production mode without using logs when a SQL
error occurs ?
I made an onError() in AppModel which is sending an email with the
last SQL error, but without the query some errors are difficult to
trace. It seems that there is a way by using the query log but I don't
wa
It can be done without $ajax->observeField, and it's better because IE
doesn't know the ID of a SELECT (or maybe I'm not capable of doing it
right):
codeBlock("function fnSearch(el) { new
Ajax.Updater('content', '".$html->url("/services/index")."',
{asinchronous:true, evalScripts:true,
parameters
I found something but I'm not sure if it's correct:
$aro = $this->Acl->Aro;
$tree = $aro->behaviors["Tree"];
for a parent:
$tree->setup($aro,array("parent" => "Aro.id")); // just "id"
doesn't work
$aro-
>save(array('model'=>'Roles','foreign_key'=>'0','alias'=>'Parent'));
for children:
$tre
Using
or
where $data["description"] = "Description for product" and comes from
db is the same thing.
locale/your language/LC_MESSAGES/default.po file must have the
translation for string "Product description".
--~--~-~--~~~---~--~~
You received this message bec
Ok, I understand.
Something about the __() function:
I wanted to translate the title of a link : e($html-
>link(__("LABEL_TERMS_CONDITIONS"), "/terms"));
gives : Règles et Conditions, title outside the
tags.
The right solution : e($html->link(__("LABEL_TERMS_CONDITIONS", true),
"/terms"));
That
Hi,
The ISO language name for french is fra , fre.
I made a directory app/locale/fra/LC_MESSAGES/ and put there a
default.po and default.mo and followed the instructions about using
i18n :
$language = 'fra';
$this->Session->write('Config.language', $language);
with a very simple page ( no cont
If you are using the get method in ajax functions, use modrewrite
(maybe it's not a modrewrite problem) and IE 6.0 reports errors add the
dummy parameter to the ajax url option:
WRONG URL: url = "/products/edit/2";
GOOD URL:url = "/products/edit/2/#";// even if the url has it's
own parame
In beforeFilter() in AppController it can be used :
$this->{Inflector::singularize($this->name)}->findAll();
$this->{Inflector::singularize($this->name)}->read();
$this->{Inflector::singularize($this->name)}->query();
etc
or
$this->{Inflector::singularize($this->name)}->myfunction();
with myfu
23 matches
Mail list logo