You should only edit the file in your app directory (C:\ahttp229\htdocs
\plumb\cake\tests\test_app\views\pages\home.ctp in your example).

On Dec 9, 7:17 am, bobn <[EMAIL PROTECTED]> wrote:
> I am just beginning CakePHP.
>
> The default index page has the following section
> ...........................................................
> Editing this Page
>
> To change the content of this page, edit: APP/views/pages/home.ctp.
> To change its layout, edit: APP/views/layouts/default.ctp.
> You can also add some CSS styles for your pages at: APP/webroot/css.
> ...........................................................
>
> I could not find home.ctp using this info.  I had changed the name of
> the CakePHP main directory to "Plumb".  When I used Windows Explorer
> to find home.cts in  htdocs\"Plumb" the following entries were
> returned:
>
> C:\ahttp229\htdocs\plumb\cake\libs\view\pages\home.ctp
> C:\ahttp229\htdocs\plumb\cake\console\libs\templates\views\home.ctp
> C:\ahttp229\htdocs\plumb\cake\tests\test_app\views\pages\\home.ctp
>
> I edited the file in the \libs location and it worked, but it leaves
> some questions in my mind.
>
> For typical web development is the \libs directoery the propoer place
> to editing content?
>
> Should the 'Editing this page' section be changed for XP?
>
> Should I expect directory structure differences for XP as I go through
> the tutorial?
>
> Thanks,
> Bob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to