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 |
-
New parameter to the template

6 November 2009 at 11:37am Last edited: 6 November 2009 11:51am
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 -
Re: New parameter to the template

6 November 2009 at 12:05pm
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
| 498 Views | ||
|
Page:
1
|
Go to Top |

