Put it in your controller action.

If you request http://www.mysite.com/Y , then it will execute the
"index" action of the "YController", unless you have set up a custom
route.  That action may do whatever it likes and render whatever file
it likes.


On Sep 21, 4:46 pm, CakeMan <[EMAIL PROTECTED]> wrote:
> Also with this can  i use URL ashttp://www.mysite.com/Y  ??
>
> On Sep 20, 10:57 pm, CakeMan <[EMAIL PROTECTED]> wrote:
>
> > Thanks Grant,
>
> > Should i put these lines in model or in cotroller ?
>
> > Thanks Again !!
>
> > On Sep 20, 9:43 pm, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> > > $this->viewPath = 'y';
> > > $this->render('view_in_y');
>
> > > On Sep 21, 2:40 pm, "Vivek Narula" <[EMAIL PROTECTED]> wrote:
>
> > > > Hello friends,
>
> > > > Is there any way from which we can use different view name with 
> > > > different
> > > > Model or Controller ?
>
> > > > E.g we have model name as X.php and the controller name as 
> > > > X_controller.php
> > > > , Can we use them with "Y" views ?
>
> > > > Thanks !!- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -


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