Having troubles with custom fields for some reason. Can anyone help? I have successfully created a custom page type "HomePage". I have set the page type in the CMS. I have successfully added the custom fields to tabs in the CMS and they work as they should (allowing data to be added, changed, removed, saved, etc). However, when I try to insert those custom fields into the template HomePage.ss the fields do not get inserted into the template
So for example, I have the following custom fields:
private static $db = array (
'QuoteRequestHeading'=>'Varchar',
'QuoteRequestIntroText'=>'HTMLText'
);
in my HomePage.php
When I try to insert $QuoteRequestHeading into the template, nothing is returned even though a query in the mysql table shows that there is data to pull in. The same thing happens with $QuoteRequestIntroText.
Any suggestions on what I might be doing wrong, or how I might diagnose my problem?