17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 974 Views |
-
Pagetype and datatype

2 September 2008 at 9:22pm
Hi, is it possible in silverstripe to create a specific data type with specific fields AND let it choose the template ? the way I do it currently is by extending the Page and PageController and associationg with ss files but I would like to create page and pagecontroller that can choose their template ?
-
Re: Pagetype and datatype

2 September 2008 at 9:37pm
If you extend Page you can use a specific template for that extension to it.
For example, MyCustomPage extends Page.
If you define MyCustomPage.ss then it will use that template.
| 974 Views | ||
|
Page:
1
|
Go to Top |


