Fields set to 'unlimited' are not display correctly in collapsible groups (Firefox 3, Chrome 2 and Safari 3)

andrewsuth - July 5, 2009 - 11:19
Project:Zen
Version:6.x-1.0
Component:CSS/HTML Markup
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I have added a single CCK field - configured with Number of values: unlimited.
I then add the CCK field to a group - configured with Style: collapsible or Style: collapsed.

When I then view /add/node/my-content-type the field is displayed with a right side-bar to scroll up/down within the group.

When I set Number of values to any other value (eg. 1, 2, 3) this displays correctly with no side-bar to scroll down. The same is true when the group is set to Style: always open

I have found this behaviour in Firefox 3, Chrome 2 and Safari 3.2, while IE 6 and Opera 9 seem to handle it correctly.

This behaviour seems to be consistent for all CCK fields. I have tested it with the following: Text: textbox, Links, File: Embedded Media Image, File: Embedded Media Video.

#1

markus_petrux - July 5, 2009 - 12:54

It might be something related to your configuration as it doesn't happen here. Tested in FF3, IE and Opera.

#2

hefox - July 13, 2009 - 05:00

I'm having the same issue.

Using a subtheme based on zen.

It has something to do with the "clear-block" class

According to firebug in default.css of system, the clear-block class on line 42 is declared as display:inline-block while on 50 it's redeclared as display:block.

I added

<?php

.content-add-more {
display:inline-block;
}
?>

to my style and at the moment it's fixed it, not sure what repercussions that'll have.

#3

markus_petrux - July 13, 2009 - 07:35
Category:bug report» support request
Status:active» fixed

It's a theme issue, so please report to the issues queue of the theme project.

#4

andrewsuth - July 13, 2009 - 08:33
Project:Content Construction Kit (CCK)» Zen
Version:6.x-2.4» 6.x-1.0
Component:fieldgroup.module» CSS/HTML Markup
Category:support request» bug report
Status:fixed» active

The problem I was having was also because of a Zen sub-theme.

Changing project module to Zen.

 
 

Drupal is a registered trademark of Dries Buytaert.