List Info

Thread: Subject: Adding themes in 3.0




Subject: Adding themes in 3.0
user name
2006-06-16 17:15:02


On 6/16/06 1:12 PM, "William" <wstanpublictoilets.org> wrote:

> On Fri, 16 Jun 2006, David Czarnecki wrote:
> 
> Yes, that works now in making the template available to
the
> plugin.
> 
> The problem I see now is with the design of kubrick.vm
in
> 3.0. Comparing it with asual.vm may help with an
example:
> 
> asual-head.vm:14:
> <link rel="stylesheet"
rev="stylesheet" href="#Resource('asual.c
> ss')" type="text/css"
media="screen" />
> 
> kubrick.vm:50:
> <link rel="stylesheet"
rev="stylesheet"
>
href="$BLOJSOM_BLOG.getBlogBaseURL()/resources/$BLOJSO
M_USER/kubrick.css"
> type="text/css" media="screen"
/>
> 

Try:

 <link rel="stylesheet"
rev="stylesheet"
href="#Resource('kubrick.css')"
type="text/css" media="screen" />

> I tried loading kubrick and although the content was
there the
> style was either missing or unformatted. Is the kubrick
> theme in need of upgrading with 3.0?

Well, the above should allow you to use the theme, but yes,
the themes need
to get an update for 3.0.

> 
> 
>> You should just need to create the theme directory
off
> /WEB-INF/themes, say
>> /WEB-INF/themes/kubrick/. Off that directory,
you'll need a directory called
>> /resources/ where all the stylesheet and image
files go, and one called
>> /templates/ where all the .vm files go.
>> 
>> But, I'll check it out.
>> 
>> On 6/16/06 8:56 AM, "William"
<wstanpublictoilets.org> wrote:
>> 
>>> Is there a special way to add new themes in
3.0?
>>> 
>>> I tried taking the .vm and .css files of
Kubrick and putting them
>>> in what seems to be the proper directories but
the
>>> Theme Switcher plugin doesn't show it as an
option.
> 
> 
> 
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net




_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )