Jump to:

3376 Posts in 1000 Topics by 713 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Different Types Of News Items

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

Page: 1 2 3
Go to End
Author Topic: 4691 Views
  • CodeGuerrilla
    Avatar
    Community Member
    105 Posts

    Re: Different Types Of News Items Link to this post

    That's great Dan glad it works!

    Let me know next week (I'm back at work Wednesday we have long weekend here woot!) if you need a hand with displaying the latest 5 should be pretty easy from here.

  • DanStephenson
    Avatar
    Community Member
    115 Posts

    Re: Different Types Of News Items Link to this post

    I am using the code that comes in Tutorial 2 of the SS documentation, and I am able to get the newest entries to show on all news pages, but keep getting errors as I am trying to write a conditional statement in the "category" function to only show the newest entries when there is no category selected.

  • CodeGuerrilla
    Avatar
    Community Member
    105 Posts

    Re: Different Types Of News Items Link to this post

    Can you post your code so far maybe I can help?

    4691 Views
Page: 1 2 3
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.