C), José Lorenzo escribió:
>
> Did you read this part?
>
>
> http://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html#creating-your-own-translators
>
> On Tuesday, November 24, 2015 at 3:00:30 PM UTC+1, Aday Talavera wrote:
>>
>> My current
My current and default app locale is "es_ES".
I generated my default.pot using I18n shell and my en_US translations in
default.po and default.mo inside en_US folder.
es_ES doesn't have .po and .mo files at all, because the "native language"
of the app strings is es_ES.
How can I override a tra
You can try to use my CipherBehavior plugin.
https://github.com/adayth/cakephp-cipher-behavior
El domingo, 23 de agosto de 2015, 22:13:34 (UTC+1), Alexander Slotty
escribió:
>
> Hello,
>
> I was hoping someone could help with my task. It should be "relatively"
> simple: I want to have some for
will disable the converting in the whole application
> But in any case, what are the reasons for disabling it?
>
> On Friday, June 12, 2015 at 12:17:37 PM UTC+2, Aday Talavera wrote:
>>
>> It seems that the only way is to change column schema type from 'date' to
>
It seems that the only way is to change column schema type from 'date' to
'string'.
Maybe could be a good idea to have a function to do such changes on an easy
way.
El miércoles, 13 de mayo de 2015, 21:33:08 (UTC+1), Aday Talavera escribió:
>
> First off, sorry fo
Up!
El miércoles, 13 de mayo de 2015, 21:33:08 (UTC+1), Aday Talavera escribió:
>
> First off, sorry for the "question spam". I'm just posting all issues of
> the last two weeks in a short period of time. I hope that this isn't
> disturbing anyone.
>
> Whi
Probably you don't have mod rewrite enabled.
El viernes, 15 de mayo de 2015, 20:08:15 (UTC+1), Jesus Cantú escribió:
>
> hello every body;
>
> I'm new with cake, I'm traying to do the examples, then I used the
> composer and I create database files of bookmarker, but I have a little
> problem
First off, sorry for the "question spam". I'm just posting all issues of
the last two weeks in a short period of time. I hope that this isn't
disturbing anyone.
While trying to figure how to use combine with collections and entities (is
in other thread) I didn't found an easy way to avoid date
ble
>
> On Tuesday, May 12, 2015 at 10:40:25 AM UTC+2, Aday Talavera wrote:
>>
>> While following the guide
>> http://book.cakephp.org/3.0/en/orm/behaviors/translate.html
>> <http://www.google.com/url?q=http%3A%2F%2Fbook.cakephp.org%2F3.0%2Fen%2Form%2Fbehavi
function in the second argument will return the same row without
> extracting any property from it. This is also equivalent to doing:
>
> $combined = collection($entities)->indexBy('id')->groupBy('group');
>
> On Saturday, May 9, 2015 at 4:33:54 PM UTC+2, Aday
While following the guide
http://book.cakephp.org/3.0/en/orm/behaviors/translate.html to apply
translate behaviour to my models I detected some problems, but I don't know
if I'm following bad the guide or if the guide needs to be improved.
Let me explain using an example.
I had this table in
For Cake3, look at these manual entries:
http://book.cakephp.org/3.0/en/orm/saving-data.html#saving-complex-types
http://book.cakephp.org/3.0/en/orm/database-basics.html#adding-custom-database-types
For Cake2 you could use SerializableBehaviour from CakeDC/Utils plugin:
https://github.com/CakeDC
In CakePHP 2 I usually used Hash::combine to provide me some useful
grouping of the DB data.
Let me show you an example:
Original array:
find('all', $query); ?>
// Output
array(
(int) 0 => array(
'DataRow' => array(
'id' => '70',
'section_id' => '2',
I've this methods in a helper:
Html->tag('table', null, array('class' =>
$table_class));
if (!empty($headers)) {
$content .= $this->Html->tag('thead', $this->Html->tableHeaders(
$headers, array('class' => $header_class)));
}
if (!empty($rows)) {
$co
14 matches
Mail list logo