Re: RFC: Add each skin directory to styles

Joe Stewart <[email protected]> Fri, 18 Apr 2003 11:21:43 -0500
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
On Fri, Apr 18, 2003 at 11:59:45AM -0400, Luis M wrote:
> 
> >We've been using styles/skinname.css for theme styles.  The templates and 
> >images
> >use a separate directory.  I propose using this for styles also.  They 
> >would be
> >styles/skinname/*.css.
> >
> >For many skins it might be overdone to have a separate directory for one 
> >file.
> >But I think there are benefits for ease of future package 
> >installation/removal
> >and porting of themes.  As more themes have multiple css files for
> >printing, etc. it will be cleaner.
> >
> >later,
> >
> >Joe
> 
> If you are going to include style sheet files for e/a theme or for the 
> themes that need them, then it would be better to just have those themes 
> somewhere else inside the theme's own directory.
> say "/" is the root for the PHPslash installation
> /styles <--- styles for site
> /tempates/en/basic
> /tempates/en/basicurves
> /templates/en/basicurves/styles.css <--- would be a nice way to do it
> 
> in other words, the file will always be found inside the directory for a 
> given skin, or the skin.ini file can point to that file with a variable.
> 

The stylesheet and images are served by the webserver.

The templates are included and used by php.  The don't have any need to be in 
the webroot.

> I just think that it's easier to just drop a skin directory inside the 
> /templates/$LANG of choice without having to worry about putting other files 
> somewhere in the site.
>

true.
 
> My .02 contrib...
> 
> ----)(-----
> Luis Mondesi
> System Administrator
> LatinoMixed.com
> 
> [email protected]
> 
> "...The Mac does this so smoothly, it feels like an extension of your mind." 
> - Paula Speer, MacWorld Magazine 2003-04
> 
> Public signature: http://www.latinomixed.com/lems1/public-a.asc
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf