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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Forum Tree-like Navigation


Go to End


4 Posts   2130 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, 690 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, 690 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 %>