Closed (fixed)
Project:
Content Profile
Version:
6.x-1.0-beta4
Component:
User registration module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Oct 2009 at 18:48 UTC
Updated:
26 Jan 2010 at 10:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
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 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 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 commentedSlightly better function without regexps. It should work for all cases.
Comment #7
crea commentedComment #8
crea commentedComment #9
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 commentedPatch implementing function above.
P.S. Happy New Year everyone !
Comment #11
stoob commentedGood patch thank you
Comment #12
fagoThanks, I've committed the patch from #10.