[pmwiki-users] Wiki trails: feature/change request

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 28 10:37:41 CST 2006


On Sun, Mar 26, 2006 at 12:57:11PM -0500, Neil Herber wrote:
> At 2006-03-26  11:33 AM -0600, Patrick R. Michaud is rumored to have said:
> >So, perhaps these are really page variables, and {TrailPage$Prev}
> >and {TrailPage$Next} are what we're really after...?  Then we
> >get:
> >
> >    [[{TrailPage$Prev}]] • [[TrailPage]] • 
> >    [[{TrailPage$Next}]]
> >
> >It's not as pretty, but it's more consistent.  We also get the
> 
> I like this idea, though I am quite a newbie when it comes to trails.
> 
> If the markup becomes page variables, is it possible to do "things" to them?
> 
> I was thinking my my truncation mod could become something like: 
> left({TrailPage$Prev},20)
> (although I would be quite happy with a config.php setting)

It might be nice to have a general-purpose markup that says 
"truncate whatever is inside if it's longer than NN characters".
This could be useful for long page titles as well.

I have no idea what that markup would look like, but I think it
ought to involve chopping or cutting somehow.  :-)

Pm




More information about the pmwiki-users mailing list