Jump to:

23478 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Making custom Blogentry

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: 711 Views
  • raamklaza
    Avatar
    Community Member
    182 Posts

    Making custom Blogentry Link to this post

    Hello,

    i want to make a second custom Blogentry page.

    I will still be a blog entry but with some extra / other fields.

    On the admin:
    Same as is now but with the possibility to add some custom fields with a title like School and then a inputfield, etc etc

    On the frontend:
    On the blogentry page a small square on the top right of each blogenty with some additional information.

    My question, how can i do this?

  • raamklaza
    Avatar
    Community Member
    182 Posts

    Re: Making custom Blogentry Link to this post

    Does anyone have an idea about this?

    How can i easily make this in the admin and show up on the front-end?

    It would look similar like this:

    A list
    xxx: 11 - 22 - 33
    xxx: ab - cb - ee
    xxx: bb - -- - xx
    xxx: yes
    xxx: no

    The list should always be of the same structure.

  • raamklaza
    Avatar
    Community Member
    182 Posts

    Re: Making custom Blogentry Link to this post

    Anyone?

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Making custom Blogentry Link to this post

    Create a new Page Class that inherits from the Blog-Page?
    There you would add the required fields to the DB array and create the required form-elements in the getCMSFields method.
    The look can be customized by creating a custom template for your new page...

    All pretty basic stuff. Did you do the tutorials once? That should actually give you enough information to accomplish what you need.

  • raamklaza
    Avatar
    Community Member
    182 Posts

    Re: Making custom Blogentry Link to this post

    I did the tutorial but that was a while ago

    I will look into that, just needed that "startingpoint", THNX.

    711 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.