Jon Bennett wrote:
> place them in the /view/elements/ dir then use $this->renderElement
> ('myfile');
>
> you can also place sub directories in there as well, say
>
> /views/elements/arbitrary_content_files/
>
> hth
>
Indeed, that did help. Thanks. It's still not quite what I'd imagined,
since it requires the file to end in .thml--which at the least will
require me to rename all my files.. perhaps I'll just write an
extension to the View class...
Thanks much!
-Ian
> jb
>
> >
> > But all of these yield a "No such file or directory" error. However, I
> > can see the file fine if I point the browser at /files/foo.html
> >
> > Does anyone have suggestions on how to get this to work? I can't find
> > any helper function that looks like it's supposed to do this. Is there
> > a better/recommended way to do it?
> >
> > Thanks,
> > ian
> >
> >
> > >
> >
>
>
> --
>
>
> jon bennett
> t: +44 (0) 1225 341 039 w: http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---