Hi, please tell me how to correctly naming the external data source in the 
database.php.

All my datasource files are placed in app /model/datasource as eg 
youtube.php.

*database.php* :

<?php
...
public $youtube = array(
        'datasource' => '*YoutubeSource*',
         .....
?>

Or as described for twitter example in

http://book.cakephp.org/2.0/en/models/datasources.html

<?php
    var $twitter = array(
        'datasource' => '*twitter*',
        'login' => 'username',
        'password' => 'password',
    );?>

Thanks



-- 
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 unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to