display fields inline

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

Postby yusif » Mon Dec 25, 2006 9:45 am

Hi Steve,
I read once that Dataface 0.6.9r1 cannot display fields inline but you promise to reintroduce that feature. Is that feature currently available?
Regards
Yusif
yusif
 
Posts: 28
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Mon Jan 01, 2007 4:26 pm

Sorry for the delay in reply.

Currently inline fields are not supported. A small change to the templates is needed to add these back... I'm not sure when I'll have a chance to do this though..

-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby s_nalepa » Thu Feb 12, 2009 2:00 am

It seems to still be this way - that you can not put a number of fields in one row in the new record/edit record form template, even though they belong to a group. Which templates/files are in control of this?
s_nalepa
 
Posts: 16
Joined: Sat Dec 29, 2007 8:43 am
Location: Lund, Sweden

Postby shannah » Thu Feb 12, 2009 1:39 pm

You can actually override any particular field group with your own template.... I'll see about putting together a tutorial on this. Hopefully by the time next week's newsletter comes out.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Inline fields in the DETAILS tab

Postby fredly » Sat Apr 04, 2009 8:27 pm

I've tried the method involving custom css as described in the 'how to' at...

http://xataface.com/documentation/how-t ... lay-inline

... but that doesn't seem to work.

I've also tried the TEMPLATE method described here...

http://xataface.com/wiki/index.php?-tab ... e_id=%3D51

...which involves making a custom HTML template for each FIELD GROUP (as defined in my fields.ini file). This does work, but in only seems to affect the DETAILS tab in EDIT mode but NOT in VIEW mode. Surely it is intended to effect both?

Any comments on how to do inline fields in the DETAILS>VIEW tab?

Fred
fredly
 
Posts: 7
Joined: Fri Mar 27, 2009 2:07 pm

Postby shannah » Sun Apr 12, 2009 10:41 am

That is correct. Creating a custom template for fieldgroups only affects the edit tab. The view tab is a different animal. If you want to lay things out custom in the view tab you would add a custom section.
(i.e. the section__xxx delegate class function).

The ability to more easily lay fields out horizontally is still on the todo list, but no eta on that right now.

-Steve
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 15 guests

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