look into /app/config/bootstrap.php file
you should have settings something like:
Configure::write('Site.contact_email', 'whatever@your_site.com');
Configure::write('Site.contact_email_subject', 'some subject');
On Wednesday, March 27, 2013 10:32:48 AM UTC-7, Ellie Quick wrote:
>
> Help,
>
this is how I upload images and create thumbs in any sizes without any
plugin,... of course you have to modify to your own needs,... don't forget
to create subdirectories in webroot/photos/ original,... thumbs,... etc,...
and chmod to 777
function upload in photos_controller:
function uplo
Hi All,
I am trying to use the cake_gallery plugin
https://github.com/vitorpc/cake_gallery for cake 1.3 but for some reason
the thumbnail is not generated. Seems some issue with photo.php model??
In firebug i get some errors.
Warning (2): imagecreatetruecolor() [function.imagecreatetruecolor]:
hi guys,... can anyone help please,...
I have a data that I want to bring up to a view with foreach statement,...
I can see notifications in debug mode, but I can't see real results...
here is my function code:
$friends = $this->Friend->find('all', array('conditions' =>
array('Friend
What I ended up doing is adding "path" field to the table and a pretty
simple function to build the path for each category.
It needs to be cleaned up some for contain and cache but initial foundation
appears to be in place. So this will build out the actual path no matter how
deep the tree is.
Thanks,
I will explore it and see how it turns out.
Dave
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Salines
Sent: Saturday, March 30, 2013 11:13 AM
To: cake-php@googlegroups.com
Subject: Re: Product / Category Tree Help
Create the following db table
Create the following db tables:
table nodes, where you will have a minimum of the following fields:
id, title, path, parent_id, lft, rght, type
In the field: path, save the full path on which you will find your posts.
Field: type, is reserved for storing content types, eg '1 '. categories, '2
'
Hi,
You need to build and implement closure table,
look at this excellent presentation
http://www.slideshare.net/billkarwin/models-for-hierarchical-data (page 40),
I have recently implemented similar to www.farm.ba , where I now have the
ability to create "unlimited" number of levels.
Save yo