First of all, thanks for a great module. Love it!

I'm trying to change layouts for input forms for a content type I created that has node references and term references. When I'm in the "Manage Fields" tab and I choose "2 column stacked," and drag a field up to the header, I get an infinite spinning blue circle (Mac OS X). So I drag the other fields up and click save and they all go back down to hidden. And sure enough, there's no way to enter data into the form when I try to create a node. A little while ago I didn't get the spinning circle (it went away almost immediately), so I dragged the fields up to where I want them, clicked Save and they all went back down to "hidden," and nothing on the form. Does this part of the module work for other folks?

Note: I'm using "Node Form Settings" and "Comment Form Settings" to hide things from my users, but this seems a better way to do it. So I disabled those two modules, flushed the cache, but the problem remains. They all go back down to hidden.

Works great on Node display, just not Form display. Am I missing something? Please see attached screenshot.

Thanks again,
Tim

Comments

Dark Neo’s picture

I have the same problem on Windows too. But, display theming is better than manual theming!

Dark Neo’s picture

I make a little hack =)

If you comment two lines in ds_forms.admin.js like the follwing

Drupal.fieldUIFieldOverview.ds = function (row, data) {

  this.row = row;
  this.name = data.name;
  this.region = data.region;
  this.tableDrag = data.tableDrag;

  //this.$regionSelect = $('select.ds-field-region', row);
  //this.$regionSelect.change(Drupal.fieldUIOverview.onChange);

  return this;
};

you get abality to select regions manually from the list (drag to region will fail) and then you save the form fileds will be arraged in proper regions. But, then you open document or create one new you will see a default edit form :'(

I think, this functionality is not ready yet.

philipz’s picture

I have this problem too in one of my installations but it is working in another one. Both are 1.4 and same version of Drupal (7.9). Both those installations do not use any ds extra settings. This is all I can tell for now.

The working installation doesn't show the blue throbber after dropping field or makes it so fast I can't see it.

Dark Neo’s picture

Hmmm.. Do you use Form extension for ds? When I create a new layout blue throbber also hides very fast, but when I create a form layout it doesn't work =)

philipz’s picture

Yes, I'm talking about Display Suite Forms and form layout only. Display layouts are always working fine and I haven't seen that behaviour in those.

Dark Neo’s picture

Which browser do you use?

charlie-s’s picture

Same issue. Chrome v 15.

leavellwd’s picture

I'm getting the same issue with Chrome as well.

Though I want to give my regards to the developers of the Display Suite Module! Hats off to you guys, Awesome work! I have never used this module before (i always customized it with code or by using panels) but I am in the process of building a DIY system for my clients (dummy style) and this will be a great tool to give my clients more freedoms yet limit what they can and can't do.

If so far the only issue I have run into is that the form style part doesn't work, (and that is a minor issue) then you guys are doing awesome.

Any way I can Help let me know.

PS. I think your tutorials are the best I've see thus far (it would be nice if many of the other modules did this too).

Keep up the Good Work!

leavellwd’s picture

Sorry guys, I spoke to soon.

In the Latest Development Release the "Forms" Module works great. Especially with the Renderable Elements Module.

Wow, I can't thank you guys enough for your hard work.

philipz’s picture

Unfortunately it's still not working for me. I disabled all unnecessary modules, updated ds and ctools to latest dev versions but nothing changed. I'll try reinstalling the site later and then wait for next releases.

leavellwd’s picture

What modules do you have running?

FYI the forms module does not work for me by itself and requires the Renderable Elements Module in order to work properly. Warning: There do seem to be a couple bugs with the renderable elements module still to be worked out.

I will be posting issues about these, but i was just messing around with the module and to see what I can do with it, and when I tried to revert it to the original, or delete the "build" it caused many errors within that content type, and never reverted the element changes, and also caused DS to be useless on that specific content type, even after un-installing the module completely (which fixed the issue but only as long as Renderable Elements is off)

philipz’s picture

I've got only one installation which IS WORKING and it has lots of modules enabled. Right now I can't test this and check if any of those has any effect and makes it work because it's just too much of them :) The working installation is NOT using Renderable Elements Module though.

leavellwd’s picture

try using renderable elements, just be sure to setup a test content type first.

Be sure to take a look at this excellent video by the Ds guys on how renderable elements works

renderable elements

leavellwd’s picture

Note: For me Forms does not work without renderable elements.

greg0ryv’s picture

Thank you! this resolved my problem.

I had installed display suite and updated an existing content type with a two column layout. Things normal to this point.

I went and added a new field (type text area, multiple rows) and moved it into the row.

I went back to edit one of the pages using that content type - the only thing that showed was the newly added field. Everything else gone.

On manage fields, all fields were set to hidden (including the new field). Every time I moved fields, i'd get the blue timer icon - unable to make change. I was lucky enough to find this fix, comment out the two lines as Dark Neo Suggested. I can now rearrange in the drop down of each field and save. I'm also able to edit the content page using the layout and all fields are displayed again.

OnkelTem’s picture

Version: 7.x-1.4 » 7.x-1.x-dev

Experiencing same problem - forver spinning blue icon, fields never saved.
I'm on dev for both DS & REL.
Digging...

OnkelTem’s picture

Ok folks :)
Install & enable field_group module.
This resolved the issue for me.
Try it and provide feedback please.

Seems like DS needs it actually for managing forms (Which doesn't mean it really requires it - maybe a bug)

philipz’s picture

I can confirm this :) Thanks a lot I knew it works in some conditions without Renderable Elements!

leavellwd’s picture

That will make Life a bit easier. Though Renderable elements does have it's benefits.

OnkelTem’s picture

Status: Active » Needs review
StatusFileSize
new1.44 KB

Attaching a patch which simply duplicates what field_group does, to go w/o field_group dependency.

To test the patch you should disable Field Group module.
Also you don't need the Rendereable Elements module.

OnkelTem’s picture

Component: User interface » Code
kristofferwiklund’s picture

Status: Needs review » Reviewed & tested by the community

Hi

Had the same problem. After applied the patch in #22 the problem was solved. Thanks OnkelTem for the fix.

swentel’s picture

Status: Reviewed & tested by the community » Fixed

Nice catch. Committed and pushed, thanks!

leavellwd’s picture

Worked for me!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mrfelton’s picture

I get this problem with the latest-dev release of ds and rel. If I disable rel it works fine.

mrfelton’s picture

Status: Closed (fixed) » Active
jcassano’s picture

I can confirm that I had the same problem as in #12 with DS/Rel not actually managing everything and disabling it not taking any effect. Disabling Rel as well as DS seems to have solved the problem.

OnkelTem’s picture

@jcassano
@mrfelton

Consider applying the patch from #21 or just install -dev version of DS.

okeedoak’s picture

Version 1.5 of Display Suite with or without Renderable elements, dev version from 2012-Feb-02, still has the problem: blue throbber spins forever.

okeedoak’s picture

Hack from #2 does work, with specified limitations - after clearing cache.

okeedoak’s picture

Undoing the hack from #2 and installing/enabling Field group also fixes the problem.

lameei’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

Does not work. I even tried the 2.x dev version. Changing the region of the elements not working. This bug makes this awesome modules useless or am I missing a point here?

lameei’s picture

couldn't find a solution yet. I'm eager to use DS but there seems that I have to wait.

lameei’s picture

Voila, click on the save botton twice. Yes, twice. When i click the save botton for the first time is just scrolls up and do not show the message saying that the settings are saved but when i click it for the second time it is done.
I tested ds with a clean install and i can confirm that this is not happening there. Couldn't find the answer to why this happens yet.
Enjoy the ride :)

swentel’s picture

Status: Active » Closed (cannot reproduce)
guy_schneerson’s picture

Had the same issue and setting php.ini
max_input_vars =2000
solved it for me

dddbbb’s picture

#38 worked for me too.

lefale’s picture

Issue summary: View changes

I can confirm #38 fixed the problem on one of our sites.