On Fri, Sep 26, 2008 at 1:34 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Do you have an example? I can hardly imagine this, as the view/theme
> directories are not in the webserver document root and therefore
> cannot directly deliver the image.

Ah! I guess you missed the point that any theme in CakePHP has two components

The first is the themed views found under /views/themed/themename and
the second component is webroot items for the said theme like css, js
and images and they are found under /webroot/themed/themename/css
/webroot/themed/themename/js /webroot/themed/themename/images etc See
http://www.sanisoft.com/blog/2007/12/29/theming-your-cakephp-apps-v12/

I guess the solution will be obvious from here onwards :)

I have implemented themes in Cheesecake-Photoblog but the user can
only change them via the admin interface not not upload a new theme.

HTH

Tarique

-- 
=============================================================
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=============================================================

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

Reply via email to