t might work
> up to some point - and than it breaks.
>
> the App::uses can be compared to require statements. If you don't tell
> cake what files are required it fill fail eventually.
>
> same goes for helpers, models, behaviors, ...
>
>
> Am Mittwoch, 26. Dezember 2012
ant that you always specify all used classes in your files at
> the top.
>
>
> Am Mittwoch, 26. Dezember 2012 16:00:40 UTC+1 schrieb Nvp:
>>
>> Hi! I have a strange issue with CacheHelper and perhaps it's because I do
>> some error in configuration.
>> Fo
Hi! I have a strange issue with CacheHelper and perhaps it's because I do
some error in configuration.
For the first time I encountered this problem while working on my main
project.
After it, I have downloaded CakePHP 2.2.4 and created an app for testing.
As mentioned above I'm trying to use C
Hi!
I read many topics about HABTM validation in Cake but I can't figure out
how to solve my problem.
I have my main model – Restaurants, it has many HABTM relations to
additional models.
Now I'm building admin area, and I'm working with new controller in which I
have
public $uses = array(
r index.
>
> - "The cold winds are rising"
> On Sep 16, 2012 5:17 PM, "Nvp" > wrote:
>
>> Hi!
>> I built DB with tables:
>>
>> *restaurants* - main table
>>
>> *kitchens* - second table
>>
>> *kitchen_restaurants* -
Hi!
I built DB with tables:
*restaurants* - main table
*kitchens* - second table
*kitchen_restaurants* - join table with fields: id, kitchen_id,
restaurant_id
*Model/Restaurant.php*:
public $hasMany = array(
'KitchenRestaurant'
);
*Model/Kitchen.php*:
public $hasMany = array(
I'm new to CakePHP, can you please provide me some example or expand the
idea?
On Thursday, August 16, 2012 11:27:38 PM UTC+4, ibejohn818 wrote:
>
> Get and Set the data in your app_controller
>
>
> On Aug 16, 2012, at 12:12 PM, Nvp wrote:
>
> Hi!
> I need to have
Hi!
I need to have a sitewide sidebar which will contain 5 latest comments to
articles.
Should I use elements with requestAction + cache in default layout or it
can be achieved in more simple way?
I use CakePHP 2.2.1.
Thanks.
--
You received this message because you are subscribed to the Goo
Hi!
It's my first Cake project I have about 5-6 static pages they are served by
the default PagesController.
I havein my layout file
and set('title_for_layout', 'Page Title'); ?> in my views
files.
So as I read on API page $title_for_layout is deprecated and will be
removed in CakePHP 3.0,