Re: Model and Datasource for NoSQL (MongoDB) - relations

2013-03-08 Thread Vanja Dizdarević
To skip my rants, just skip to the bottom (refined question after 12 hours 
of debugging...)

@Ivane, thanks for the idea. I just might look into it one day, since 
everybody is talking about it. But as far as I understand, Doctrine can 
only be a full replacement for the CakePHP Model. This plugin is actually 
kind of a "driver" for Cake Models to use MongoDB. It should work just as a 
SQL driver would and the goal is to get it working with Cake's Model 
implementation.

Anyways, I have already found a "simple" and pretty obvious solution.

I have created the MongodbAppModel (in Plugin/Model) and extended the 
_saveMulti() method which was causing issues. This means that, if you wish 
to use the MongoDB and HABTM relations, you have to define your models as 
*Article 
extends MongodbAppModel*, instead of *Article extends AppModel *which is 
pretty much against convention, but makes sense since saving related data 
is MUCH simpler in Mongo. If the model is using an SQL datasource, the 
methods fall back to AppModel, so you could basically leave MongodbAppModel 
as the base model even with SQL drivers. It feels stupid doing it this way, 
but I guess it's a small price to pay to use NoSQL on a predominantly SQL 
platform.

I am still searching for a better idea, so please share some thoughts. 

Here's the refined question: 

*Is there a way to work around (override) the Model::_saveMulti() method 
from a Behavior or DboSource?*

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: how to get the array value in view

2013-03-08 Thread Joseph zhu
Hi there:
Thank you for reply.
I add some instruction.
the code from controller is:
$coursedatas =
$this->Category->find('all',array('conditions'=>array('Category.id'=>$category)),
array(
'contain' => array(
'Curriculum' => array(
'fields' => array('Curriculum.title'),
'order' => array(
'Curriculum.id' => 'desc'
)
)
)
));

In the view,I use 



but I can't get the value for field Curriculum.title
how to get the value for filed Curriculum.title.
Thank you.

On Fri, Mar 8, 2013 at 6:54 PM, lowpass  wrote:

> You can use the Set (deprecated) or Hash class to extract an array of
> titles. The path you would use:
> '{n}.Curriculum.{n}.title'
>
> Or possibly:
> '0.Curriculum.{n}.title'
>
> You could also get the titles keyed by their IDs. But then you may as
> well doa find('list') to get thesame thing a lot easier.
>
> On Fri, Mar 8, 2013 at 8:21 PM, Joseph zhu  wrote:
> > Hello there:
> > Below is array, who can get the value for [Curriculum][title]?
> > Thank you so much.
> >
> > Array
> > (
> > [0] => Array
> > (
> > [Category] => Array
> > (
> > [id] => 3
> > [program] =>
> > [title] => JOURNALISM
> > [public] => 1
> > [timecreated] =>
> > [timemodified] => 2012-02-20 16:38:13
> > )
> >
> > [Curriculum] => Array
> > (
> > [0] => Array
> > (
> > [id] => 22
> > [college_id] => 3
> > [level] => BA
> > [category_id] => 3
> > [code] => JO100
> > [title] => Reporting
> > [units] => 4
> > [preunits] =>
> > [location] => 0
> > [professor] =>
> > [ta] =>
> > [language] => 0
> > [schedule] =>
> > [textbook] =>
> > [syllabus] =>
> > [description] =>
> > [timecreated] =>
> > [timemodified] => 2012-09-25 17:16:48
> > [program_id] => 5
> > [display] => T
> > [precourse] => 0
> > )
> >
> > [1] => Array
> > (
> > [id] => 23
> > [college_id] => 3
> > [level] => BA
> > [category_id] => 3
> > [code] => JO110
> > [title] => Ethical Issues in Journalism
> > [units] => 3
> > [preunits] =>
> > [location] => 0
> > [professor] =>
> > [ta] =>
> > [language] => 0
> > [schedule] =>
> > [textbook] =>
> > [syllabus] =>
> > [description] =>
> > [timecreated] =>
> > [timemodified] => 2012-06-12 16:59:43
> > [program_id] => 5
> > [display] => T
> > [precourse] => 0
> > )
> >
> > [2] => Array
> > (
> > [id] => 24
> > [college_id] => 3
> > [level] => BA
> > [category_id] => 3
> > [code] => JO200
> > [title] => News Writing
> > [units] => 4
> > [preunits] =>
> > [location] => 0
> > [professor] =>
> > [ta] =>
> > [language] => 0
> > [schedule] =>
> > [textbook] =>
> > [syllabus] =>
> > [description] =>
> > [timecreated] =>
> > [timemodified] => 2012-09-01 12:47:03
> > [program_id] => 5
> > [display] => T
> > [precourse] => 0
> > )
> >
> > [3] => Array
> > (
> > [id] => 25
> > [college_id] => 3
> >   

Re: how to get the array value in view

2013-03-08 Thread Joseph zhu
ADD:
the code from controller: 
$coursedatas = 
$this->Category->find('all',array('conditions'=>array('Category.id'=>$category)),
 
array(
'contain' => array(
'Curriculum' => array(
'fields' => array('Curriculum.title'),
'order' => array(
'Curriculum.id' => 'desc'
)
)
)
));

In the view,I use 



but I can't get the value for field Curriculum.title
how to get the value for filed Curriculum.title.
Thank you.
On Friday, March 8, 2013 5:21:34 PM UTC-8, Joseph zhu wrote:
>
> Hello there:
> Below is array, who can get the value for [Curriculum][title]?
> Thank you so much.
>
> Array([0] => Array([Category] => Array
> ([id] => 3[program] =>
>  [title] => JOURNALISM[public] => 1   
>  [timecreated] => [timemodified] => 2012-02-20 16:38:13   
>  )[Curriculum] => Array(  
>   [0] => Array([id] 
> => 22[college_id] => 3
> [level] => BA[category_id] => 3   
>  [code] => JO100[title] => Reporting  
>   [units] => 4[preunits] =>   
>   [location] => 0
> [professor] => [ta] =>
>  [language] => 0[schedule] => 
> [textbook] => [syllabus] =>   
>   [description] => [timecreated] =>   
>   [timemodified] => 2012-09-25 17:16:48   
>  [program_id] => 5[display] => T  
>   [precourse] => 0)   
>  [1] => Array([id] => 
> 23[college_id] => 3
> [level] => BA[category_id] => 3   
>  [code] => JO110[title] => Ethical Issues 
> in Journalism [units] => 3
> [preunits] => [location] => 0 
>[professor] => [ta] => 
> [language] => 0[schedule] =>  
>[textbook] => [syllabus] =>
>  [description] => 
> [timecreated] => [timemodified] => 2012-06-12 
> 16:59:43[program_id] => 5 
>[display] => T[precourse] => 0 
>)[2] => Array( 
>[id] => 24[college_id] => 3
> [level] => BA[category_id] => 
> 3[code] => JO200
> [title] => News Writing [units] => 4  
>   [preunits] => [location] => 0   
>  [professor] => [ta] =>   
>   [language] => 0
> [schedule] => [textbook] =>   
>   [syllabus] => [description] =>  
>[timecreated] => [timemodified] => 
> 2012-09-01 12:47:03[program_id] => 5  
>   [display] => T[precourse] => 0  
>   )[3] => Array(  
>   [id] => 25[college_id] 
> => 3[level] => BA
> [category_id] => 3[code] => JO210 
>[title] => Editorial Writing  
> [units] => 4[preunits] => 
> [location] => 0[professor] => 
> [ta] => [language] => 0   
>  [schedule] => [textbook] =>  
>[syllabus] => [description] => 
> [timecreated] => 
> [timemodified] => 2012

Re: missing controller exception

2013-03-08 Thread Jeremy Burns | Class Outfit
Check the error log for missing js or css assets - I've seen this before.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 9 Mar 2013, at 04:06:45, Devario Johnson  wrote:

> Thanks for the suggestion.  I've never done anything in the Controller (since 
> it's higher than the app controller), but I'll see if there is something 
> rogue afoot.  keep in mind everything works fine with no errors or warnings 
> being reported anywhere.
> 
> On Fri, Mar 8, 2013 at 9:33 PM, lowpass  wrote:
> On Fri, Mar 8, 2013 at 9:32 PM, lowpass  wrote:
> > You may have a typo in one of your classes. I was getting a missing
> > AppController msg today because of a missing comma in its Auth config.
>  
> On that note, have a look at the "Begginer's Lesson learned" thread.
> 
> --
> 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 a topic in the Google 
> Groups "CakePHP" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/cake-php/OEn-GQ8zuuk/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> 
> 
> 
> -- 
> 
> 
> - Devario Johnson
> Senior Web Applications Developer / I.T. Consultant
> B.A. Communication Technology / Information Systems
> 
> -- 
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: missing controller exception

2013-03-08 Thread Devario Johnson
Thanks for the suggestion.  I've never done anything in the Controller
(since it's higher than the app controller), but I'll see if there is
something rogue afoot.  keep in mind everything works fine with no errors
or warnings being reported anywhere.

On Fri, Mar 8, 2013 at 9:33 PM, lowpass  wrote:

> On Fri, Mar 8, 2013 at 9:32 PM, lowpass  wrote:
> > You may have a typo in one of your classes. I was getting a missing
> > AppController msg today because of a missing comma in its Auth config.
>
> On that note, have a look at the "Begginer's Lesson learned" thread.
>
> --
> 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 a topic in the
> Google Groups "CakePHP" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/cake-php/OEn-GQ8zuuk/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 

- Devario Johnson
Senior Web Applications Developer / I.T. Consultant
B.A. Communication Technology / Information Systems

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: how to get the array value in view

2013-03-08 Thread lowpass
You can use the Set (deprecated) or Hash class to extract an array of
titles. The path you would use:
'{n}.Curriculum.{n}.title'

Or possibly:
'0.Curriculum.{n}.title'

You could also get the titles keyed by their IDs. But then you may as
well doa find('list') to get thesame thing a lot easier.

On Fri, Mar 8, 2013 at 8:21 PM, Joseph zhu  wrote:
> Hello there:
> Below is array, who can get the value for [Curriculum][title]?
> Thank you so much.
>
> Array
> (
> [0] => Array
> (
> [Category] => Array
> (
> [id] => 3
> [program] =>
> [title] => JOURNALISM
> [public] => 1
> [timecreated] =>
> [timemodified] => 2012-02-20 16:38:13
> )
>
> [Curriculum] => Array
> (
> [0] => Array
> (
> [id] => 22
> [college_id] => 3
> [level] => BA
> [category_id] => 3
> [code] => JO100
> [title] => Reporting
> [units] => 4
> [preunits] =>
> [location] => 0
> [professor] =>
> [ta] =>
> [language] => 0
> [schedule] =>
> [textbook] =>
> [syllabus] =>
> [description] =>
> [timecreated] =>
> [timemodified] => 2012-09-25 17:16:48
> [program_id] => 5
> [display] => T
> [precourse] => 0
> )
>
> [1] => Array
> (
> [id] => 23
> [college_id] => 3
> [level] => BA
> [category_id] => 3
> [code] => JO110
> [title] => Ethical Issues in Journalism
> [units] => 3
> [preunits] =>
> [location] => 0
> [professor] =>
> [ta] =>
> [language] => 0
> [schedule] =>
> [textbook] =>
> [syllabus] =>
> [description] =>
> [timecreated] =>
> [timemodified] => 2012-06-12 16:59:43
> [program_id] => 5
> [display] => T
> [precourse] => 0
> )
>
> [2] => Array
> (
> [id] => 24
> [college_id] => 3
> [level] => BA
> [category_id] => 3
> [code] => JO200
> [title] => News Writing   
> [units] => 4
> [preunits] =>
> [location] => 0
> [professor] =>
> [ta] =>
> [language] => 0
> [schedule] =>
> [textbook] =>
> [syllabus] =>
> [description] =>
> [timecreated] =>
> [timemodified] => 2012-09-01 12:47:03
> [program_id] => 5
> [display] => T
> [precourse] => 0
> )
>
> [3] => Array
> (
> [id] => 25
> [college_id] => 3
> [level] => BA
> [category_id] => 3
> [code] => JO210
> [title] => Editorial Writing  
> [units] => 4
> [preunits] =>
> [location] => 0
> [professor] =>
> [ta] =>
> [language] => 0
> [schedule] =>
> [textbook] =>
> [syllabus] =>
> [description] =>
> [timecreated] =>
> [timemodified] => 2012-0

Re: APC caching integer value 0 returns false on read

2013-03-08 Thread lowpass
== false
=== false

Are you using the latter?

On Thu, Mar 7, 2013 at 6:05 PM, Richard  wrote:
> I'm having a problem with APC caching engine, when trying to cache the
> integer value 0 it returns as false when read back out?
>
>  Cache::write('stats', 0);
> Cache::read('stats'); // returns false?
>
> This is on cake 2.3.1 / php 5.4
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Content blocks via controller

2013-03-08 Thread lowpass
// class var
private $controller;

function startup(Controller $controller)
{
$this->$controller = $controller;
}

// in your method you can call controller methods like so:

$this->controller->set('your_view_var', $data);
$this->controller->render(...);
etc.

On Thu, Mar 7, 2013 at 3:51 PM, André Luis  wrote:
> Nothing?
>
>
> Em quinta-feira, 23 de agosto de 2012 14h19min07s UTC-3, André Luis
> escreveu:
>>
>> I will explain a little bit better...
>>
>> I need to create a content block to use in my layout, for example...
>>
>> echo $this->fetch('my_custom_content');
>>
>> BUT, the data for this my_custom_content comes from a Component, for
>> example in AppController: public $components=array('MyCustomComponent'); AND
>> this component get the data from the database through a Model...
>>
>> Is it possible?
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Saving AJAX Checkboxes

2013-03-08 Thread lowpass
It's been a while (pre Cake 2.x) since I did anything with HABTM
checkboxes, but I believe the new syntax is simply:

$this->Form->input('Location', ...

On Thu, Mar 7, 2013 at 7:14 AM, Jerome Walitzek
 wrote:
> Hi there,
>
> at the moment i have still no success and the same problem.
>
> I have created a new views. Everything works fine. But still the same
> problem that only the event.id will stored into the table. the location_id
> will not stored.
>
> Any ideas ?
>
> EventLocationsController.php
> function add($id = null) {
> if (!empty($this->data)) {
> $this->EventLocation->create();
> if ($this->EventLocation->save($this->data)) {
> $this->Session->setFlash(__('The Post has been saved.', true));
> $this->redirect(array('action'=>'add',$this->EventLocation->id));
> } else {
> $this->Session->setFlash(__('The Post could not be saved. Please, try
> again.', true));
> }
> }
> if (empty($this->data)) {
> $this->data = $this->EventLocation->read(null, $id);
> }
> $events = $this->EventLocation->Event->find('all');
> $this->set(compact('events'));
> }
>
> public function locations($city_id) {
> $this->layout = NULL;
> $locations = $this->EventLocation->Location->find('list', array('conditions'
> => array('Location.city_id' => $city_id)));
> $this->set(compact('locations'));
> }
>
> Model/EventLocation.php
> public $belongsTo = array(
> 'Event' => array(
> 'className' => 'Event',
> 'foreignKey' => 'event_id',
> 'conditions' => '',
> 'fields' => '',
> 'order' => ''
> ),
> 'Location' => array(
> 'className' => 'Location',
> 'foreignKey' => 'location_id',
> 'conditions' => '',
> 'fields' => '',
> 'order' => ''
> )
> );
> var $hasAndBelongsToMany = array(
> 'Location' => array(
> 'className' => 'Location',
> 'joinTable' => 'EventLocations',
> 'foreignKey' => 'event_id',
> 'associationForeignKey' => 'location_id',
> //'with' => 'PostToTag',
> ),
> );
>
> View/add.ctp
>  echo $this->Html->script('http://code.jquery.com/jquery-1.9.1.min.js');
> ?>
> 
> Form->create('EventLocation'); ?>
> 
> 
>  $select_value = array();
> foreach($events as $event) {
> $key = $event['Event']['id'];
> $cityid = $event['Event']['city_id'];
> $value = $event['Event']['name'];
> $select_value[$cityid] = $value;
> }
>
> $mydata = $this->data;
> echo $this->Form->select('event_id', $select_value, array('label'=>
> 'Veranstaltung'));
> echo $this->Js->writeBuffer();
> ?>
> 
> 
> Form->end(__('Submit')); ?>
> 
>
> 
> $("#EventLocationEventId").click(function(){
>var cityid = $("#EventLocationEventId").val();
>$.get("/evants/EventLocations/locations/"+ cityid,
> function(data) {
> $('#locations').fadeOut("fast", function() {
>   $('#locations').html(data);
>   $('#locations').fadeIn("fast");
> });
> });
>return false;
> });
> 
>
> View/locations.ctp
>  echo $this->Form->input('EventLocation.location_id',array(
> 'label' => __('Location',true),
> 'type' => 'select',
> 'multiple' => 'checkbox',
> 'options' => $locations,
> ));
> ?>
>
> Am Mittwoch, 6. März 2013 16:03:55 UTC+1 schrieb Jerome Walitzek:
>>
>> Hi there,
>>
>> i have following tables
>>
>> Events
>> Cities
>> Locations
>> EventLocations
>>
>> When i edit an Event i can select the city (city_id) where the event is.
>> But every City has more than one location which i get over AJAX.
>> That works Great.
>> But now i want to store the locations which i have "checkboxed" into the
>> table "event_locations"
>> How can i do that ?
>>
>> Any ideas ?
>>
>> Here is my Code:
>> edit.ctp
>> > echo $this->Form->input('city_id');
>> echo $this->Js->writeBuffer();
>> ?>
>>
>> 
>>
>> 
>> $("#EventCityId").click(function(){
>>var cityid = $("#EventCityId").val();
>>$.get("/events/fetch/"+ cityid,
>> function(data) {
>> $('#target-div').fadeOut("fast", function() {
>>   $('#target-div').html(data);
>>   $('#target-div').fadeIn("fast");
>> });
>> });
>>return false;
>> });
>> 
>>
>> EventsController.php
>> public function fetch($city_id) {
>> $locations = $this->Event->Location->findAllByCityId($city_id);
>> $this->set('locations', $locations);
>> }
>>
>> fetch.ctp
>> > $select_value = array();
>> foreach($locations as $location) {
>> $key = $location['Location']['id'];
>> $value = $location['Location']['name'];
>> $select_value[$key]= $value;
>> }
>> $mydata = $this->data;
>> echo $this->Form->select('Location', $select_value, array('label'=> false,
>> 'multiple' => 'checkbox'));
>> echo $this->Html->link(__('Add another Location'), array('controller' =>
>> 'locations', 'action' => 'add'));
>> ?>
>>
>> Thanks for help
>
> --
> 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.
> V

Re: missing controller exception

2013-03-08 Thread lowpass
On Fri, Mar 8, 2013 at 9:32 PM, lowpass  wrote:
> You may have a typo in one of your classes. I was getting a missing
> AppController msg today because of a missing comma in its Auth config.

On that note, have a look at the "Begginer's Lesson learned" thread.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: missing controller exception

2013-03-08 Thread lowpass
You may have a typo in one of your classes. I was getting a missing
AppController msg today because of a missing comma in its Auth config.


On Wed, Mar 6, 2013 at 12:56 PM, Devario Johnson  wrote:
> Hi all, Im trying to debug this error.
>
> when I look at the cakelogs I get this
>
> [MissingControllerException] Controller class Controller could not be found.
>
> where should I look to begin debugging this?  I googled around and everyone
> with a similar issue was referencing an actual controller like img or
> jscontroller.
>
> Is there a way i can get a better idea of what exactly is bombing?  I looked
> at the server access logs and there is a revolving 302 happening.
>
> I commented out my routes to check if it was happening there and the error
> persisted.
>
> Any ideas?
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Help With Classes and Objects

2013-03-08 Thread lowpass
On Wed, Mar 6, 2013 at 11:03 AM, Karl Smith  wrote:
> I am currently taking on a medium sized application and I need a few
> pointers as far as the design process goes. The project I am working on is
> going to be a new version of a website written with the ASP.NET 1.1
> framework. The application I am working with is very straightforward ,but I
> want to know what should be considered a class. There is one class that I am
> sure that I will have and that is Users. Now with that said, the application
> will have three types of users, which are Agency, Individuals, and last but
> not least Admin. Now the only thing that my application will be really used
> for is to submit data via forms, and once submitted the users will have to
> the ability to view the data submitted and export the data to an excel
> spreadsheet. Now my question is by looking at the legacy website, how should
> I know what should be considered a class, and also what should be considered
> an object. With that said, this is my first real project and I just need a
> little guidance. Thanks in advance!!

You may want to consider User and Role classes and implementing ACL.
The latter may seem intimidating but it's not to hard to understand.
Just be patient when reading up on it. Here's a good tutorial:

http://mark-story.com/posts/view/auth-and-acl-an-end-to-end-tutorial-pt-1

As for classes and objects, they're the same thing (more or less). An
object is an instance of a class. The class defines the object. The
object is what you call the class methods on.

class MyClass {
  public $bar = 'foo bar';
}

$Foo = new Mylass(); // $Foo is an object now; let's do something with it

echo $Foo->bar();

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Multirow form - add inputs with JS, but only the first ones gets submitted ...

2013-03-08 Thread lowpass
On Wed, Mar 6, 2013 at 9:48 AM,   wrote:
> I'm doing a CakePHP site, I have a form there, and the user should be able
> to add multirow inputs dynamically, with JavaScript. Let me simplify it: I
> generate the first input with this code:
>
> echo $this->Form->input('Student.0.name');
>
> So, when the user click on add more inputs - then I inject the HTML for this
> input - which is:
>
> 
>   Width name="data[Student][1][name]" id="Student1Name" type="text">
> 
>
> The HTML, generated from the CakePHP code is equal to the other one - except
> the "0" and "1", we have sequent number here. But, when I submit - I have
> only the first input data on the server ... as the other ones have never
> been submitted.

That looks correct to me. Are you sure that the new inputs are being
placed inside the form? Check with Firebug.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting the "Value" of "Options" in a drop down...

2013-03-08 Thread lowpass
On Wed, Mar 6, 2013 at 8:37 AM, April DeRossett
 wrote:
> Thanks! ...Unfortunately, sometimes you inherit a database schema and just
> have to make do with what you have.

Yeah, I've been down that road before.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




how to get the array value in view

2013-03-08 Thread Joseph zhu
Hello there:
Below is array, who can get the value for [Curriculum][title]?
Thank you so much.

Array([0] => Array([Category] => Array( 
   [id] => 3[program] =>
 [title] => JOURNALISM[public] => 1
[timecreated] => [timemodified] => 2012-02-20 16:38:13  
  )[Curriculum] => Array(   
 [0] => Array([id] => 22
[college_id] => 3[level] => 
BA[category_id] => 3
[code] => JO100[title] => Reporting 
   [units] => 4[preunits] =>
 [location] => 0[professor] =>  
   [ta] => [language] => 0  
  [schedule] => [textbook] =>   
  [syllabus] => [description] 
=> [timecreated] => 
[timemodified] => 2012-09-25 17:16:48[program_id] 
=> 5[display] => T
[precourse] => 0)[1] => Array   
 ([id] => 23
[college_id] => 3[level] => BA  
  [category_id] => 3[code] => JO110 
   [title] => Ethical Issues in Journalism  
   [units] => 3[preunits] =>
 [location] => 0[professor] =>  
   [ta] => [language] => 0  
  [schedule] => [textbook] =>   
  [syllabus] => [description] =>
 [timecreated] => 
[timemodified] => 2012-06-12 16:59:43[program_id] 
=> 5[display] => T
[precourse] => 0)[2] => Array   
 ([id] => 24
[college_id] => 3[level] => BA  
  [category_id] => 3[code] => JO200 
   [title] => News Writing   
[units] => 4[preunits] =>   
  [location] => 0[professor] => 
[ta] => [language] => 0 
   [schedule] => [textbook] =>  
   [syllabus] => [description] =>   
  [timecreated] => [timemodified] 
=> 2012-09-01 12:47:03[program_id] => 5 
   [display] => T[precourse] => 0   
 )[3] => Array( 
   [id] => 25[college_id] => 3  
  [level] => BA
[category_id] => 3[code] => JO210   
 [title] => Editorial Writing  [units] 
=> 4[preunits] => 
[location] => 0[professor] =>   
  [ta] => [language] => 0   
 [schedule] => [textbook] =>
 [syllabus] => [description] => 
[timecreated] => [timemodified] => 
2012-09-25 17:26:01[program_id] => 23   
 [display] => T[precourse] => 0 
   )[4] => Array(   
 [id] => 26[college_id] => 3
[level] => BA[category_id] 
=> 3[code] => JO300
[title] => Advanced Reporting [units] => 3  
  [preunits] =>

Re: Model and Datasource for NoSQL (MongoDB) - relations

2013-03-08 Thread Ivan Rimac
maybe this could be some very good solution, but it needs some hard shit to
do in database layer: http://www.doctrine-project.org/ basically it
intercepts everything u send to db, turns it into whatever is on the the
other side and get back to you what u requested.



On Fri, Mar 8, 2013 at 7:09 PM, Vanja Dizdarević
wrote:

> Disclaimer: If there is a better place to ask this question, do tell!
>
> I have been working on this MongoDB plugin for 
> Cake- specifically, I am 
> working on relations.
>
> As you might know, NoSQL systems offer a different approach on
> associations. For one, there is no "join tables" (at least not by default),
> but the associated records are stored as an array of ID's in the original
> record (and vice-versa for HABTM). There is an extensive amount of other
> possibilities, but for starters, I would like to mimic Cake's default model
> operations.
>
> As I understand it, the CRUD operations on associations are generated (or
> rather, instructed) by the Model class, not the DataSource class. Current
> Model implementation doesn't allow the datasource to decide which IDs go
> where and to adjust the logic of storage to the specific database adapters
> (and strategies).
>
> In short, Cake Model doesn't do that well with NoSQL which I guess is a
> design decision.
>
> I am, however, wondering what would be the best approach to solve these
> issues:
>
>- Model doesn't recognize MongoID objects as UUIDs (best case scenario
>is a 24hex), Cake supports only 16 and 32 binary or string types
>- Model doesn't support the HABTM instructions specific to Mongo/NoSQL
>
> So, I am wondering how to go about solving these issues. Two ideas:
>
>
>- Create an intermediate "MongodbModel" class (ex. Article (app model)
>extends MongodbModel extends AppModel extends Model) and override the
>saveMany, saveAssociated and saveAll methods.
>- Create a Behavior and modify the CRUD logic where needed.
>
> Which approach would be more conventional? Is the second one at
> all feasible? Any other ideas are greatly appreciated.
>
> You can check out the code at
> https://github.com/dizyart/cakephp-mongodb/tree/2.0b the MongoAssociation
> test case offers some insight in what I'm trying to do (hasMany/belongsTo
> assoc. work fine). If additional details are required, I'd be happy to give
> them.
>
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
*Ivan Rimac***
mail: ivn...@gmail.com
*tel: +385 95 555 99 66*
*http://ivanrimac.com*

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: ajax call content in dialog box without remoteFunction

2013-03-08 Thread Chris
anyone,...?

On Thursday, March 7, 2013 5:23:46 PM UTC-8, Chris wrote:
>
> hi guys,... can anyone help please ,... 
> how can I call content from another page into a dialog box without 
> remoteFunction,... any other way,...? 
>
> 
> remoteFunction(array('url' => array('controller' => 
> 'photo_comment', 'action' => 'report_spam/', 
> $photo_comment['PhotoComment']['id']), 'update' => 
> "photo_comments_reports_".$photo_comment['PhotoComment']['id'] )); ?>
>  
> this is what I currently have,... but it's conflicting with remoteFunction 
> in remoteFunction page. 
>
> thanks in advance 
> chris 
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: my project folder name is not taking in to url

2013-03-08 Thread abhijit kakade
Check your .htaccess file

On Thu, Mar 7, 2013 at 8:29 PM,  wrote:

> my project folder name like "freeprint" is not taking in to cake php urls.
> it show me like "http://localhost/pages/home"; instead of "
> http://localhost/freeprint/pages/home";. Can any one let me know on urgent
> basis because my site is live and its creating issue for me.
>
> Looking for your kind support.
>
> Pankaj
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Abhijit Kakade
LAMP Developer,
MCP,CCNA
Mob : +91-9923729250

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Model and Datasource for NoSQL (MongoDB) - relations

2013-03-08 Thread Vanja Dizdarević
Disclaimer: If there is a better place to ask this question, do tell!

I have been working on this MongoDB plugin for 
Cake- specifically, I am working 
on relations.

As you might know, NoSQL systems offer a different approach on 
associations. For one, there is no "join tables" (at least not by default), 
but the associated records are stored as an array of ID's in the original 
record (and vice-versa for HABTM). There is an extensive amount of other 
possibilities, but for starters, I would like to mimic Cake's default model 
operations.

As I understand it, the CRUD operations on associations are generated (or 
rather, instructed) by the Model class, not the DataSource class. Current 
Model implementation doesn't allow the datasource to decide which IDs go 
where and to adjust the logic of storage to the specific database adapters 
(and strategies).

In short, Cake Model doesn't do that well with NoSQL which I guess is a 
design decision.

I am, however, wondering what would be the best approach to solve these 
issues:

   - Model doesn't recognize MongoID objects as UUIDs (best case scenario 
   is a 24hex), Cake supports only 16 and 32 binary or string types
   - Model doesn't support the HABTM instructions specific to Mongo/NoSQL

So, I am wondering how to go about solving these issues. Two ideas:


   - Create an intermediate "MongodbModel" class (ex. Article (app model) 
   extends MongodbModel extends AppModel extends Model) and override the 
   saveMany, saveAssociated and saveAll methods.
   - Create a Behavior and modify the CRUD logic where needed.

Which approach would be more conventional? Is the second one at 
all feasible? Any other ideas are greatly appreciated.

You can check out the code 
at https://github.com/dizyart/cakephp-mongodb/tree/2.0b the 
MongoAssociation test case offers some insight in what I'm trying to do 
(hasMany/belongsTo assoc. work fine). If additional details are required, 
I'd be happy to give them.

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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




how to do multiple joins

2013-03-08 Thread AugustoA
Good afternoon,
I`m new using cakephp and I got some questions that I couldn`t figure how 
to solve.
Let me introduce an example:

i have the following tables
USERS hasmany MASTERS
MASTERS hasmany CLIENTS and belongs to USERS
CLIENTS has many GROUPS and belongs to MASTERS

Now in the add page of GROUPSI have a dropdown that I can select MASTERS 
records and CLIENTSrecords.
With this how can I filter the dropdown to show just the TABLE1 that are 
from the logged user?

I tried like this to the index, it works but I think that must be a more 
intelligent form of doing it

$this->User->unbindModel(array('belongsTo'=>array('Client')));

$options = array(
'joins' => array(
  array(
'table' => 'clients',
'alias' => 'Client',
'type'  => 'LEFT',
'conditions' => array(
  'client.id = group.client_id'
)
  ),
  array(
'table' => 'masters',
'alias' => 'master',
'type'  => 'LEFT',
'conditions' => array(
  'master.id = client.master_id'
)
  )
),
'fields' => array(
  'group.id',
  'group.nome',
  'Client.id',
  'Client.cliente',
),
'conditions' => array(
  'master.user_id' => $this->Session->read('Auth.User.id')
)
  
);
 $groups = $this->Group->find('all', $options); 
$this->set(compact('groups'));

Or simply should I put user_id in all tables???

Thanks for the support guys
Augusto

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Changing /webroot and /views directories

2013-03-08 Thread Mthabisi Mlunjwa
I need to have 5 different views directories which use the same controllers.
I want all front end views to be different but i want them to use the same
controllers. I see there is a way to define the constants but i would like
to use the bootstrap to define the different View paths

/**
 * The settings below can be used to set additional paths to models, views
and controllers.
 * This is related to Ticket #470 (https://trac.cakephp.org/ticket/470)
 *
 * App::build(array(
 * 'plugins' => array('/full/path/to/plugins/',
'/next/full/path/to/plugins/'),
 * 'models' =>  array('/full/path/to/models/',
'/next/full/path/to/models/'),
 * 'views' => array('/full/path/to/views/',
'/next/full/path/to/views/'),
 * 'controllers' => array('/full/path/to/controllers/',
'/next/full/path/to/controllers/'),
 * 'datasources' => array('/full/path/to/datasources/',
'/next/full/path/to/datasources/'),
 * 'behaviors' => array('/full/path/to/behaviors/',
'/next/full/path/to/behaviors/'),
 * 'components' => array('/full/path/to/components/',
'/next/full/path/to/components/'),
 * 'helpers' => array('/full/path/to/helpers/',
'/next/full/path/to/helpers/'),
 * 'vendors' => array('/full/path/to/vendors/',
'/next/full/path/to/vendors/'),
 * 'shells' => array('/full/path/to/shells/',
'/next/full/path/to/shells/'),
 * 'locales' => array('/full/path/to/locale/',
'/next/full/path/to/locale/')
 * ));
 *
 */


considering these are 2 different view paths: 
 'views' => array('/full/path/to/views/', '/next/full/path/to/views/'),

How do i specify the full paths? Should it be like this:
'views' => array(APP.'views'.DS , APP.'mobile'.DS)

and where do i specify which path to use?



--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/Changing-webroot-and-views-directories-tp5714038.html
Sent from the CakePHP mailing list archive at Nabble.com.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




SecurityComponent + very large form = BlackHole

2013-03-08 Thread Ernesto
Hello.

i have an action with a very large form (nearly 1000 inputs)

SecurityComponent isn't amused and, as result, he's blackholing all my POST 
requests from this page.

why?

maybe the string to generate security hashes is becoming too long?


-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How can I use CakePHP on Heroku without getting logged out everytime I do an update?

2013-03-08 Thread Rémi Dewitte
Hello,

I personally prefer to use an encrypted cookie :
- it does not rely on sessions
- it is stored by the client browser
- it is easy to implement the 'Remember me' feature
- it is quite secure 

Let me know if you want me to share some code !

Rémi

On Thursday, 7 March 2013 13:52:54 UTC+1, Simon Males wrote:
>
> Actually database session is a good suggestion, if you stuck on Heroku.
>
>
> On Mon, Mar 4, 2013 at 5:36 PM, majna >wrote:
>
>> Instead of Memcache you should use Memcached that supports Heroku SASL 
>> auth.
>> i.e https://github.com/kamisama/CakePHP-Memcached-Engine
>>
>> - extend this engine, add auth option 
>> http://www.php.net/manual/en/memcached.setsaslauthdata.php
>> here 
>> https://github.com/kamisama/CakePHP-Memcached-Engine/blob/master/MemcachedEngine.php#L99
>>  
>> using Heroku environment vars and off you go
>>
>> --or you can use Redis engine that supports auth/password
>>
>>
>> On Monday, March 4, 2013 1:49:46 AM UTC+1, Shahruk Khan wrote:
>>>
>>> Yes, how would I do that? Memcache on Heroku requires a 
>>> server/username/password but CakePHP doesn't seem to support a username.
>>>
>>> On Sunday, March 3, 2013 7:24:48 PM UTC-5, Thiago Belem wrote:

 Maybe storing the session on the database or with memcache?

 --
 ***Thiago Belem*
 Desenvolvedor
 Rio de Janeiro - RJ - Brasil

 *Assando Sites* - Curso online de *CakePHP*
 assando-sites.com.br 

 thiagobelem.net
 con...@thiagobelem.net

 *Skype / gTalk **»* thiago.belem.web
 *LinkedIn* *»* 
 br.linkedin.com/in/**thiagobelem/pt
  

 On Sun, Mar 3, 2013 at 9:10 PM, Shahruk Khan wrote:

> Essentially, I host a CakePHP site on Heroku (http://theboxngo.com), 
> but whenever I do a Git push to update the site, all my users get logged 
> out.
>
> I'm assuming it has to do with the /tmp folder which gets refreshed 
> everytime you do an update on Heroku. How can I work around this issue?
>  
> -- 
> 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+u...@googlegroups.com**.
> To post to this group, send email to cake...@googlegroups.com.
> Visit this group at 
> http://groups.google.com/**group/cake-php?hl=en
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>  
>  
>

  -- 
>> 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+u...@googlegroups.com .
>> To post to this group, send email to cake...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Simon Males 
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.