On Wed, 2003-04-02 at 12:53, Tony Lee wrote: > Hello, Greetings!
> Can anyone explain how to attach a reply article. Actually making the > article was easy enough, but it doesn't show up in the parent page or > the NeimenNavBar. This is by design. NemeinNavBar itself doesn't support reply articles, so they can be used as the site developer wishes. For an example of using replies as comments, see the OSCOM site: http://www.oscom.org/Conferences/Cambridge/Program/ > I'd like to have the reply article follow after the parent (on the same > page). This is easy. Add to the bottom of the page: <?php if ($article) { $replies = mgd_list_reply_articles($article->id); if ($replies) { while ($replies->fetch()) { // Put an anchor with reply article's name for linking echo "<a name=\"$replies->name\"></a>\n"; // Show the reply article's title as H2 echo "<h2>$replies->title</h2>\n"; // Show the actual content echo $replies->content; } } } ?> > Ideally I eventually want it to show as a sublink of the parent > in the LHS nav with links to it's anchor on the parent page, but one > things at a time. That should be easy as well by tweaking the nemein_draw_navbar2 function a bit. > Tony /Bergie -- Henri Bergius [EMAIL PROTECTED] Consultant Partner Tel: +358-20-198 6032 Nemein Oy http://www.nemein.com/ Nemein.Net -- Project tracking solution for consulting companies http://www.nemein.com/Nemein.Net/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
