Re: i'm newbie

2011-03-23 Thread aji ipank
emmhh...1 more question, is this .ctp file is compatible if i write
php code inside the .ctp file? sory for my bad english.. thank you..

On 22/03/2011, Ryan Schmidt google-2...@ryandesign.com wrote:

 On Mar 22, 2011, at 08:43, Robert Bodley wrote:

 Hi I'm also a Newbie can someone please expain how the function pages
 work iv scene other peoples code and they have a file with all
 function for the index page and all the pages can someone please
 explain how this works thanks

 Sounds like you need to spend a few hours reading the book straight through.
 It explains these basics pretty well.

 http://book.cakephp.org/



 --
 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
 cake-php+unsubscr...@googlegroups.com For more options, visit this group at
 http://groups.google.com/group/cake-php


-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i'm newbie

2011-03-23 Thread Tilen Majerle
yes it is...
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/3/23 aji ipank aji.ipank.m...@gmail.com

 emmhh...1 more question, is this .ctp file is compatible if i write
 php code inside the .ctp file? sory for my bad english.. thank you..

 On 22/03/2011, Ryan Schmidt google-2...@ryandesign.com wrote:
 
  On Mar 22, 2011, at 08:43, Robert Bodley wrote:
 
  Hi I'm also a Newbie can someone please expain how the function pages
  work iv scene other peoples code and they have a file with all
  function for the index page and all the pages can someone please
  explain how this works thanks
 
  Sounds like you need to spend a few hours reading the book straight
 through.
  It explains these basics pretty well.
 
  http://book.cakephp.org/
 
 
 
  --
  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
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at
  http://groups.google.com/group/cake-php
 

 --
 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
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php


-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i'm newbie

2011-03-23 Thread Stephen
It's the same as using a .php extension, .ctp stands for Cake Template

On 23 March 2011 07:55, Tilen Majerle tilen.maje...@gmail.com wrote:

 yes it is...
 --
 Lep pozdrav, Tilen Majerle
 http://majerle.eu



 2011/3/23 aji ipank aji.ipank.m...@gmail.com

 emmhh...1 more question, is this .ctp file is compatible if i write
 php code inside the .ctp file? sory for my bad english.. thank you..

 On 22/03/2011, Ryan Schmidt google-2...@ryandesign.com wrote:
 
  On Mar 22, 2011, at 08:43, Robert Bodley wrote:
 
  Hi I'm also a Newbie can someone please expain how the function pages
  work iv scene other peoples code and they have a file with all
  function for the index page and all the pages can someone please
  explain how this works thanks
 
  Sounds like you need to spend a few hours reading the book straight
 through.
  It explains these basics pretty well.
 
  http://book.cakephp.org/
 
 
 
  --
  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
  cake-php+unsubscr...@googlegroups.com For more options, visit this
 group at
  http://groups.google.com/group/cake-php
 

 --
 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
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php


  --
 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
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php




-- 
Kind Regards
 Stephen

 http://www.ninjacodermonkey.co.uk

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i'm newbie

2011-03-23 Thread aji ipank
is this possible for us to write .php files? and when it possible, where i
can put that .php files? in app/views/pages or in another directory?

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i'm newbie

2011-03-23 Thread Sam Sherlock
Cake bakes php app - app contain various classes or templates (.ctp) all php

so it is possible to auto make files - sets of MVCs that related to each
other

behaviours, componants, helpers use php classes to extend app functionality

ctp files call helpers and allow you to mix php /html using var set to the
view
based on logic in the controller obtained from a datasource

reading though the book.cakephp.org site will answer your questions and
detail the specifics of cakes conventions

you could create a helper class in .php file in app/views/helpers/ and use
that within view files (.ctp)
a ctp in app/views/pages would be displayed by page controllers display
action (by default
not using db stored data)

 - S




On 24 March 2011 03:17, aji ipank aji.ipank.m...@gmail.com wrote:

 is this possible for us to write .php files? and when it possible, where i
 can put that .php files? in app/views/pages or in another directory?

 --
 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
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php


-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i'm newbie

2011-03-22 Thread Stephen
*Create:*
/app/views/pages/helloworld*.ctp* (not .html)

*Visit:*
http://localhost/pages/helloworld

On 22 March 2011 02:11, aji ipank aji.ipank.m...@gmail.com wrote:

 Hello all.. I want to learn about cakephp.. i've installed cakephp and
 no problem at all.. but now, i have one problem. i make hello world
 html file and i put it into app/views/pages. then i load it via
 localhost, but no hello world in my browser. can you help me? what was
 wrong? reply please..

 --
 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
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php




-- 
Kind Regards
 Stephen

 http://www.ninjacodermonkey.co.uk

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i'm newbie

2011-03-22 Thread Robert Bodley
Hi I'm also a Newbie can someone please expain how the function pages
work iv scene other peoples code and they have a file with all
function for the index page and all the pages can someone please
explain how this works thanks

On Mar 22, 3:34 pm, Stephen step...@ninjacodermonkey.co.uk wrote:
 *Create:*
 /app/views/pages/helloworld*.ctp* (not .html)

 *Visit:*http://localhost/pages/helloworld

 On 22 March 2011 02:11, aji ipank aji.ipank.m...@gmail.com wrote:





  Hello all.. I want to learn about cakephp.. i've installed cakephp and
  no problem at all.. but now, i have one problem. i make hello world
  html file and i put it into app/views/pages. then i load it via
  localhost, but no hello world in my browser. can you help me? what was
  wrong? reply please..

  --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  athttp://groups.google.com/group/cake-php

 --
 Kind Regards
  Stephen

  http://www.ninjacodermonkey.co.uk

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i'm newbie

2011-03-22 Thread mikek
 Hi I'm also a Newbie can someone please expain how the function pages
 work iv scene other peoples code and they have a file with all
 function for the index page and all the pages can someone please
 explain how this works thanks

you might want to look at the cake book.

http://book.cakephp.org/view/66/Models#!/view/4/Beginning-With-CakePHP


 On Mar 22, 3:34 pm, Stephen step...@ninjacodermonkey.co.uk wrote:
 *Create:*
 /app/views/pages/helloworld*.ctp* (not .html)

 *Visit:*http://localhost/pages/helloworld

 On 22 March 2011 02:11, aji ipank aji.ipank.m...@gmail.com wrote:





  Hello all.. I want to learn about cakephp.. i've installed cakephp and
  no problem at all.. but now, i have one problem. i make hello world
  html file and i put it into app/views/pages. then i load it via
  localhost, but no hello world in my browser. can you help me? what was
  wrong? reply please..

  --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this
 group
  athttp://groups.google.com/group/cake-php

 --
 Kind Regards
  Stephen

  http://www.ninjacodermonkey.co.uk

 --
 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
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php




-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: i'm newbie

2011-03-22 Thread Ryan Schmidt

On Mar 22, 2011, at 08:43, Robert Bodley wrote:

 Hi I'm also a Newbie can someone please expain how the function pages
 work iv scene other peoples code and they have a file with all
 function for the index page and all the pages can someone please
 explain how this works thanks

Sounds like you need to spend a few hours reading the book straight through. It 
explains these basics pretty well.

http://book.cakephp.org/



-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php