You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by "kabob (sent by Nabble.com)" <li...@nabble.com> on 2006/01/19 16:34:17 UTC
main roller theme issue:roller-custom.properties
Trying to get main Roller pages to use 'blue' theme or any other theme so that I may create a new one.
I have created a roller-custom.properties file as instructed in the config doc. My changes to the upload dir have been picked up, but other values have not:
INFO 2006-01-19 09:57:54,427 RollerConfig: - successfully loaded default properties.
INFO 2006-01-19 09:57:54,449 RollerConfig: - successfully loaded custom properties file from classpath
INFO 2006-01-19 09:57:54,453 RollerConfig: - no custom properties file specified via jvm option
INFO 2006-01-19 09:57:54,899 UpgradeDatabase:upgradeDatabase - Database is current, no upgrade needed
WARN 2006-01-19 09:57:59,273 Configurator:configure - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: file:/op
t/jakarta-tomcat-5.0.28/work/Catalina/localhost/roller/loader/ehcache-failsafe.xml
INFO 2006-01-19 09:58:02,231 RollerFactory:setRoller - Using Roller Impl: org.roller.business.hibernate.HibernateRollerImpl
INFO 2006-01-19 09:58:03,345 ThemeManagerImpl: - Loaded 17 themes from disk.
INFO 2006-01-19 09:58:05,866 IndexManagerImpl: - search enabled: true
INFO 2006-01-19 09:58:05,871 IndexManagerImpl: - index dir: /export/home/roller_data/search-index
It did not change the editor.theme values, nor the blogroll values that I customized. Here is what I entered in the roller-custom.properties file:
# editor theme to be used (corresponds to directory name under /theme)
editor.theme=blue
# list of links to include in root bookmark folder of each new blog
# format is like so: linktitle2|linkurl2,linktitle2|linkurl2,linktitle3|linkurl3
newuser.blogroll=\
Home|/main.do\
Company|/page/main\
Kovacs|/page/kovacs\
Naveen|/page/TestNaveen
Using Roller 2.0, Tomcat 5.0.28, MySQL 5.0, Solaris 9.
Thanx forr your help.
G.
--
View this message in context: http://www.nabble.com/main-roller-theme-issue%3Aroller-custom.properties-t953905c12275.html#a2471273
Sent from the Roller - User forum at Nabble.com.
Re: main roller theme issue:roller-custom.properties
Posted by Allen Gilliland <Al...@Sun.COM>.
it definitely should have found the file there, so check the debugging output to see what happened.
another possible reason why you didn't see your theme change is because tomcat persisted your session between server restarts. i have seen this happen to me in the past as well. you either need to remove your session cookie or logout of roller to make sure your session is invalidated.
-- Allen
On Thu, 2006-01-19 at 08:07, kabob (sent by Nabble.com) wrote:
> Hi,
>
> After explicitly adding the custom properties path to my catalina.sh, my theme changes were picked up:
>
> -Droller.custom.config="/path/to/roller-custom.properties"
>
> I originally just tried to put the custom props file in the roller/WEB-INF/classes directory, and that did not seem to work.
>
> I will try the debug option to figure out my blogroll issue though.
>
> Thanks for your help.
>
> G.
> --
> View this message in context: http://www.nabble.com/Re%3A-main-roller-theme-issue%3Aroller-custom.properties-t954069c12275.html#a2472010
> Sent from the Roller - User forum at Nabble.com.
Re: main roller theme issue:roller-custom.properties
Posted by "kabob (sent by Nabble.com)" <li...@nabble.com>.
Hi,
After explicitly adding the custom properties path to my catalina.sh, my theme changes were picked up:
-Droller.custom.config="/path/to/roller-custom.properties"
I originally just tried to put the custom props file in the roller/WEB-INF/classes directory, and that did not seem to work.
I will try the debug option to figure out my blogroll issue though.
Thanks for your help.
G.
--
View this message in context: http://www.nabble.com/Re%3A-main-roller-theme-issue%3Aroller-custom.properties-t954069c12275.html#a2472010
Sent from the Roller - User forum at Nabble.com.
Re: main roller theme issue:roller-custom.properties
Posted by Anil Gangolli <an...@busybuddha.org>.
In the log4j.properties file in WEB-INF/classes, try adding a line setting
org.roller.config.RollerConfig=DEBUG
It should report on each property value in the RollerConfig after the
loading and expansion logic is complete. The output will appear in the
roller.log.
--a.
kabob (sent by Nabble.com) wrote:
>Trying to get main Roller pages to use 'blue' theme or any other theme so that I may create a new one.
>
>I have created a roller-custom.properties file as instructed in the config doc. My changes to the upload dir have been picked up, but other values have not:
>
>INFO 2006-01-19 09:57:54,427 RollerConfig: - successfully loaded default properties.
>INFO 2006-01-19 09:57:54,449 RollerConfig: - successfully loaded custom properties file from classpath
>INFO 2006-01-19 09:57:54,453 RollerConfig: - no custom properties file specified via jvm option
>INFO 2006-01-19 09:57:54,899 UpgradeDatabase:upgradeDatabase - Database is current, no upgrade needed
>WARN 2006-01-19 09:57:59,273 Configurator:configure - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: file:/op
>t/jakarta-tomcat-5.0.28/work/Catalina/localhost/roller/loader/ehcache-failsafe.xml
>INFO 2006-01-19 09:58:02,231 RollerFactory:setRoller - Using Roller Impl: org.roller.business.hibernate.HibernateRollerImpl
>INFO 2006-01-19 09:58:03,345 ThemeManagerImpl: - Loaded 17 themes from disk.
>INFO 2006-01-19 09:58:05,866 IndexManagerImpl: - search enabled: true
>INFO 2006-01-19 09:58:05,871 IndexManagerImpl: - index dir: /export/home/roller_data/search-index
>
>
>It did not change the editor.theme values, nor the blogroll values that I customized. Here is what I entered in the roller-custom.properties file:
>
># editor theme to be used (corresponds to directory name under /theme)
>editor.theme=blue
>
># list of links to include in root bookmark folder of each new blog
># format is like so: linktitle2|linkurl2,linktitle2|linkurl2,linktitle3|linkurl3
>newuser.blogroll=\
>Home|/main.do\
>Company|/page/main\
>Kovacs|/page/kovacs\
>Naveen|/page/TestNaveen
>
>Using Roller 2.0, Tomcat 5.0.28, MySQL 5.0, Solaris 9.
>
>Thanx forr your help.
>
>G.
>--
>View this message in context: http://www.nabble.com/main-roller-theme-issue%3Aroller-custom.properties-t953905c12275.html#a2471273
>Sent from the Roller - User forum at Nabble.com.
>
>
>