[pmwiki-users] how to create pagelist with description?

Martin Fick fick at fgm.com
Wed Nov 9 13:07:29 CST 2005


> I noticed one thing I would like to see different, but
> don't know how to realise.
> If the first line of the include contains formatting
> this is also given in the table.

Yes, I figured you would mention that. :)

> So if the include file starts with
> ! something
> I get the something text in the large font in the
> index page as well.
> 
> I've updated the test sample to demo this.
> Is there a way around this?

Saw it.

I don't knwo how you could strip the wiki markup, maybe
someone who is better with the core could give us a hint.

One thing you could do that would involve a convention,
would be to get people to place their text nicely into
anchored sections instead.

For example, wrap there descriptions with:

(:if false:)
[[#WhoAmI]]The only smart Doe (married into the family) test 3\\
with a 2nd line
[[#WhoAmIEnd]]
(:if)



And then referenc it where they want to format it
such as:


! (:include Profiles.JaneDoe#WhoAmI#WhoAmIEnd:)

this is some more blurb to see what happens if there is more text.\\
or multiline

(:if false:)
[[#WhoAmI]] The only smart Doe (married into the family) test 3\\
with a 2nd line 
[[#WhoAmIEnd]]
(:if)




Then use a different tact on your includes, use anchors:

(:cellnr:)
[[({$PageList.Group}.){$PageList.NameSpaced}]]
(:cell:)
(:include {$PageList.Group}.{$PageList.Name}#WhoAmI#WhoAmIEnd:)


I have updated the site to reflect this, look at both profiles,

http://www.theficks.name/test/PLT/pmwiki.php?n=Test.Profiles


-Martin




More information about the pmwiki-users mailing list