Is there a complete plugin for tags in cake3?
i'm watching https://github.com/UseMuffin/Tags but is not complete ( can't
edit, can't filter, etc etc)
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you
Il giorno lunedì 26 ottobre 2015 18:58:55 UTC+1, John Andersen ha scritto:
>
> Is your Achievements class an extension of the Table class?
>
>>
>> oh, yes !
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message
26 October 2015 18:44:29 UTC+2, lorenzoshake wrote:
>>
>> i 've a strange assoc problem:
>>
>> class Achievements
>> {
>> $this->belongsToMany('SocialUsers', [
>> 'foreignKey' => 'achievement_id',
>> 'tar
i 've a strange assoc problem:
class Achievements
{
$this->belongsToMany('SocialUsers', [
'foreignKey' => 'achievement_id',
'targetForeignKey' => 'user_id',
'joinTable' => 'achievements_users',
'through'=>'AchievementsUsers'
]);
...
How to display cdata with rss helper ?
--
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.
To unsubscribe from this group and stop receiving emails
Il giorno mercoledì 2 settembre 2015 10:20:53 UTC+2, Anthony GRASSIOT ha
scritto:
>
> Could you show your controller finction ?
> these validation are used when using newEntity() or patchEntities'), not
> save().
>
>
the other validation condition works fine ; here the method:
public
Il giorno mercoledì 2 settembre 2015 02:24:34 UTC+2, Anthony GRASSIOT ha
scritto:
>
> 'custom',['rule' => [$this, 'checkDate']]
>
> this doesn't seems to be a correct syntax... Why don't you use one of the
> proposed solution ?
>
> $value->gte raise errors ( is a query method); the strange
Il giorno mercoledì 2 settembre 2015 11:24:15 UTC+2, Anthony GRASSIOT ha
scritto:
>
> That what I thought. Validation is not applied if you set the value
> directly with a setter like you does. You need to use patchEntity().
>
>
> i think so, but the other validation rules works fine!
--
Il giorno mercoledì 2 settembre 2015 12:17:42 UTC+2, Anthony GRASSIOT ha
scritto:
>
> And that's normal and make sense because $calendar->start_date and
> $calendar->end_date are the only fields for which you use setters...
>
>>
>>
ok, solved ;)
just format date in array data first to process
Il giorno martedì 1 settembre 2015 10:44:40 UTC+2, lorenzoshake ha scritto:
>
>
>
> Il giorno lunedì 31 agosto 2015 18:34:37 UTC+2, Anthony GRASSIOT ha
> scritto:
>>
>> Maybe something like:
>>
>> 'compare' => [
>>
Il giorno lunedì 31 agosto 2015 18:34:37 UTC+2, Anthony GRASSIOT ha scritto:
>
> Maybe something like:
>
> 'compare' => [
> 'rule' => function ($value, $context) {
> return $value->gte($context['data']['start_date']);
>
I've been tried with:
$validator ->add('end_date', [
'valid'=> ['rule' => 'date'] ,
'compare' =>['rule' => ['comparison', '>' ,'start_date']]
]
);
but doesn't work;
how to validate start_date and end_date ( end must be greater than
Hi,
how can i import a class Foo stored in webroot/class/Foo.php in cake3?
--
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.
To unsubscribe from
Il giorno sabato 13 giugno 2015 09:12:42 UTC+2, Pamela Whittaker ha scritto:
What do you suggest as an editor for CakePHP please? I use Dreamweaver cs6
for PHP but that doesn't open .ctp files. Thanks
coda 2
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter
hi, i'm develop with cake 3 and i'm using view cells feature cache.
The cache is created but the method called is always called.
Example:
$cell = $this-cell('Posts::getLatest', [], ['cache' = true]);
echo $cell;
the cache is created but i put an echo in getLatest method, the echo will
print:
solved, can't use variables in __d function
--
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.
To unsubscribe from this group and stop receiving
when i try to launch cake i18n extract --plugin Pluginame i get:
Invalid marker content in viewfile.ctp:79
* __d(
PLUGIN_DOMAIN,'delete')
for all messages in views ;
if i open the default.pot file i get only the message that i put in models
( no __d function )
every help is welcome ;)
i'm writing a cake plugin: everythings works fine but if i link models
(belongsTo)got errors:
*Error: *Table *table_name* for model *model_bame* was not found in
datasource *default*.
If i remove belongsTo it's all ok!
I put the prefix in the AppModel plugin class:
AppModel Plugin Class:
Il giorno sabato 17 novembre 2012 15:21:56 UTC+1, Martin Aguilar ha scritto:
For years I've been working on my own framework but now I wan't to migrate
to cakephp.
On my framework I used smarty for themes and to separate code from views.
I always find smarty clean, nice and with a very
morning, i have a problem with cakephp 1.3:
$this-paginate['fields'] = id, $sql_for_distance as distance;
$data = $this-paginate('Item', array('distance 50' ));
I got mysql error: field distance not exists.
Anyone got the same error? Solution?
Thanks in advance
--
Our newest site for the
$sql_for_distance is the classic function to calculate distance with latlng
--
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 help others
with their CakePHP related questions.
To
21 matches
Mail list logo