HiLong time since I've been looking at Roller but I've recently desided to use 
Roller in a new blog so I'll be digging into the project some more from now on. 
Hope I can contribute to the project in the future :)The default templates 
shipped with Roller has some markup issues (doc-type which put browsers in 
quirksmode, mixture of html and xhtml etc. etc..) which I would like to sort 
out. To fix this I would like to create my own theme which I can maintian 
without having a conflict with future code releases of Roller.I've read trought 
the template documentation in the wiki and I must confess that Velocity is not 
a familiar template engine for me at the moment (I work daily with templating 
in a pure Java and JSP/jstl environment) so I've got a couple of, probably 
basic, questions:- Themes are located in subdirectories in the "themes" folder 
on root of the web-container. This is nice since it makes it possible to have 
custom templates appart from the Roller core code. But, some parts of the 
markup are generated with some Velocity templates in the "\WEB-INF\velocity\" 
directory. The problem is that I would like to change some of the markup 
created by the templates in the"\WEB-INF\velocity\" directory. Can these 
templates be moved into my custom template folder so I can keep them separated 
from whats under "\WEB-INF\velocity\"?I would like to keep all my templates in 
a custom themes folder so I easy can upgrade Roller in the future. If yes, how 
can I separate out these files in the "\WEB-INF\velocity\" directory to a 
custom themes directory.- How can I configure Velocity to read the templates on 
each reload so I can see changes applied to the template files when the files 
are changed on disk? I've seen a question about this before on the mailinglist 
where the answere was that editing the files trough the Roller admin GUI was 
the recommended way for solving this, but I do not find this as an effective 
way to work. I prefere to use a good editor (IntelliJ or similar) for this jobb 
and work on file level.- Is there someone who have replaced the Velocity themes 
with pure JSP themes and would be willing to share a copy of these templates as 
an example to look at? This is a long shot and I will not start by implementing 
my first theme as JSP templates, but I do actually prefere to work with JSP and 
jstl. (I'm also playing with the idea of making some mobile templates by 
implementing WURFL (http://wurfl.sourceforge.net/). WURFL play very well with 
jstl).All the best.Trygve
_________________________________________________________________
Nummersøk og veibeskrivelser med satellittbilder!
http://maps.live.no/

Reply via email to