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:59:27 GMT

D'oh!  I need to work on my reading skillz, I see :)

/Janne

On 6 Mar 2008, at 20:54, Harry Metske wrote:

> I think that Sang Hyo Lee means the ReferredPagesPlugin, not the
> ReferringPagesPlugin.
> The ReferredPagesPlugin is not a subclass of AbstractReferralPlugin  
> (yet),
> so no maxwidth....
>
> I was just working on that ...............
>
> Harry
>
> 2008/3/6, Janne Jalkanen <Janne.Jalkanen@ecyrd.com>:
>>
>>
>> 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.
>>
>>
>
>
> -- 
> met vriendelijke groet,
> Harry Metske
> Telnr. +31-548-512395
> Mobile +31-6-51898081


Mime
View raw message