Following upgrade to 5.x-3.0 when trying to create a new content type, I am unable to configure the Location settings on the Content Type page. The group box for the location module is present, but none of the configuration items are present or enabled. Incidentally the Five Star module suffers from the same problem.

In addition received the error "You can't show more empty location forms than the maximum number of locations allowed for this content type." When trying to save the content type. Applied the patch referenced on http://drupal.org/node/338963 and this error went away but no further improvements to performance.

I'm running Drupal 5.8 core, and will try upgrading to 5.14

www.anchorageworld.com

CommentFileSizeAuthor
#1 locationscreenshot.JPG178.09 KByhzsailor

Comments

yhzsailor’s picture

StatusFileSize
new178.09 KB

Upgrade to 5.14 had no impact on this behaviour. I've attached a screen shot of the problem.

yhzsailor’s picture

Project: Location » GMap Addons
Version: 5.x-3.0 » 5.x-1.x-dev

Making some progress.

Checking my Java Error console find the following error message:

$(fieldset).find('div.gmap-map')[0].id is undefined
http://www.anchorageworld.com/modules/gmap_addons/location_quickgeocode/location_quickgeocode.js

yhzsailor’s picture

Project: GMap Addons » Location

Comment #2 has nothing to do with the issue. (Although I supposed one should define the variables for good form).

Checking the page source shows that all of the necessary HTML has been generated. It seems there is a problem with the collapsible field set. Here is the start of the output:

<fieldset class=" collapsible"><legend>Locative information</legend><fieldset class=" collapsible collapsed"><legend>Number of locations</legend><div class="form-item" id="edit-location-settings-multiple-min-wrapper">
 <label for="edit-location-settings-multiple-min">Minimum number of locations: </label>

Oddly enough I get this behaviour for all of the modules (fivestar & sitemap) also output collapsible collapsed field classes and they do not appear properly.

Using Firefox or Explorer. I've no idea where I'm going to go next, perhaps modifying the location.module to set collapsible to FALSE everywhere to see what happens.

yhzsailor’s picture

Ok so I manually edited the location module and manually set all of the fields with collapsible properties in function location_settings to be FALSE. This solved my problem, but is a complete hack. I still don't know the root cause of the problem.

yesct’s picture

Title: Unable to Create Locations for New Content Type » Cannot expand collapsed field sets and thus Unable to Create Locations for New Content Type
Issue tags: +location upgrading versions

I have sometimes had my site suddenly stop expanding collapsible groups (location, and other module's groups too). Sometimes, I can empty the cache, and revisit the theme registry and other related things and then it goes back to working again. I'm using the D6 dev version of location and I also have the devel module installed.

Is anyone else having problems with expanding collapsed field sets?

yesct’s picture

Status: Active » Closed (fixed)

I dont think this is a locations issue as it effects other field sets too. Marking this closed since no response. Please reply if still an issue for you, or if anyone has an idea what queue to move this to.

yesct’s picture

mayur.pimple’s picture