Hi, I found pages_controller.php !!!
This is what I need.
Best Regards.

On 5 ene, 11:48, Nicolas400 <[email protected]> wrote:
> Hi, thanks.
>
> But where is the controller ?
> Because I want to pick a random article from my model and show it
> using the "home.ctp" template.
>
> Best regards
>
> On 23 dic 2010, 02:38, Amit Badkas <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > By default CakePHP renders app/views/pages/home.ctp view for '/' URL, though
> > you can change this by making changes in app/config/routes.php
>
> > Hope this helps.
>
> > Amit Badkas
>
> > PHP Applications for E-Biz:http://www.sanisoft.com
>
> > On Wed, Dec 22, 2010 at 7:53 PM, Nicolas400 <[email protected]> wrote:
> > > Hyi I'm quite new to cake and I wonder how can I do this
> > > I want a welcome or index page that shows me a lot of info.
> > > I don't want toenter directly to a "List of ..." page.
>
> > > Thinking in how Cake work I think that I need a sort of "default"
> > > controller that shows me a particular view.
> > > But in this default controler I want to "use" models" of my database
> > > (system) , to show for example a random article or something like
> > > that.
>
> > > Any Idea how to do that ?
>
> > > Best regards
>
> > > PS: It will be great if the Cake Blog demo had this issue as a last
> > > lesson.
>
> > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others
> > > with their CakePHP related questions.
>
> > > 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]<cake-php%[email protected]
> > >  om>For more options, visit this group at
> > >http://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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