Hi!

I got on speed by copying the "template" directory including all of it's structure 
(inkl. build.xml etc).

After that I renamed all occurences of nukes-template to the choosen name of my theme 
(cybercon).

I amended the jboss-service.xml to reflect my needs:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE server>
  | <server>
  |    <mbean
  |       code="org.jboss.nukes.theme.ThemeTemplate"
  |       name="nukes.themes:name=cybercon"
  |       xmbean-dd=""
  |       xmbean-code="org.jboss.nukes.component.NukesMBean">
  |       <depends>nukes.modules:name=core</depends>
  |       <depends>nukes.modules:name=html</depends>
  |       <constructor>
  |          <arg type="boolean" value="true"/>
  |       </constructor>
  |       <xmbean>
  |          <attribute name="Id">jar:/theme.html</attribute>
  |          <attribute name="Root">org/jboss/nukes/addons/themes/cybercon</attribute>
  |       </xmbean>
  |    </mbean>
  | </server>
  | 

After that, have a look into the ThemeTemplate Class mentioned in the 
jboss-service.xml (You'll find it under the nukes/src.. directory). There a 
template-file is loaded containing several templates (embraced by the comment style 
markers the nukes tpl uses).

Just amend these file to your needs. (Copy the theme.html found under 
nukes/src/bin/nukes-lib-jar/org/jboss/nukes/core/themes/imagic/theme.html for example 
and amend) into the style directory goes the css under the images go images you'd like 
to hard wire into your theme. I would recreate the same directory structure you find 
here in your renamed template dir.

There may be some step's I left out because I just write this down from memory, so 
don't hesitate to ask, I'll try to recall then.

Cheers and good look, 
Mika

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843919#3843919

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843919


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to