Jump to:

22994 Posts in 11843 Topics by 2828 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: 928 Views
  • slavelabourer
    Avatar
    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>
    </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.

    928 Views
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.