Hi Alex,

The way we create new themes is to work with a "custom" theme.  All we
do is take an existing theme, customize it (which copies the theme
templates into the database), then through the Roller UI we can edit
each template in-turn and the changes take effect immediately.  Also,
any stylesheets we use are also kept in a page template... that way we
can make changes to the styles immediately too.  Normally we would
have the static HTML mock of the theme already made-up with
Dreamweaver (or whatever you use), and it's just a case of splitting
that up into the various templates and getting it working and
displaying right.  Once we're happy with the theme, we take each of
the page templates from the Roller UI and copy them into the themes
directory.

Hope that makes sense.

Cheers,

Richard



2008/6/24 Alexander Coles <[EMAIL PROTECTED]>:
> Hi,
>
> Apologies first of all for cross-posting. This actually belongs more on the
> Dev list (I think? - Im not sure 100% since this a 3rd-party development)..
>
> I am trying to create a couple themes, and am working on getting the
> workflow right. Although Velocity doesn't interfere too much with the flow
> of HTML, and I can get a rough idea of what it'll look like without the
> markup being fully rendered, I want to setup my workflow so I can work on
> Velocity templates "live" and see changes immediately. I believe this should
> be possible?
>
> I have created a separate roller_themes/ directory outside of WEB-INF and
> set it as my themes.dir.
>
> I am having problems finding the right configuration so that both Velocity
> and Application / Roller caching is switched off - and that the .vm
> templates are reparsed/regenerated each time.
>
> For the Application caching, I have tried the following settings in
> roller-custom.properties:
> cache.sitewide.enabled=false
> cache.weblogfeed.enabled=false
> cache.weblogpage.enabled=false
>
> (of which, I think only cache.weblogpage.enabled=false is really needed).
>
> For turning off Velocity Caching, I have made sure the settings in
> roller/WEB-INF/velocity.properties are as follows:
>
> theme.resource.loader.cache=false
> roller.resource.loader.cache=false
> class.resource.loader.cache=false
> webapp.resource.loader.cache=false
> velocimacro.library.autoreload=true
>
> Naturally I have restarted the web application after making these
> configuration changes, but unfortunately, to no avail. Restarting the web
> application of course, reloads the changed templates.
>
> Help very much appreciated. I am not familiar enough with Velocity to know
> if there is something I am missing.
> Many thanks,
>
> Alex
>
>

Reply via email to