how to get my node form as table of fields using ds

Comments

nevets’s picture

You do not need display suite to place the files in a table, you would though need to custom theme the form. As a side note, using a table for this is not considered a best practice and I suspect css can be used to achieve what your want.

kaizerking’s picture

I am aware that the tables are not SEO friendly.
My site is totally for internal(corporate) use only and not intended for public viewing and not required to be searchable on the internet
other than that is there any other problem which would justify not to use table?

could you please guide me on how do I do with css?
are there any modules which do this theming ?

nevets’s picture

It depends on your goal. Often people want to use a table so all the labels take up the same horizontal space. You can do that with a combination of setting the labels to inline under the "Manage Display" for the content type and then using css to set the width for the label.

kaizerking’s picture

Thanks for trying to help me
I am looking for some thing like this http://boriscy.github.io/grider/#table1 but ajaxified table row where the product node fields are auto filled on filter change including SKU
I have entityreference field referencing the product node.Product node has fields product type, Product group, SKU
i wanted to get dependent filter
Product group->Product type->Product or Product id which should get the SKU field as well

nevets’s picture

It sounds more like you want to use views and view bulk update or views and on of the inline/in place edit modules.

kaizerking’s picture

unfortunately inline/in place edit modules conceptually edit the node and wont 'reference'
I have two options
1. entityreference dynamic select EntityReference Dynamic Select Widget
2. Views exposed filters
1. Works great but handicapped it provides only one format where the seleted fields appear in one field only i.e in a text field 34-xyzproduct-volume like this
2.views exposed filters with ajax enabled works but not 'inline' we will have search fields submitand then they will populate a table.

aspilicious’s picture

Status: Active » Closed (works as designed)

Your use case is prety advanced and I don't think DS is the tool for the case. I don't have any idea how to accomplish your goal without writing custom code.
Nobody answered in the last months and in order to make the quue maintainable I'm going to close this one.

Please try http://drupal.stackexchange.com/ if you have more such advanced questions that are not related to a specific module.

Thnx!