Thank you for this excellent module - I've found it very useful. I am currently using it to set up a job application and need to provide some explanatory text at the top of the page when they are creating their application. I've tried entering this in the "Explanation or submission guidelines" field of the content type setup, but this doesn't appear when they choose to create or edit their application from the user registration screen. It does appear if I go to /node/add/job-application, but not within the user registration pages. Showing the contents of this field would be very helpful to me.
Thanks!
Comment | File | Size | Author |
---|---|---|---|
#10 | content_profile_help.patch | 990 bytes | crea |
#2 | content_profile-619224.patch | 1.14 KB | alexpott |
Comments
Comment #1
SeanA CreditAttribution: SeanA commentedI just encountered this same problem with nodeprofile. As a workaround, I added an empty fieldset at the top of the form, with my submission guidelines as the fieldset help text. Then I set the fieldset to "hidden" on node display so it only shows up on the submission form.
Comment #2
alexpottJust came across the same issue on a site I'm making. Here's a patch that adds the help that's set up on the node type edit form.
The patch implements a content_profile_help function which calls node_help with the correct path and node id.
Comment #3
bengaj CreditAttribution: bengaj commentedI tried your patch, but it does not seem to solve it. After user clicks the Create your Profile, gets taken to the content profile form, but the guidelines are still not visible. Any ideas Alex?
Comment #4
alexpottThis patch is for the edit profile edit form that's available when a user edits their account.
What is the url that the Create your Profile going to? If it's node/add/{contenttype} then this patch won't solve the missing guidelines. If you have added some guidelines to the node type edit page for the profile content type and they are missing this is a different issue. My best guess would be that your theme might not be printing $help.
Comment #5
crea CreditAttribution: crea commented@alexpott: Proper patch should cover all cases: content profile edit form can have different paths
Btw, this is bug report. As user of this module I expect all node features to work with content profile.
Comment #6
crea CreditAttribution: crea commentedSlightly better function without regexps. It should work for all cases.
Comment #7
crea CreditAttribution: crea commentedComment #8
crea CreditAttribution: crea commentedComment #9
crea CreditAttribution: crea commentedI decided to use regexp to not make useless calls to content_profile_get_types(), same as in alexpott's patch. This version works both for existing and new nodes.
Comment #10
crea CreditAttribution: crea commentedPatch implementing function above.
P.S. Happy New Year everyone !
Comment #11
Stoob CreditAttribution: Stoob commentedGood patch thank you
Comment #12
fagoThanks, I've committed the patch from #10.