[pmwiki-users] pmwiki-2.1.beta1 released, svn available

Waylan Limberg waylan at gmail.com
Mon Nov 21 14:00:38 CST 2005

> I think that title should be used only if it is specified. I will
> explain possible problem by example - I want to take advantage of
> titled links and use something like this where only Group1.HomePage
> exists:
> source:
> * [[Group1.HomePage|+]]
> * [[Group2.HomePage|+]]
> * [[Group3.HomePage|+]]
> * [[Group4.HomePage|+]]
> current result (question mark means createlink):
> * Title of Group 1
> * HomePage?
> * HomePage?
> * HomePage?
> Problem: pages from different groups cannot be distinguished
> expected result:
> * Title of Group 1
> * Group2.HomePage?
> * Group3.HomePage?
> * Group4.HomePage?

Well, I think maybe the problem is that when a page does not have a
title set (which would include non-existant pages), {$Title} defaults
to the value of {$Name} where you want it to default to {$FullName}.
Perhaps you could redefine {$Title}'s default using the some of the
methods described here:

Of course, I have no idea if the [[PageName |+]] markup would be
effected by such changes or not. Although, in existing pages that do
not have a title set, the title is set to the PageName in the meta
data of the file, which I think is where  [[PageName |+]] gets the
title. Whether the meta data is obtained from {$Title} or another
source on page save I couldn't say. What happens on non-existant pages
I have no idea. But thats where I would start.

Waylan Limberg
waylan at gmail.com

More information about the pmwiki-users mailing list