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

Subcategories


Go to End


3 Posts   1574 Views

Avatar
jbk

Community Member, 11 Posts

15 September 2008 at 8:46pm

Hi,
i want to show the subcategories of an individual Category. But not which ss-parameters but rather with php, because my function are based in sitetree.php which i didn´t can use this one here :

<% control Menu(2) %>
<li class="$LinkingMode"><a href="$Link" title="Go to the &quot;{$Title}&quot; page">$MenuTitle</a></li>
<% end_control %>

Avatar
Hamish

Community Member, 712 Posts

15 September 2008 at 9:24pm

Have you created your own hierarchical categories, or are these categories from a specific module?

Avatar
jbk

Community Member, 11 Posts

16 September 2008 at 8:24pm

I think this function is an basic function of silverstripe, but it doesnt´t work in my sitetree.php - Why not?