Show Explanation or submission guidelines

mziegmann - October 30, 2009 - 18:48
Project:Content Profile
Version:6.x-1.0-beta4
Component:User registration module
Category:feature request
Priority:normal
Assigned:alexpott
Status:needs review
Description

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!

#1

SeanA - November 6, 2009 - 18:49

I 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.

#2

alexpott - November 28, 2009 - 00:25
Assigned to:Anonymous» alexpott
Status:active» needs review

Just 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.

AttachmentSize
content_profile-619224.patch 1.14 KB

#3

bengaj - November 30, 2009 - 22:41

I 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?

#4

alexpott - December 1, 2009 - 15:20

This 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.

 
 

Drupal is a registered trademark of Dries Buytaert.