I was wondering if there's good component/helper or anything is
available to support themes in my app.
This solution <a href="http://abing.gotdns.com/posts/2006/themeable- view-class-for-cakephp/"here</a> doesnt look too good, as it changes
CakePHP's folder default structure. Please suggest if there's a good
class to handle themes ?
Isn't it possible to not to alter Cakephp's default folder structure ?
I had an idea of having different theme files in same directory by
prefix like 'themename_' or similar.
What do you think ?
On Jan 3, 6:02 pm, "Dr. Tarique Sani" <tariques...@gmail.com> wrote:
Interesting idea Max, however I think if you play around with it more
you'd find the way it is would be better.
1. Can easily change a theme name if you need to (change the folder
name).
2. Can easily create a theme by duplicating a folder and make changes
to it, deleting any files you don't need to modify.
3. Easily add in a theme that some one else has developed (though i
doubt this would ever happen unless on a generic project).
Adam
On Jan 5, 5:13 pm, Max <gigapromot...@gmail.com> wrote:
> Isn't it possible to not to alter Cakephp's default folder structure ?
> I had an idea of having different theme files in same directory by
> prefix like 'themename_' or similar.
> What do you think ?
> On Jan 3, 6:02 pm, "Dr. Tarique Sani" <tariques...@gmail.com> wrote:
> > On Jan 3, 2008 6:25 PM, Max <gigapromot...@gmail.com> wrote:
> > > I was wondering if there's good component/helper or anything is
> > > available to support themes in my app.
> Isn't it possible to not to alter Cakephp's default folder structure ? > I had an idea of having different theme files in same directory by > prefix like 'themename_' or similar.
> What do you think ?
> On Jan 3, 6:02 pm, "Dr. Tarique Sani" <tariques...@gmail.com> wrote:
> > On Jan 3, 2008 6:25 PM, Max <gigapromot...@gmail.com> wrote:
> > > I was wondering if there's good component/helper or anything is > > > available to support themes in my app.