roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: tagsIndex Template (Roller 4)
Date Wed, 13 Apr 2011 00:31:10 GMT
Take a look at the doGet() method of the PageServlet for the
template-choosing logic.

- Dave



On Sun, Apr 10, 2011 at 4:17 PM, Daniel Ruan <danielruan@gmail.com> wrote:
> I turned on the debug but didn't see any error messages.
>
> We had our own theme. The templates we created for permalink and wegblog
> etc. worked fine.
>
> As a test, I changed the name of the tagsIndex template to a non-existing
> file name and got an exception "Couldn't load  template
> file"  from ThemeManagerImpl.  This means the XML config is not a problem as
> it did cause Roller to load the file.
>
> What is the class that chooses the template file at run time based on the
> URL?
>
> Thanks,
> Daniel
>
> 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
>>
>

Mime
View raw message