There may already be another recipe out there that does this, but I couldn't find it and so put something together.<br><br>I needed to place a link on a page which would create a numbered sub-page. If the page was Group.Mypage then the first sub-page would be Group.Mypage-01, the second would be Group.Mypage-02, etc. The link has to be to the next (as yet nonexistent) page in order to allow it to be created. A pagelist elsewhere on the page provides the links to these pages.<br>
<br>(I was actually doing this within wikiforms and placed this code in my ViewTemplate so that I could easily create and view these sub-pages on any of the wikiform data pages.)<br><br>The recipe is coded in WikiSh and can be found at <br>
<br><a href="http://www.pmwiki.org/wiki/Cookbook/WikiShExamples#CreateSubPages">http://www.pmwiki.org/wiki/Cookbook/WikiShExamples#CreateSubPages</a><br><br>Hope it helps someone. I'd be interested if there's another way to do the same functionality.<br>
<br>-Peter<br>