Help with broswing message with MessageIndex.php

Started by MegaPoppo, August 30, 2006, 03:54:04 AM

Previous topic - Next topic

MegaPoppo

Hi,

I'm working with my mod that try to browse the boards using SSI.php
I try the following code,


require_once($sourcedir . '/BoardIndex.php');
BoardIndex();


and then I can use $context['categories'] to list all board in my site.

Now I want to list the topic in the board so I use the similar method,


require_once($sourcedir . '/MessageIndex.php');
MessageIndex();


this time I can get the child board but no topics is in $context['topics'].

What is wrong this time, any idea?

Thanks anyway
---------------
MegaPoppo

MegaPoppo

OK

I had known what I missed is that I didn't call loadBoard()

Advertisement: