|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
3-column themeHello Everyone,
I am a newbie to Apache Roller so am turning to this listserv for help in converting a 2-column theme to a 3-column one. Can anyone guide me through the process of changing the Andreas08 theme into one which has a three-column layout where the side columns are fixed-width and the center column is liquid? I would also like to have the tags cloud placed in the upper right side of the blue banner area. I am having some difficulty understanding where to place the div ids. Many thanks, Ann |
|
|
Re: 3-column themeHi Everyone,
I realize both the Weblog and CSS templates will need modifications but am not sure what codes should be inserted where inorder for the third column to display. Below is a part of HTML from the Weblog. Please advise if I added this statement: <div id="leftnav"> and inserted in front of the <div id="content" class="clearfix"> what Velocity codes would be required in the HTML section and the CSS for the column to display. <divd id=where to insert the will need needs to change <div id="page"> *<div id="header" class="clearfix">* <h1><a href="$url.home">$model.weblog.name</a></h1> <h2><!-- Short tagline goes here --></h2> <div id="branding">$model.weblog.description</div> </div> <div id="content" class="clearfix"> <div id="main"> #set($pager = $model.getWeblogEntriesPager()) <div class="next-previous"> #if ($model.results) #showWeblogSearchAgainForm($model.weblog) #showNextPrevSearchControl($pager) #else #showNextPrevEntriesControl($pager) #end </div> <div class="entries"> #showWeblogEntriesPager($pager) </div> #if ($model.permalink) #showWeblogEntryComments($model.weblogEntry) #showWeblogEntryCommentForm($model.weblogEntry) #end </div><!-- end main --> Thanks for any hints or clues to display the third column. Ann On Thu, Jun 11, 2009 at 9:03 AM, Rafiki Zawadi <rafikizawadi@...>wrote: > Hello Everyone, > I am a newbie to Apache Roller so am turning to this listserv for help in > converting a 2-column theme to a 3-column one. Can anyone guide me through > the process of changing the Andreas08 theme into one which has a > three-column layout where the side columns are fixed-width and the center > column is liquid? > > I would also like to have the tags cloud placed in the upper right side of > the blue banner area. I am having some difficulty understanding where to > place the div ids. > > Many thanks, > Ann > |
|
|
Roller on Resin environmentHello,
I am trying to install Roller 4.0.1 on a Solaris OS machine. We are using the Apache webserver and Resin app server. I downloaded the code from the Downloads page. I am unable to figure out how to start the Roller app. Please help. Is there any documentation for Installing on a Resin server? Thanks a lot. - Abhishek. |
|
|
Re: Roller on Resin environmentI'm not aware of any docs new than these ancient scrolls:
http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuideResin http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuide098 So... your on your own unless fellow Resin fans want to speak up now. Read over the Roller Installation Guide and do the same things in Resin that we do in Tomcat: - Create a roller-custom.properties file, put it in your app server's classpath - Setup a JNDI Datasource for Roller, or specify JDBC params in the properties file - Setup a JNDI Mail Session for Roller, if you want email support - Deploy Roller's webapp directory to your app server You'd have to refer to Resins docs to figure out the specifics of those steps. - Dave On Tue, Jun 16, 2009 at 3:38 PM, Neralla, Abhishek<Abhishek.Neralla@...> wrote: > Hello, > > I am trying to install Roller 4.0.1 on a Solaris OS machine. We are > using the Apache webserver and Resin app server. I downloaded the code > from the Downloads page. I am unable to figure out how to start the > Roller app. Please help. > > Is there any documentation for Installing on a Resin server? > > Thanks a lot. > > - Abhishek. > |
|
|
RE: Roller on Resin environmentThanks Dave. I'll snoop around...
- Abhishek. -----Original Message----- From: Dave [mailto:snoopdave@...] Sent: Tuesday, June 16, 2009 8:19 PM To: user@... Subject: Re: Roller on Resin environment I'm not aware of any docs new than these ancient scrolls: http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuideResin http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuide098 So... your on your own unless fellow Resin fans want to speak up now. Read over the Roller Installation Guide and do the same things in Resin that we do in Tomcat: - Create a roller-custom.properties file, put it in your app server's classpath - Setup a JNDI Datasource for Roller, or specify JDBC params in the properties file - Setup a JNDI Mail Session for Roller, if you want email support - Deploy Roller's webapp directory to your app server You'd have to refer to Resins docs to figure out the specifics of those steps. - Dave On Tue, Jun 16, 2009 at 3:38 PM, Neralla, Abhishek<Abhishek.Neralla@...> wrote: > Hello, > > I am trying to install Roller 4.0.1 on a Solaris OS machine. We are > using the Apache webserver and Resin app server. I downloaded the code > from the Downloads page. I am unable to figure out how to start the > Roller app. Please help. > > Is there any documentation for Installing on a Resin server? > > Thanks a lot. > > - Abhishek. > |
|
|
RE: Roller on Resin environmentI tried configuring Roller on the Resin/Apache environments. I am able
to access the Static files but when I am trying to access the index.jsp under /webapp/roller/ , I am getting the following 500 exception. Please help. 500 Servlet Exception java.lang.NullPointerException at com.caucho.xml.QAttributedNode.getAttributeNodeNS(QAttributedNode.java:1 46) at com.opensymphony.xwork2.util.location.LocationAttributes.getLocation(Loc ationAttributes.java:170) at com.opensymphony.xwork2.util.location.LocationAttributes.getLocation(Loc ationAttributes.java:183) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(Location Utils.java:253) at com.opensymphony.xwork2.util.location.LocationUtils.getLocation(Location Utils.java:202) at com.opensymphony.xwork2.XWorkException.<init>(XWorkException.java:91) at com.opensymphony.xwork2.config.ConfigurationException.<init>(Configurati onException.java:74) at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.regist er(XmlConfigurationProvider.java:208) at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(Struts XmlConfigurationProvider.java:101) at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultC onfiguration.java:131) at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Con figurationManager.java:52) at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispa tcher.java:395) at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452) at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.jav a:201) at com.caucho.server.dispatch.FilterManager.createFilter(FilterManager.java :127) at com.caucho.server.dispatch.FilterMapper.buildDispatchChain(FilterMapper. java:169) at com.caucho.server.webapp.Application.buildInvocation(Application.java:17 22) at com.caucho.server.webapp.ApplicationContainer.buildInvocation(Applicatio nContainer.java:666) at com.caucho.server.host.Host.buildInvocation(Host.java:421) at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java: 322) at com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java :641) at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer .java:198) at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:391) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) at com.caucho.util.ThreadPool.run(ThreadPool.java:423) at java.lang.Thread.run(Thread.java:595) -----Original Message----- From: Dave [mailto:snoopdave@...] Sent: Tuesday, June 16, 2009 8:19 PM To: user@... Subject: Re: Roller on Resin environment I'm not aware of any docs new than these ancient scrolls: http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuideResin http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuide098 So... your on your own unless fellow Resin fans want to speak up now. Read over the Roller Installation Guide and do the same things in Resin that we do in Tomcat: - Create a roller-custom.properties file, put it in your app server's classpath - Setup a JNDI Datasource for Roller, or specify JDBC params in the properties file - Setup a JNDI Mail Session for Roller, if you want email support - Deploy Roller's webapp directory to your app server You'd have to refer to Resins docs to figure out the specifics of those steps. - Dave On Tue, Jun 16, 2009 at 3:38 PM, Neralla, Abhishek<Abhishek.Neralla@...> wrote: > Hello, > > I am trying to install Roller 4.0.1 on a Solaris OS machine. We are > using the Apache webserver and Resin app server. I downloaded the code > from the Downloads page. I am unable to figure out how to start the > Roller app. Please help. > > Is there any documentation for Installing on a Resin server? > > Thanks a lot. > > - Abhishek. > |
|
|
Re: Roller on Resin environmentHmm... based on that exception I would guess that Resin is supplying a
XML parser that Struts2 does not like. I think you will have to google for people running Struts2 on Resin and see if there is some workaround? One work-around might be to configure Resin to use a more "standard" XML parser like Xerces or something? - Dave On Fri, Jun 19, 2009 at 12:22 PM, Neralla, Abhishek<Abhishek.Neralla@...> wrote: > I tried configuring Roller on the Resin/Apache environments. I am able > to access the Static files but when I am trying to access the index.jsp > under /webapp/roller/ , I am getting the following 500 exception. Please > help. > > 500 Servlet Exception > java.lang.NullPointerException > at > com.caucho.xml.QAttributedNode.getAttributeNodeNS(QAttributedNode.java:1 > 46) > at > com.opensymphony.xwork2.util.location.LocationAttributes.getLocation( > LocationAttributes.java:170) |
|
|
RE: Roller on Resin environmentDave,
I was able to resolve the 500 exception by using the Xerces/Xalan parser and configuring this within the Resin configuration. Now, when I am accessing the Roller app, it said that there are no tables present; so I clicked on "Yes, create tables". This then threw a 404: The requested URL /roller-ui/install/install!create.rol was not found on this server. I do not see these files within the roller installation package contents. Please advise. Thanks, Abhishek. -----Original Message----- From: Dave [mailto:snoopdave@...] Sent: Friday, June 19, 2009 5:13 PM To: user@... Subject: Re: Roller on Resin environment Hmm... based on that exception I would guess that Resin is supplying a XML parser that Struts2 does not like. I think you will have to google for people running Struts2 on Resin and see if there is some workaround? One work-around might be to configure Resin to use a more "standard" XML parser like Xerces or something? - Dave On Fri, Jun 19, 2009 at 12:22 PM, Neralla, Abhishek<Abhishek.Neralla@...> wrote: > I tried configuring Roller on the Resin/Apache environments. I am able > to access the Static files but when I am trying to access the > index.jsp under /webapp/roller/ , I am getting the following 500 > exception. Please help. > > 500 Servlet Exception > java.lang.NullPointerException > at > com.caucho.xml.QAttributedNode.getAttributeNodeNS(QAttributedNode.java > :1 > 46) > at > com.opensymphony.xwork2.util.location.LocationAttributes.getLocation( > LocationAttributes.java:170) |
| Free embeddable forum powered by Nabble | Forum Help |