[pmwiki-users] Displaying page name with a limited number of characters?

Tegan Dowling tmdowling at gmail.com
Thu Feb 16 12:17:52 CST 2006


Look at it now - I changed it to [[{$Namespaced}?action=edit | Edit
{$Namespaced}]], so it page-wraps automatically - does that resolve your
issue?

On 2/16/06, christian.ridderstrom at gmail.com <christian.ridderstrom at gmail.com>
wrote:
>
> On Thu, 16 Feb 2006 christian.ridderstrom at gmail.com wrote:
>
> > Hi
> >
> > I often have the name of the current page in the sidebar, e.g. as
> >
> >       * [[Edit {$Name} -> {$Name}?action=edit]]
> >
> > This can however cause a problem when the name of the page is really
> > long... I tried making an example here
> >
> >
> http://www.pmwiki.org/wiki/Test/ReallyReallyReallyLongPageName-noItIsReallyExtremelyLong
> >
> > Unfortunately the effect I was looking for, namely that the sidebar
> > becomes much wider, didn't happen.
>
> I got a tip off-list that the problem do appear when there is no
> hyphen/dash in the name...  Look at the sidebar in this page:
>
>
>
>
> http://www.pmwiki.org/wiki/Test/ReallyReallyReallyLongPageNamenoItIsReallyExtremelyLong
>
> /Christian
>
> >
> > Anyway, what do you think about the possibility of limiting the length
> of
> > the name that is shown, in effect something like:
> >
> >       {$Name...}
> >
> > resulting in
> >
> >       ReallyReallyReallyLong...
> >
> > Another solution would be to somehow limit the width only when it's
> shown
> > in the sidebar (or not show the name there).
> >
> > /Christian
> >
> > PS. For some reason, the first time I just edited a page a pmwiki.org
> > today, the name of the page showed up in the author field... see the
> > history of this page
> >
> >
> http://www.pmwiki.org/wiki/Test/ReallyReallyReallyLongPageName?action=diff
> >
> >
> >
>
> --
> Christian Ridderström, +46-8-768 39 44
> http://www.md.kth.se/~chr
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060216/0fa5285e/attachment.html 


More information about the pmwiki-users mailing list