Needs review
Project:
Profile 2
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2010 at 12:43 UTC
Updated:
28 May 2012 at 17:34 UTC
Jump to comment: Most recent file
I thought this module would allow me to create fields as the D6 default profile.module and the content-profile.module did. I can find any of that functionality in this module. There is no docs that show this either. What is the purpose of this module if you can't create fields?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 994570.profile2.enable-field-ui-notice.patch | 769 bytes | joachim |
Comments
Comment #1
carlmcdade commentedIf Fields UI is not set because of a minimal install there will be confusion. This also applies to the core content creation module which also requires Fields UI
Comment #2
fagoI'm unsure about that - if people really want to disable the field_ui they should be able too. Also, as said core does it the same way. However, yes at least a note during installation of the module suggesting the user to also activate the field_ui module would make sense.
Comment #3
joachim commentedA dsm() in hook_enable should be fine.
Comment #4
joachim commentedHere's a patch for review.
Comment #5
ericbroder commentedPatch works for me. When I enable Profile 2 module, but Field UI module is not enabled, I get a message that says:
Comment #6
fagoBut we shouldn't show the message if installed with an installation profile. see the other message in profile_install(). Although, I think we should drupal_installation_attempted() instead of checking for a batch.
Comment #7
fago>Although, I think we should drupal_installation_attempted() instead of checking for a batch.
I've done now so, as the batch check broke the tests with a recent d7. The function seems to work though.
Comment #8
caligari commentedI agree. field_ui is a direct dependency so "manage fields" and "manage display" operations at admin/structure/profiles do not work.
It must be added the line (profile2.info):
dependencies[] = field_ui