<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.2900.5969" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello guys,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The Main Page is:</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://eli5pedia.com/">http://eli5pedia.com/</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My goal is to output all the groups and
articles on the main page of the site, except for the groups Site, PmWiki and
RecentChanges.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>You can test the problem in
WikiSandbox:</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://eli5pedia.com/Main/WikiSandbox">http://eli5pedia.com/Main/WikiSandbox</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The problem is that some of the
links to articles do not appear on the Mainpage.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Examples:</FONT></DIV>
<DIV><FONT face=Arial size=2>1)</FONT><FONT face=Arial size=2><FONT face=Arial
size=2>The link to the article about Nietzsche appears here:</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2><A
href="http://eli5pedia.com/Philosophy-and-Religion/Philosophy-and-Religion">http://eli5pedia.com/Philosophy-and-Religion/Philosophy-and-Religion</A></FONT></DIV>
<DIV><FONT face=Arial size=2>But do not appear on the
Mainpage.</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>2) The next two groups do not appear
on the MainPage at all:</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://eli5pedia.com/Fallacy/Fallacy">http://eli5pedia.com/Fallacy/Fallacy</A></FONT></DIV><U><FONT
face=Arial color=#0000ff size=2><A
href="http://eli5pedia.com/Electronics/Electronics">http://eli5pedia.com/Electronics/Electronics</A></FONT></U>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The problem disappears if you erase the part
'-Site' from the code, like this:</FONT></DIV>
<DIV><FONT face=Arial size=2>(:pagelist fmt=#threecol list=normal -PmWiki
-RecentChanges:)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But then unnecessary links from the group
'Site' become visible.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any suggestion and tips would be
welcome.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>P.S.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In case it helps to understand the problem, I'm
using advice by kind Tamara Temple, who helped me last time around. Here it
is:</FONT></DIV><FONT face=Arial size=2>
<DIV> </DIV>
<DIV>On Jul 6, 2011, at 12:31 AM, adm wrote:</DIV>
<DIV> </DIV>
<DIV>//I want front page of the wiki to look like this:<BR>//<A
href="http://www.khanacademy.org/">http://www.khanacademy.org/</A><BR> <BR>//All
the articles and categories on one page. Is this possible? And how to implement
it?<BR> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Answer by Tamara Temple:</DIV>
<DIV><BR>Fascinating idea. Here's how I would approach it:</DIV>
<DIV> </DIV>
<DIV><BR>Organize topics as Groups rather than Categories:</DIV>
<DIV> </DIV>
<DIV><BR>Algebra.SimpleEquations<BR>Algebra.Equations2<BR>Algebra.Equations3<BR> ...<BR>Arithmetic.BasicAddition<BR>Arithmetic.Addition2<BR>...<BR>Chemistry:IntroductionToTheAtom<BR>...</DIV>
<DIV> </DIV>
<DIV><BR>and so on.</DIV>
<DIV> </DIV>
<DIV><BR>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> </DIV>
<DIV><BR>In Site.LocalTemplates, add something like this:</DIV>
<DIV> </DIV>
<DIV><BR>(:if false:)<BR>[[#threecol]]<BR>(:template first
{=$Group}:)<BR>!![[{=$Group}/]] {(setq grouppagecount 0)}<BR>(:table
width=100%:)<BR>(:cellnr width=30%:)<BR>(:template
each:)<BR>[[{=$Group}/{=$Name}]] {(setq grouppagecount (add {$grouppagecount}
1))}<BR>(:if2 equal {(mod {$grouppagecount} 3)} 0 :)<BR>(:cellnr
width=30%:)<BR>(:else2:)<BR>(:cell width=30%:)<BR>(:if2end:)<BR>(:template last
{=$Group}:)<BR>(:tableend:)<BR>[[#threecolend]]<BR>(:ifend:)</DIV>
<DIV> </DIV>
<DIV><BR>Then, in your front page, you can put the following markup:</DIV>
<DIV> </DIV>
<DIV><BR>(:pagelist fmt=#threecol list=normal:)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>