Re: making a view without a controller or model

2008-09-12 Thread gabriel

~Thanks !!

On 12 Sep, 15:28, grigri <[EMAIL PROTECTED]> wrote:
> The url you want is : /pages/account - that will get it to display
>
> If you want to access it via /account then add this line to app/config/
> routes.php:
>
> Router::connect('/account', array('controller' => 'pages', 'action' =>
> 'view', 'account'));
>
> hth
> grigri
>
> On Sep 12, 2:59 pm, gabriel <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi, I am new, as you might guess.., I have created an (HTML) view in
> > the pages folder in views, called account.ctp. It doesn't have a
> > controller or model. But is looking for a controller. How do I get
> > around this?
>
> > Thanks and blessings to the person who helps me.- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: making a view without a controller or model

2008-09-12 Thread grigri

The url you want is : /pages/account - that will get it to display

If you want to access it via /account then add this line to app/config/
routes.php:

Router::connect('/account', array('controller' => 'pages', 'action' =>
'view', 'account'));

hth
grigri

On Sep 12, 2:59 pm, gabriel <[EMAIL PROTECTED]> wrote:
> Hi, I am new, as you might guess.., I have created an (HTML) view in
> the pages folder in views, called account.ctp. It doesn't have a
> controller or model. But is looking for a controller. How do I get
> around this?
>
> Thanks and blessings to the person who helps me.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



making a view without a controller or model

2008-09-12 Thread gabriel

Hi, I am new, as you might guess.., I have created an (HTML) view in
the pages folder in views, called account.ctp. It doesn't have a
controller or model. But is looking for a controller. How do I get
around this?

Thanks and blessings to the person who helps me.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---