Hello Chris,

I think i should clear the problem further... I am having a home page which
has five tabs. Every tab will shoot a different query to database to load
the images. Now my client wants that the tab which comes when the page loads
should be random. So lets say that the tabs are featured, popular and
recent.. I dont know which one would load when the page is loading. So i
can't define a hard coded controller in the routes to route my request to.

I hope it clears my problem.

Thanks.


On 1/11/08, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>
> On Jan 10, 2008 4:42 PM, Novice Programmer <[EMAIL PROTECTED]>
> wrote:
> > I think i was not clear enough.. Actually waht i am thinking is
> installing a
> > view in the layout which would be populated by the controller. I was not
> > very sure which controller is the entry point of the cake application.
> by
> > app controller i think you mean app_controller.php.
> >
>
> Pardon my ignorance but why can't you just create a controller and a
> view for the main page of your app?  In order to populate a page with
> all sorts of random images, well, you're gonna need a controller no
> matter what.
>
> --
> Chris Hartjes
> Internet Loudmouth
> Motto for 2008: "Moving from herding elephants to handling snakes..."
> @TheKeyBoard: http://www.littlehart.net/atthekeyboard
>
> >
>


-- 
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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