- Category: SilverStripe
- Last edited: September 28, 2012
If you are struggling to find out why your page’s static $db fields aren’t working, it may be due to the field name or function names.
You cannot use PageIntro as a $db field, nor can use you use GetPageIntro in your controller (ie Page.php) as a function to return content to your templates. These are protected functions. Hopefully this helps someone else out.