Jump to:

23493 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Sorting the Article holder into categories

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

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

Page: 1
Go to End
Author Topic: 976 Views
  • slavelabourer
    Community Member
    25 Posts

    Sorting the Article holder into categories Link to this post

    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>

    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


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.