Re: CakePHP weekly summaries

2008-01-05 Thread Sharan

Great Work Christian. I had also this thing in mind after i saw after
i started reading zend weekly summaries. Kudos for taking
initiative!!!

P.S. I have added it to Cakephp super feed: http://feeds.feedburner.com/cakephp

Regards,
Sharan.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CakePHP weekly summaries

2008-01-04 Thread Sharan

Great Work Christian. I had also this thing in mind after i saw after
i started reading zend weekly summaries. Kudos for taking
initiative!!!

P.S. I have added it to Cakephp super feed:http://feeds.feedburner.com/
cakephp

Regards,
Sharan.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Blog Tutorial

2007-12-29 Thread Sharan

Form related functions have been moved to form helper in cake1.2
instead of html helper.

Read this article to make the blog tutorial work for you in cake 1.2 :
http://ahsanity.wordpress.com/2007/08/31/making-the-blog-tutorial-run-on-cakephp-12/

Regards,
Sharan.

On Dec 29, 4:15 pm, cookiejar_3 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having a problem with the blog tutorial, I followed the steps on
> how to create a blog. The viewing of the title and the message was
> good but adding a blog does not work well. when I run thehttp://www/posts/add
> It gives me a message:
>
> Notice: Method input() is deprecated in HtmlHelper: see
> FormHelper::input or FormHelper::text in C:\apache\htdocs\cake\cake
> \libs\view\helpers\html.php on line 652
>
> Notice: Method tagErrorMsg() is deprecated in HtmlHelper: see
> FormHelper::error in C:\apache\htdocs\cake\cake\libs\view\helpers
> \html.php on line 718
>
> Body:
> Notice: Method textarea() is deprecated in HtmlHelper: see
> FormHelper::input or FormHelper::textarea in C:\apache\htdocs\cake\cake
> \libs\view\helpers\html.php on line 576
>
> Warning (512): Method HtmlHelper::submit does not exist [CORE\cake\libs
> \view\helper.php, line 148]
>
> I'm using a Cake 1.2.0 stable version and my posts_controller.php is:
>
>  class PostsController extends AppController{
> var $name = 'Posts';
> function index(){
>$this->set('posts', $this->Post->findAll());
> }
>
> function view($id = null){
> $this->Post->id = $id;
> $this->set('post', $this->Post->read());
> }
>
> function add(){
>if (!empty($this->data)){
>   if ($this->Post->save($this->data)){
> $this->flash('Your post has been saved.','/posts');
>   }
>}
> }}
>
> ?>
>
> My add.thtml is:
>
> Add Post
> 
> 
> Title:
> input('Post/title', array('size' => '40'))?>
> tagErrorMsg('Post/title', 'Title is
> required.') ?>
> 
> 
> Body:
> textarea('Post/body', array('rows'=>'10')) ?
>
> tagErrorMsg('Post/body', 'Body is
> required.') ?>
> 
> 
> submit('Save') ?>
> 
> 
>
> Somebody please help me..
> Thanks in advance..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CakePHP Super Feed

2007-12-29 Thread Sharan

Thanks for the appreciation guys. I have added a couple of more blogs.

Thanks Again,
Sharan.

On Dec 28, 7:08 pm, Baz <[EMAIL PROTECTED]> wrote:
> Excellent.
>
> Now I can find valid posts without having to sift through the idiots who
> just repost stuff from this mailing list.
>
> On Dec 28, 2007 6:34 AM, Dr. Tarique Sani <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 12/28/07, Sharan <[EMAIL PROTECTED]> wrote:
> > > posts about cake (link Snook, devmoz's cake posts; This was possible
> > > due to the filter funcitonality in pipes). The feed also contains
> > > posts from Some Non-English blogs thanks to pipes' bablefish widget.
>
> > This is indeed cool :)
>
> > Tarique
>
> > P.S. Thanks for including sanisoft.com
>
> > --
> > =
> > Cheesecake-Photoblog:http://cheesecake-photoblog.org
> > PHP for E-Biz:http://sanisoft.com
> > =
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Jquery plugin in for CAKE1.2

2007-12-28 Thread Sharan

Hi,
 This may be helpful: 
http://www.ngcoders.com/php/jquery-helper-for-cakephp-pquery-port/
.

Regards,
Sharan.

On Dec 28, 11:48 pm, CakeMan <[EMAIL PROTECTED]> wrote:
> hello,
>
> Is there any good Jquery plugin  available for CAKE1.2 ? pls let me
> know. i needed it for my project.
>
> Thanks !!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



CakePHP Super Feed

2007-12-27 Thread Sharan

Hello Everybody,
   I've created a new feed regarding cakephp using Yahoo Pipes.
You can access the feed at http://feeds.feedburner.com/cakephp . It
contains feeds from all main cake blogs (such as cakebaker, at the
keyboard, bakery, cake core team blogs) PLUS cakephp related posts
from folks who don't always post about cake but have some really nice
posts about cake (link Snook, devmoz's cake posts; This was possible
due to the filter funcitonality in pipes). The feed also contains
posts from Some Non-English blogs thanks to pipes' bablefish widget.

Here is the pipe page if you want to see the sources and pipe
structure : http://pipes.yahoo.com/sharanbrar/cakephp

Please let me know if I missed some sources. I will be constantly
adding new blogs when i discover them. It's nice to have a single feed
to add to my netvibes account.


Thanks,
Sharan.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CakePHP and MS Access

2006-08-13 Thread Sharan

One more thing to add, Without cakephp, I just tried ADOdb library for
php and i was able to connect to the same Microsoft Access Database
successfully. I used the following code.

Connect($dsn) or die("Could not Cnnect");
?>


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



CakePHP and MS Access

2006-08-13 Thread Sharan

Hi All,
 I am redoing the admin panel for already working site using MS
Access Database. I am trying to connect with MS Access by using
following syntax but no success. It gives the message that "Your
database configuration file is present.
Cake is not able to connect to the database."

var $default = array('driver'   => 'adodb',
 'connect'  => 'ado_access',
 'host' => 'Driver={Microsoft Access
Driver(*.mdb)};Dbq=F:\Websites\beta\beta.mdb;Uid=Admin;Pwd=;',
 'login'=> 'Admin',
 'password' => '',
 'database' => 'beta.mdb' );

I also tried to follow the procedure written in wiki.
(http://wiki.cakephp.org/docs:databases) but it gives the message

"Your database configuration file is present.

Fatal error: Unable to load DataSource file dbo\dbo_adodb-access.php in
F:\Websites\beta\admin\cake\libs\model\connection_manager.php on line
153"

If anybody had success in connecting with MS Access please tell me the
procedure.

Regards,
Sharan.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Unable to Access the Models from Admin Controller

2006-08-05 Thread Sharan

Hi,
 Here is the controller code

set('agents', $this->Agent->findAll());
}

}
?>

and here is the view (agents_index.thtml)

Agents


Name
Company Name
City
State
URL
Status










View Edit Delete




But the page shows the error :
Warning: Invalid argument supplied for foreach() in
/opt/lampp/htdocs/houseseeker/app/views/admin/agents_index.thtml on
line 15

and it does not show any recrods although there are records in the
table agents and also print_r($agents) also outputs nothing.

and line 15 is  $this->set('agents', $this->Agent->findAll());

Any Ideas. How to make the controller access the records of the Agent
Model.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---