<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jul 6, 2011, at 12:31 AM, adm wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div bgcolor="#ffffff"><font face="Arial" size="2"><div><br>I want front page of the wiki to look like this:<br><a href="http://www.khanacademy.org/">http://www.khanacademy.org/</a></div><div> </div><div>All the articles and categories on one page. Is this possible? And how to implement it?</div><div> </div></font></div></span></blockquote><br></div><div>Fascinating idea. Here's how I would approach it:</div><div><br></div><div>Organize topics as Groups rather than Categories:</div><div><br></div><div>Algebra.SimpleEquations</div><div>Algebra.Equations2</div><div>Algebra.Equations3</div><div> ...</div><div>Arithmetic.BasicAddition</div><div>Arithmetic.Addition2</div><div>...</div><div>Chemistry:IntroductionToTheAtom</div><div>...</div><div><br></div><div>and so on.</div><div><br></div><div>Then you can use a page list format (<a href="http://www.pmwiki.org/wiki/PmWiki/PageListTemplates">http://www.pmwiki.org/wiki/PmWiki/PageListTemplates</a>) to produce the required markup. In addition, to get the 3 columns across, you can include the recipe MarkupExprPlus (<a href="http://www.pmwiki.org/wiki/Cookbook/MarkupExprPlus">http://www.pmwiki.org/wiki/Cookbook/MarkupExprPlus</a>) which adds the ability to some basic math:</div><div><br></div><div>In Site.LocalTemplates, add something like this:</div><div><br></div><div><div><div>(:if false:)</div><div>[[#threecol]]</div><div>(:template first {=$Group}:)</div><div>!![[{=$Group}/]] {(setq grouppagecount 0)}</div><div>(:table width=100%:)</div><div>(:cellnr width=30%:)</div><div>(:template each:)</div><div>[[{=$Group}/{=$Name}]] {(setq grouppagecount (add {$grouppagecount} 1))}</div><div>(:if2 equal {(mod {$grouppagecount} 3)} 0 :)</div><div>(:cellnr width=30%:)</div><div>(:else2:)</div><div>(:cell width=30%:)</div><div>(:if2end:)</div><div>(:template last {=$Group}:)</div><div>(:tableend:)</div><div>[[#threecolend]]</div><div>(:ifend:)</div><div><br></div></div></div><div>Then, in your front page, you can put the following markup:</div><div><br></div><div>(:pagelist fmt=#threecol list=normal:)</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br></body></html>