[pmwiki-users] trouble with pagelist template

Bronwyn Boltwood bronwyn at bronwynb.info
Sun Mar 5 01:26:44 CST 2006


I've been working on pagelist templates for the RPG campaign blog, and
this one is causing some weird problems:
- it replaces the containing page's title with the title of one of the
pagelist entries.
- for one entry (the one whose title is getting borrowed), the first
paragraph is not included.

	!!!fmt=#blog
	Headline-and-teaser format for Contents and Newest Entries, with
metadata links.
	[@
	[[#blog]]
	>>blogpost<<
	(:if auth edit:)%p rfloat meta actions%[[{=$FullName}?action=edit |
Edit Entry]](:ifend:)
	!!![[{=$FullName}|{=$Title}]]
	
	(:include {=$FullName} lines=1:)
	
	[[{=$FullName}|Read more...]]
	
	* %list meta data%{$CreationDate}
	(:if exists {$BlogGroup}Comments.{=$Name}:)
	* [[{$BlogGroup}Comments.{=$Name}#comments | Comments:
{{$BlogGroup}Comments.{=$Name}$PostCount}]]
	(:if !exists {$BlogGroup}Comments.{=$Name}:)
	* [[{$BlogGroup}Comments.{=$Name}?action=set#addcomment| Add Comment]]
	(:ifend:)
	%%
	>><<
	(:if equal {>$Group}:)
	(:if:)
	[[#blogend]]
	@]

I'm not sure what I need to change in order to fix these problems.  Help?

Bronwyn




More information about the pmwiki-users mailing list