I am working on Drupal Rc2 and using the fieldgroup-5.x-1.x-dev release of field groups
The case
1. Create a new content type college.
2. Create a new group
3. Created fields and added it to the group
This works perfectly now..
I did the same but for a new content type example.. "Books"
It refuses to work for the books content type for some reason.
Warren
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | fieldgroup.info | 145 bytes | karens |
| #3 | fieldgroup.module.patch | 5.53 KB | karens |
Comments
Comment #1
fagohm, for me everything is working fine.
I've tested multiple fields and content-types including the book type. Everything working as expected?
Has anyone else problems?
Comment #2
karens commentedI wonder if this is a Beta-2 issue? I ran into this on other things where my current cvs installation worked fine but others reported problems and it turned out that Beta-1 didn't work right because it was missing an important patch. I don't have time to test right now, but fago maybe you can try this with Beta-2 just to see if that's the case. I'll try a test later when I have more time.
Comment #3
karens commented@fago, I found some fixes that are needed in the 5.x version and I've attached a patch. Basically, you can't use arg(3) any more because Drupal 5 is doing a string_replace on node type names that have an underscore in them so they have a hyphen instead in the url. For that reason you have to run arg(3) through a function to get either the str_url value (which will have a hyphen) or the 'type' value, which is the actual node type name that has the underscore. You tried to use this on a 'book' content type (no underscore) and your poster may have tried this on a 'content_books' content type (with an underscore).
Comment #4
karens commentedAnd since I couldn't test this without an info file, here is the info file.
Comment #5
karens commentedChanging status. Also, the 'version' in the info file is not right. I'm am still trying to figure out how to get that working correctly (see http://drupal.org/node/101524), but it will work for purposes of testing the module in 5.x.
Comment #6
fagoI had some problems applying the patch so I've done it manually. There were also some links that had to be changed to point to the right path including the str_url type.
Thanks!
Comment #7
fagoComment #8
(not verified) commented