01-07-2009, 01:43 AM
[eluser]Majd Taby[/eluser]
Make sure you don't use tabs in your YAML file, only spaces.
Use this as a template:
Let me know if it worked.
Make sure you don't use tabs in your YAML file, only spaces.
Use this as a template:
Code:
db_table: pages
controller_name: Pages
display_fields:
-file_number
-business
-location
-gross_sales
-featured
-pending
-sold
order_by: file_number
order_type: desc
form_setup:
image:
class: File
params:
upload_path: /path/goes/here/
url_path: uploads/dir/
make_thumbnail: true
width:300
height:200
file_number:
class: TextBox
business:
class: TextBox
location:
class: TextBox
Let me know if it worked.