Jump to:

18591 Posts in 4875 Topics by 2285 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba

Page: 1
Go to End
Author Topic: 498 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 !

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