22 July 2010 at 10:07pm
(Last edited: 22 July 2010 10:08pm),
I create a new page type (ArticlePage.php) with a new field: date. Silverstripe create a new table articlepage in db.
If a call in my ArticlePage.ss the new field $date I can't see the value. Otherwise if a call $Title a see the name of the page. The cause is that Title filed is defined in sitetree table? to see $date i can use a query in ArticlePage.php?
23 July 2010 at 1:10am
I think the problem is not the name but the field. If Ihave a core field like Title I can use $Title in my .ss file. If I have a new field, only for my new page, I can't do that. What do you think? Is this correct?