[pmwiki-users] weird title

Patrick R. Michaud pmichaud at pobox.com
Mon Jan 2 18:53:28 CST 2006


On Tue, Jan 03, 2006 at 12:18:15AM +0000, Hans wrote:
> please look at
> http://www.pmwiki.org/wiki/Cookbook/PagelistTemplateSamples
> 
> the page displays as "About This Site", even despite a title has been
> set explicitly.
> "About This Site" appears as first page in the first sample of
> oneline format. Why does it force the title to change??

It's because of the #teasers markup at the end of the page --
#teasers is doing the equivalent of

    (:include Main.AboutThisSite lines=5:)

and that's grabbing the (:title:) directive from Main.AboutThisSite.
Since the current implementation causes the last instance of (:title:)
to be recognized, that's the one that counts.

I'm planning to correct this aspect of (:title:), as soon as I
figure out what "correct" is.  :-)

Pm




More information about the pmwiki-users mailing list