New/Edit Form layout change for Textarea

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

New/Edit Form layout change for Textarea

Postby neotrode » Thu Feb 10, 2011 7:51 am

Hello.

Is there a way to edit the Quickform's Textarea struture so that it matches the other fields as far as visual layout style?
To start, I decided to create a clone of the plone.css and a custom template to call the custom css. In the css, I changed the width of the textarea to 50%. Now that I have done that, I would also like to change the layout of the textarea portion of the form. It appears that all fields have a label addressed in their own <td> space followed by the form next to it in another <td> space. However, the textarea form uses only one <td> with a colspan expanded to "2". Leaving the label above the form's textarea window. I would like to change this so that the layout is consistant through the entire form. I am sure I can dig my teeth into the code and change this but I was wondering if you have already set a way to make these changes without breaking the core source code.

I look forward to your response. They're always "on the nose".

Ciao,
Frank
neotrode
 
Posts: 26
Joined: Mon Dec 20, 2010 11:08 am

Re: New/Edit Form layout change for Textarea

Postby shannah » Thu Feb 10, 2011 10:22 am

set
Code: Select all
display=inline


for the field in question in your fields.ini.

Alternatively you could change your other fields to match the textarea strategy (label/widget in separate rows) by setting:
Code: Select all
display=block

for those fields.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: New/Edit Form layout change for Textarea

Postby neotrode » Mon Feb 14, 2011 1:22 pm

Perfect. Thanks!

-Frank
neotrode
 
Posts: 26
Joined: Mon Dec 20, 2010 11:08 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 20 guests

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