Help CakePhp 3.0

2015-10-27 Thread Ricardo Franco
How to write the tags below to the version 3.0 of the cake?

* New *


Thank you!

-- 
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 from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


View cells and helpers

2015-10-27 Thread Simon Bradley
Hi

Feel like i'm starting to get to grips with cakephp. Really loving it now.

Here's something that's got me stumped though.

I've build a plugin (For learning purposes) that builds a menu. It has a 
helper that builds the menu. I wanted to get access to this helper in the 
view cell file and i found it has a helpers property.

However, when i add the name of my helper to this property the helper is 
not available in the view cell file. It is available in the display file 
though!

I would really like to access this helper in the viewcell and i just wanted 
to know if anyone one here knows how to do that?

Cheers.

-- 
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 from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: belongsToMany issue

2015-10-27 Thread lorenzoshake


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 because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


404 requests filling view cache

2015-10-27 Thread lowpass
Cake 2.2.4 (Yeah, i know -- need to upgrade this site!)

I just noticed that the view cache dir has a bunch of files along the lines
of:

s_2fabc_2fabc_2fabc_2f_24_7b_40print_28md5_28base64_decode_28mzywd2vic2nhbg_29_29_29_7d_2f.php

Looks like the work of script kiddies. However, I'm also seeing things like
this:

articles_deep_denial_or_disinformation.php
articles_dee.php

The first is the correct name/path and the second one is incomplete. There
are several examples of this. I dunno if it's a Cake issue or not but the
latter really shouldn't be cached as it's a 404.

Is there some way to tell Cake *not* to cache these?

-- 
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 from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: 404 requests filling view cache

2015-10-27 Thread OJ Tibi - @ojtibi
How does your cache configuration look like?

On Wednesday, October 28, 2015 at 8:34:43 AM UTC+8, cricket wrote:
>
> Cake 2.2.4 (Yeah, i know -- need to upgrade this site!)
>
> I just noticed that the view cache dir has a bunch of files along the 
> lines of:
>
>
> s_2fabc_2fabc_2fabc_2f_24_7b_40print_28md5_28base64_decode_28mzywd2vic2nhbg_29_29_29_7d_2f.php
>
> Looks like the work of script kiddies. However, I'm also seeing things 
> like this:
>
> articles_deep_denial_or_disinformation.php
> articles_dee.php
>
> The first is the correct name/path and the second one is incomplete. There 
> are several examples of this. I dunno if it's a Cake issue or not but the 
> latter really shouldn't be cached as it's a 404.
>
> Is there some way to tell Cake *not* to cache these?
>

-- 
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 from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.