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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Sorting the Article holder into categories


Go to End


1260 Views

Avatar
slavelabourer

Community Member, 26 Posts

2 July 2010 at 2:05pm

So I have a hard coded category list in the sidebar of each page. I want to have those jump to the article holder page and display only articles with that category. What is the simplest way to do this?

<ul id="categorySidebar">
<li><a href="#" value="Graduate">Graduate Level</a></li>
<li><a href="#" value="Interships">Interships</a></li>
<li><a href="#" value="Nurses">Nurses</a></li>
<li><a href="#" value="GP">General Practitioners</a></li>
<li><a href="#" value="Consultants">Consultants</a></li>
<li><a href="#" value="HO">House Officers</a></li>
<li><a href="#" value="Physio">Physiotherapists</a></li>
<li><a href="#" value="Registrars">Registrars</a></li>
<li><a href="#" value="SHO">Senior House Officers</a></li>
<li><a href="#" value="RMO">Resident Medical Officers</a></li>
<li><a href="#" value="SMO">Senior Medical Officers</a></li>
</ul>

and so each article page just has a category selection in the article page cms. Been reading for hours but still haven't really found the right info yet.

thanks in advance for a pointer in the right direction

peace,
dan.