몇 시간을 보냈지 만 그 해결책은 간단하고 믿기지 않습니다. form.inc 파일의 include 아래 bootstrap 테마를 검색하십시오. 이 파일에서 모두 필드는 으로 덮어 씁니다. 그래서 homebox는 액션과 입력 필드를 찾고 있지만 아무도 찾지 않습니다. 이 쿼리에서 다른 반환 값을 교체하는 경우 :이와
if (isset($element['#id']) && in_array($element['#id'], $whitelist)) {
return '<input' . drupal_attributes($element['#attributes']) . ">\n"; // This line break adds inherent margin between multiple buttons
}
else {
return '<button' . drupal_attributes($element['#attributes']) . '>'. $label ."</button>\n"; // This line break adds inherent margin between multiple buttons
}
: return '<input' . drupal_attributes($element['#attributes']) . ">\n";
//를이 줄 바꿈은 homebox를 작동하게`게요 여러 버튼
사이에 내재 된 마진을 추가합니다.
감사합니다, Internetagentur München
감사합니다 @ 알렉스에서 알렉스,이 솔루션은 작동한다! – borort