Closed (works as designed)
Project:
Simple hierarchical select
Version:
7.x-1.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2013 at 15:06 UTC
Updated:
16 Mar 2013 at 12:15 UTC
Hi !,
Would be awesome to be able to avoid dragging rows and hiding the link of row weight when the field is being edited. Is it possible to do?
Thanks,
Javier
Comments
Comment #1
stborchertThis is the default behavior of multiple fields of Drupal core so Simple Hierarchical Select is not intended to change this.
You can simply hide the link and the drag handles with CSS (use Firebug for Firefox to see which elements to hide) or override theme_field_multiple_value_form() in the template.php of your theme to change the markup.
Comment #2
javier.drupal.2012 commentedThanks for this.
I have changed my css to solve the issue. I write the solution I have made just in case can helps anyone.
Hiding the show weight rows link:
where field-zona-donde-buscas-trabajo-add-more-wrapper is the name of the field with the shs
Hiding the draggable feature:
where field-zona-donde-buscas-trabajo-add-more-wrapper is the name of the field with the shs
Hope it helps