Page 1 of 1

PostPosted: Thu Feb 08, 2007 6:37 pm
by alexst
First of all thanks for the great piece of software.

I have a small problem that's nearly driving me insane. The way I am trying to use Dataface is pretty straightforward - I have a MySQL database ready, installed through the makesite script and voila, Add / Edit / Del works just fine and is basically all that I am looking for. However on the Add new record Form there is one field out of place due to an align="right" tag. I tried tinkering the fields.ini to no avail. I spent the past 2 days reading the docs here and trying out few things, but this dreaded tag is still there. What would be the easiest/fastest fix.

Some details:

There are about 20 fields one below the other lined up to the left - all this by default, the third one is of type DATETIME and shows almost in the middle of the page, here's the HTML source:





Timestamp





PostPosted: Fri Feb 09, 2007 12:57 pm
by alexst
Update: changing the MySQL data type of the field from DATETIME to TEXT fixes the layout issue, however this is not acceptable solution, plus the autocomplete feature doesn't work from me on Opera 9.1, while in IE 7 it does its job.

PostPosted: Fri Feb 09, 2007 1:53 pm
by shannah

PostPosted: Fri Feb 09, 2007 4:38 pm
by alexst
Thank you Steve, I will give it a try.

PS Yes, I do have some quite long labels :)

PostPosted: Mon Feb 12, 2007 5:02 pm
by alexst
OK :) I am almost there where I wanna be . . . just a quick note on my progress that might be useful to others. I have long labels and lots of fields - after the last patch (mentioned above) the long field names are ok, but then I wanted to use grouping and there the width is fixed in plone.css like:

.groupFieldLabelWrapper
...
width: 150px;
...

and this caused some unappealing messy formatting of my long named fields, solved it by replacing the default css width entry with "width: 50%;
".