incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conny Burko <conny.bu...@gmx.de>
Subject Re: deactivate rss - feed
Date Wed, 12 Mar 2008 20:12:42 GMT
Thanks you for your help!

I solved the problem by wrapping the mentioned section with a div - 
element (class=rssfeed) and hide it in die template css.
So I could hide even more locations, if necessary. :-) and turn them 
with only one change in code.

I will post the problem to the issue tracker tomorrow morning to get 
this "problem" solved in one of the next releases.

Greetings,
Conny

Fabian Haupt schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Conny,
>
> I'm not sure there is a default way it should be handled, but I just
> outcommented the relevant section in PageActionsBottom.jsp in the
> templates/default folder:
>
>
> ~   <!-- <a href="<wiki:Link format='url' jsp='rss.jsp'>
> ~               <wiki:Param name='page' value='<%=wikipage.getName()%>'/>
> ~               <wiki:Param name='mode' value='wiki'/>
> ~             </wiki:Link>"
> ~      title="<fmt:message key='info.rsspagefeed.title'>
> ~               <fmt:param><wiki:PageName /></fmt:param>
> ~             </fmt:message>" >
> ~      <img src="<wiki:Link jsp='images/xml.png' format='url'/>"
> alt="[RSS]"/>
> ~    </a>-->
>
> (right at the bottom of the file)
>
>
> LG
> Fabian
>
>
>
> Conny Burko wrote:
> | Hi!
> |
> | I try to disable the rss-feeds in my jspwiki (2.6..0).
> | I set the "jspwiki.rss.generate = false" in jspwiki.properties. Now the
> | RSS Feed beside the search disapears
> | but undere every single page there is the rss - feed icon beside the
> | information who has edited the page the last time.
> | If I click it there is an tomcat errorpage (404) "_RSS feeds are
> | disabled at administrator request"_ .
> | This is not very "nice"...  Is there another parameter to hide this
> | Icons when rss is not activated??
> |
> | I'm using the default template with an edited PlainVanilla skin!
> |
> | Thanx,
> | Conny
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFH2CfjtC//DIQj2V8RAt9EAJ4l+81oUGZo5vwxY22SNIzeNe6u2ACdGkvo
> e5BoN1X2OGT5R2FN8bUGj7Q=
> =M0O8
> -----END PGP SIGNATURE-----


Mime
View raw message