On Fri, Apr 8, 2011 at 1:03 AM, Daniel Ruan <[email protected]> wrote:
> I am trying to set up a tagsIndex page with the following in theme.xml:
>
> <template action="weblog">
> <name>weblog</name>
> <description>weblog</description>
> <link></link>
> <navbar>false</navbar>
> <hidden>true</hidden>
> <templateLanguage>velocity</templateLanguage>
> <contentType>text/html</contentType>
> <contentsFile>weblog.vm</contentsFile>
> </template>
>
> <template action="tagsIndex">
> <name>tagsIndex</name>
> <description>tagsIndex</description>
> <link></link>
> <navbar>false</navbar>
> <hidden>true</hidden>
> <templateLanguage>velocity</templateLanguage>
> <contentType>text/html</contentType>
> <contentsFile>tagsIndex.vm</contentsFile>
> </template>
>
> However, Roller doesn't pick up the tagsIndex template. Any ideas?
I don't see any problem with your tagsIndex part of of theme.xml. Are
you working with a build-in Roller theme or something new? See
anything in the logs?
If you turn on DEBUG logging for the rendering system you might find
some clues about what is going wrong. Add this to your
roller-custom.properties to turn on DEBUG for rendering:
log4j.logger.org.apache.roller.weblogger.ui.rendering=DEBUG
- Dave