hello and sorry for my english...
in the site that i am building, in the node add form i want to change the place that the collection select has because it takes too much space for what is (see attached field).
i have rearranged the field, in the manager for the content type, but always the vertical tabs take it and put at the end.
i have made a custom module but i cant make it to be out of the fieldset.
maybe you can give to me a tip and i can do it :)
i have search a lot, but my bad english doesnt help :(
i have tried with the admin user in the costum module to compare with other nested fields (options, author, etc)
unset($form['additional_settings']);
the other elements get out but the product catalog disappears.
also i tried
unset($form['options']['#group']);
but field_collection has not #group...
and it is inside product_catalog that is inside additional_settings
after hours of studying, i dont find a way...
thanks for any help :)
Comment | File | Size | Author |
---|---|---|---|
collection.png | 8.58 KB | candelas |
Comments
Comment #1
candelas CreditAttribution: candelas commentedany tips, please? :)
Comment #2
bastnic CreditAttribution: bastnic commentedsomething like that might help you:
make sure your module is being loaded after the commerce_kickstart modules.
Comment #3
candelas CreditAttribution: candelas commented@bastnic thanks for your help :)
i tried but i get this error
thanks for any tip :)
Comment #4
candelas CreditAttribution: candelas commentedi think i am very tired... tomorrow i will try to see :)
thanks!
Comment #5
candelas CreditAttribution: candelas commented@bastic thanks for the help :)
i have search in internet and i dont found how to make that my costum module loads the last.
can you help to me, please?
edit: i found in the system table the weight. i put it 1001, since there was one 1000, but the code that you gave to me doesnt work (i put module name and contentypename).
other code works ...
any tip, please? :)
Comment #6
candelas CreditAttribution: candelas commentedi put the module weight to 1000 and now all works... :)
thanks for your tips :)