Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Forum Tree-like Navigation


Reply


4 Posts   1606 Views

Avatar
qhoxie

Google Summer of Code Hacker, 39 Posts

13 June 2007 at 3:29am

One thing that ive been missing on the forums is tree-like navigation for forums and sub-forums, at least at the top of the page, and maybe at the bottom too

something along the lines of:

SilverStripe Forum
-> Feature Requests
-> Topic

Avatar
Sam

Administrator, 685 Posts

13 June 2007 at 11:59am

The main thing holding us back here is developer resource. Would you be able to help out with the implementation of this?

Avatar
qhoxie

Google Summer of Code Hacker, 39 Posts

15 June 2007 at 10:04am

ill see what i can do with it
i havent played with the forum module much

does anyone know off the top of their head whether or not <% control Level(x) %> would work for this?

Avatar
Sam

Administrator, 685 Posts

17 June 2007 at 6:09pm

Kind of. It would be better to get the forum holder with a function like this:

function GetForumHolder() {
$obj = $this;
while($obj && $obj->class != 'ForumHolder') $obj = $obj->Parent();
return $obj;
}

And then use <% control GetForumHolder.Children %>