Hi All,<br><br>I've been looking at:<br><br><a href="http://www.pmwiki.org/wiki/Cookbook/">http://www.pmwiki.org/wiki/Cookbook/</a><a href="http://www.pmwiki.org/wiki/Cookbook/ParseArgs">ParseArgs</a> and <a href="http://pmwiki.org/wiki/PmWiki/">
http://pmwiki.org/wiki/PmWiki/</a><a href="http://pmwiki.org/wiki/PmWiki/CustomMarkup">CustomMarkup</a><br clear="all"><br><br>I'm having problems understanding how to combine boths sets of help to acheive what I want.<br>
<br>I'd *like* to do this:<br><br>In one <span style="font-weight: bold;">WikiPage</span>, I would have fragments of content representing an entire "content set".. e.g. I plan to host a profile of all my friends and family. A single person would have one
<span style="font-weight: bold;">WikiPage</span> dedicated to them. That <span style="font-weight: bold;">WikiPage</span> would contain (for example): "surname", "summary", "full profile", "ThumbnailOnly", "PersonalLink", etc.
<br><br>If I wanted to make a single page filled with thumbnails of people I would like to do this:<br><pre>(:PersonData person="jason hattingh" content=ThumbnailOnly:)<br>(:PersonData person="ayn rand" content=ThumbnailOnly:)
<br>..etc..<br><br>If I wanted to make a single page filled with ROWS dedicated to summaries of people I would like to do this:<br><br>(:PersonData person="JasonHattingh" content=summary:)<br>(:PersonData person="AynRand" content=summary:)
<br>..etc..<br><br><br>The result is that the args are used to construct a link which reads between "specified section start" and "specified section end"<br>I have yet to learn to use PHP, but I imagine that I would interpret the args in this (pseudo code) way:
<br><br>// construct part of the wiki link e.g. People.JasonHattingh<br>$Pagename = "People." + $args['person'] <br><br>// construct the bookmark extraction specification:<br>$Section = "#" + $args['section'] + "S" + "#" + $args['section'] + "E"
<br><br>// Piece it together:<span style="font-family: arial,sans-serif;"><br><br>$FullLink = $PageName + $section<br><br>some_incluce_command( </span><span style="font-family: arial,sans-serif;">$FullLink );<br></span><br>
</pre>Ok, that's it.. I hope it's clear enough.. Does this seem a good way to do it? I am quite worried that I may be barking up an inefficient tree.<br><br>-- <br>Octocias<br><a href="http://www.octocias.com">http://www.octocias.com
</a>