Could you clarify about the reset feature of DS; it seems to be inconsistently used, which adds confusion. In one of the videos about manipulating the markup, you seemed to indicate it will remove all of the core markup -- e.g., DIV mania. But, elsewhere, it seems to revert or undo modifications. Revert to where?

More clarification whether it:
A. reverts back to previous settings (as in undo)
B. reverts back to core settings
C. some other function

Don't think that it is a good term to use for removing extraneous HTML tags. Something like "Strip" would be more logical. Consistency of use in all places.

In any case, a mouseover clarification would be helpful. It isn't a choice to make lightly.

Thank you for great module!

Comments

swentel’s picture

Well, the reset clears all the div's around the printed fields (normally 3 by default). Reset strips those all out.

Agreed, maybe 'Strip' is a better term. I'll look into it and change the theme function as well.

greta_drupal’s picture

But, there is also the "Reset" for layouts. Doesn't that revert? Ima scared to try after much customization on a real site.

swentel’s picture

Aah, sorry, completely forgot about that one. That's a new layout in the 7.x-2.x version which is simply a layout with no wrappers at all.

aspilicious’s picture

maybe we should call it "stripped" ?

greta_drupal’s picture

Whatever is decided, do take advantage of title to add additional clarification...especially since there isn't really a great keyword to describe this action.

I'd recommend same for the RESET to clarify that it resets to core version (as opposed to previous custom version).

aspilicious’s picture

But it doesn't reset to core it strips the layout just like with the reset options of fields.

greta_drupal’s picture

@aspilicious: you must not have read the original or rest of thread. there are 2 references "reset" and they mean different things. that is the point of the issue post.

aspilicious’s picture

"But, there is also the "Reset" for layouts. Doesn't that revert? Ima scared to try after much customization on a real site."

==> NO it's not a revert, it is a stripped layout. SO both instances of reset are in fact just "stripped" (== minimum of divs)

greta_drupal’s picture

Okay, then that definitely isn't clear or good word choice, IMO. I assumed the "reset" for layout was to roll you back if you effed up your original layout. So, in common language: if you hit "reset" on software apps or hardware devices, it returns (reverts) to the original settings.

So, that being said (about the stripping feature), what the heck is "minimal" and I think there is another, along with "reset"? Can't even remember or find where that config is now. They need more explanation.

swentel’s picture

Well, the field template explanation is on admin/structure/ds/list/extras.

swentel’s picture

Status: Active » Closed (works as designed)

I'm going to leave this as is. Did a little poll underneath front end developers and site builders (around 10) and they immediately associated reset with the famous 'reset.css' that exists when theming. We explored some other names, but this one still was the best one we could come up with as it seems to be a widespread known term.

greta_drupal’s picture

Why not just add title hover clarification -- "removes customization" or such.

Again, my issue was less about a particular word choice, but rather that the word "reset" is used within Display Suite for 2 functionalities seemingly with different results. Like saying we have apples and oranges...we'll just call them both apples.