incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janne Jalkanen <Janne.Jalka...@ecyrd.com>
Subject Re: How to limit link length in Referred Pages Plugin
Date Thu, 06 Mar 2008 18:46:05 GMT

Add the maxwidth parameter to the plugin.  E.g.

[{ReferringPagesPlugin maxwidth=15}]

/Janne

On 6 Mar 2008, at 15:24, Sang Hyo Lee wrote:

> Hello,
>
> I am relatively new in using JSPWiki. I am using the Referred Pages  
> Plugin to create dynamic menus in the left menu. My problem is that  
> I don't know how to limit the length of the links. E. g. I want  
> that the plugin cuts off all letters after the 10th character. On  
> the Plugin wiki page there is following suggestion:
>
> The whole output of the plugin is enclosed in a <div  
> class='ReferredPagesPlugin <http://www.jspwiki.org/wiki/ 
> ReferredPagesPlugin>'> tag, so you can do any special formatting  
> you want via the jspwiki.css.
>
> Can anybody write me an example what I have to write into the css  
> file, so I can limit the length of a link to 15 characters?
>
> Thanks in advance!
>
> Best regards,
>
> Sang Hyo Lee.


Mime
View raw message