List Info

Thread: Changing the CSS




Changing the CSS
user name
2007-05-08 20:41:23
How can I change the CSS from asual.css to blog-dk.css?

I changed asual-head.vm (this file should also be renamed to
blog-head.vm)

I am familiar with Tiles, but not with vm files.

Where are the mappings for these things?

Thank you,

Garrett


-- 
http://dhtmlkitchen.com/


------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: Changing the CSS
user name
2007-05-08 21:18:13
Answers inline

How can I change the CSS from asual.css to blog-dk.css?

In asual-head.vm, you'll find  this code
<link rel="stylesheet&quot; rev="stylesheet&quot; href=";#Resource('asual.css')&quot; type=";text/css&quot; media=&quot;screen&quot; />
Change asual.css to blog-dk.css.

The physical location of the css file is at [TOMCAT-HOME]/webapps/[BLOJSOM-HOME]/resources/[BLOG-ID]
either rename asual.css to blog-dk.css or add your own blog-dk.css .

I changed asual-head.vm (this file should also be renamed to blog-head.vm)

In asual.vm, you'll find
#parse("asual-header.vm")
Change asual-header.vm to blog-head.vm

I am familiar with Tiles, but not with vm files.

If you mean Tiles tag (often used in Struts), then you can see #parse in .vm files just like <tiles:insert ...>  

Where are the mappings for these things?

Login as admin, go to Weblog Settings -> Flavors, have a look at Current flavor settings table
html asual.vm, text/html;charset=UTF-8

It maps the html flavor (which is used when you view the blog) to asual.vm template file.
If you want to rename asual.vm, make sure you edit the html flavor mapping.

HTH.
Re: Changing the CSS
user name
2007-05-09 01:16:51
Very helpful. Thank you.

On 5/8/07, Cliffano Subagio <cliffanogmail.com> wrote:
> Answers inline
>
> > How can I change the CSS from asual.css to
blog-dk.css?
>
> In asual-head.vm, you'll find  this code
> <link rel="stylesheet"
rev="stylesheet"
href="#Resource('asual.css')"
> type="text/css" media="screen"
/>
> Change asual.css to blog-dk.css.
>
> The physical location of the css file is at
>
[TOMCAT-HOME]/webapps/[BLOJSOM-HOME]/resources/[BLOG-ID]
> either rename asual.css to blog-dk.css or add your own
blog-dk.css .
>
> > I changed asual-head.vm (this file should also be
renamed to blog-head.vm)
>
>
> In asual.vm, you'll find
> #parse("asual-header.vm")
> Change asual-header.vm to blog-head.vm
>
> > I am familiar with Tiles, but not with vm files.
>
> If you mean Tiles tag (often used in Struts), then you
can see #parse in .vm
> files just like <tiles:insert ...>
> > Where are the mappings for these things?
>
> Login as admin, go to Weblog Settings -> Flavors,
have a look at Current
> flavor settings table
> html asual.vm, text/html;charset=UTF-8
>
> It maps the html flavor (which is used when you view
the blog) to asual.vm
> template file.
> If you want to rename asual.vm, make sure you edit the
html flavor mapping.
>
> HTH.
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>


-- 
http://dhtmlkitchen.com/


------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

[1-3]

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