A ctp file is always the final output of a controller action. If it is not linked with one of your normal controller actions, then make it a page. Pages are the views linked to the 'pages' controller. Then the URL to view the page will be http://yoursite.com/pages/view (if your view file is called view.ctp and stored in /app/views/pages).
http://book.cakephp.org/view/958/The-Pages-Controller Jeremy Burns [email protected] On 11 May 2010, at 23:57, DevouringStrossus wrote: > hi > I want to generate a static html page from ctp. > Moreover, I think I am such with the shell. It is not controller's > action. > how can i do? > thanks! > > 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 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
