It looks as the field doesn't save anything in database.

Comments

thbnelson’s picture

For a content type, in Manage Display, you can set a markup field to "output raw markup" but it does currently nothing.

Yuri’s picture

I confirm that the markup does not display anything when a node is in view mode (displayed, not edit or add).
Is this by design? If so, why does the manage display show 'output raw markup"
Would be great to have markup displayed.

bcostlow’s picture

StatusFileSize
new1.36 KB

I encountered this problem as well. I added another display format that adds the markup to the node in view mode; basically how you'd expect "output raw markup" to work. I changed the label of "output raw markup" to "No markup (hidden)" to reflect its behavior and preserve any preexisting configurations.

bcostlow’s picture

Status: Active » Needs review
j4’s picture

Hi,

I tried out the patch. I get Array as the output instead of what I have in the markup field. Any idea on how this can be corrected?

Thanks
Jaya

bcostlow’s picture

Hi, sorry I didn't see this sooner.

Are you still looking at this? If so, did you also apply the input format patch: #1600436: Use Input Formats within Markup?

That patch changes the structure of $form['settings']['markup'] to an array, which would cause your output to be an array.

bcostlow’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
StatusFileSize
new1.68 KB

Updated the patch to be compatible with #1600436: Use Input Formats within Markup (but still works as a standalone patch).

bcostlow’s picture

Version: 7.x-1.x-dev » 7.x-1.1-beta1
Status: Needs review » Closed (fixed)

This has been added to the 7.x-1.1-beta1 release. Note: that release automatically handles changes made by any patches in this issue and #1600436: Use Input Formats within Markup.