HI Darkie to expand upon Daniels response

the files in the views folder are generally .ctp in 1.2 where 1.1 used
thtml, either are
fine in 1.2 AFAIK.

When you say pages are you refering to your post entry pages or cake static
Pages (no db hit) - in which case you just edit (make 1 if need) file
corresponding files
in the pages dir of views eg to change the home page edit
views/pages/home.ctp

I don't understand what you mean with "another problem are the
> extension used..."?


perhaps this means is .ctp or .thtml used in the address?  if so no (you can

parseextensions in the router but I suspect that you'll not being doing this
yet )

refering back to daniels example
yourdomain.com/posts/edit/1   <http://yourdomain.com/posts/edit/1>- has no
.ctp o.html or .anything in it
yourdomain.com/posts/delete/1 <http://yourdomain.com/posts/edit/1> - deletes
yourdomain.com/posts/view/1 <http://yourdomain.com/posts/edit/1> - shows the
post

delete etc are mising see views/posts/index.ctp (perhaps thtml - if your
using
admin routing admin_index)

Can't view anything.


blanks screen? nada? turn on debugging in config/core.php

hth - S

2008/6/28 Daniel Hofstetter <[EMAIL PROTECTED]>:

>
> Hi Darkie,
>
> > Im a Newbie in Cakephp framework. And Im so desparate for experience
> > of being able to code my web-based application with this mvc
> > framework. I've tried to follow the Blog Tutorial and completed it.
> > Now the Problem is, I do not know on how to view my pages. I am only
> > able to view the Blogs listing, but I am missing the url/links where i
> > can be able to edit/delete the blog. How do I view my pages. and
> > another problem are the extension used in this Blog e.g ctp, thtml.
> > Can't view anything.
>
> The URLs usually have the format: example.com/controllername/
> actionname/param <http://example.com/controllername/actionname/param>, so
> the URL in your case is something like:
> yourdomain.com/posts/edit/1 (at least if mod_rewrite is working
> correctly).
>
> I don't understand what you mean with "another problem are the
> extension used..."?
>
> Hope that helps!
>
> --
> Daniel Hofstetter
> http://cakebaker.42dh.com
> >
>

--~--~---------~--~----~------------~-------~--~----~
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