Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » New parameter to the template

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: 698 Views
  • NtM
    Avatar
    Community Member
    39 Posts

    New parameter to the template Link to this post

    Hi,

    the basic form for adding a new "Page" has fields "Page name", "Navigation label", "Content".
    Is it possible to add more fields? How to do that?
    thank you

  • chrisdarl
    Avatar
    Community Member
    33 Posts

    Re: New parameter to the template Link to this post

    best suggestion is to take a look at the tutorials.

    You need to add fields to your Page.php file. This is done by the $db array, and the function getCMSFields

  • NtM
    Avatar
    Community Member
    39 Posts

    Re: New parameter to the template Link to this post

    Thank you !

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