Newbie question re fields.ini
Posted: Sun Aug 02, 2009 3:27 pm
Just read the feature in php|architect and excited to try this out.... But I've met a stumbling block with getting fields.ini to work, both in the php|architect example and now also with the demo app in the FacultyOfWidgetry tutorial. The app itself works, however nothing in fields.ini has any effect -- e.g. the label remains the default db field name, despite widget:label being set. The error I see (when I turn them on):
The fields.ini in question was downloaded from the FacultyOfWidgetry tutorial:
Just realized that I'm using PHP 5.3, if that is an issue.
Thanks for any suggestions,
Jason
Warning: syntax error, unexpected ':' in /Library/WebServer/Documents/FacultyOfWidgetry/tables/Program/fields.ini on line 2 in /Library/Webserver/Documents/xataface/Dataface/ConfigTool.php on line 331
The fields.ini in question was downloaded from the FacultyOfWidgetry tutorial:
- Code: Select all
[ProgramName]
widget:label = "Program Name"
widget:description = "Enter the name of the program"
widget:atts:size = 50
widget:atts:style = "font-size: 24pt; font-family: Apple Chancery"
[HTMLOutline]
widget:type = htmlarea
Just realized that I'm using PHP 5.3, if that is an issue.
Thanks for any suggestions,
Jason