fields.ini

A place for users and developers of the Xataface to discuss and receive support.

fields.ini

Postby mickd » Thu Nov 08, 2012 9:24 am

Hi,
Just installed xataface 1.3.3 on ubuntu connecting to a mysql database, just created a simple database and table and created a fields.ini file to change the name of a field, but no matter what I do I can't get this to work...

website is located

/var/www/dbname/
in there is conf.ini, index.php, web.config
I've created a tables directory, then beneath that a directory called the same as the table.
In there I have created the fields.ini file
in this file I have the following

[Date]
widget:label = "Input_Date"
widget:type = "date"

this was just a simple test to see how it works... but when I go to the website, nothing has changed in the layout and the field labels are the same...

Anyone have any idea why this isn't working?

Mick.
mickd
 
Posts: 2
Joined: Thu Nov 08, 2012 9:16 am

Re: fields.ini

Postby mickd » Thu Nov 08, 2012 9:41 am

It's OK I found it, I was using uppercase when it should have been lower case....

Thanks anyway,
Mick.
mickd
 
Posts: 2
Joined: Thu Nov 08, 2012 9:16 am

Re: fields.ini

Postby shannah » Thu Nov 08, 2012 9:42 am

Make sure the name of the table's config directory is exactly the same as the table name. It is case sensitive.
Same with the section name in the fields.ini file. Make sure it is exactly the same name as the field. It is case sensitive.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 16 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved