Closed (works as designed)
Project:
Rules
Version:
7.x-2.6
Component:
Rules Core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Feb 2014 at 20:44 UTC
Updated:
3 Nov 2018 at 23:53 UTC
Jump to comment: Most recent
Comments
Comment #1
drupalfan4ever commentedComment #2
drupalfan4ever commentedComment #3
drupalfan4ever commentedComment #4
drupalfan4ever commentedOK, my point is after successful "create a new content" to send a custom HTML code, to be visible on the source page. Maybe PHP filter is not preferred way, but please anyone share some idea how to achieve this.
Comment #5
tr commentedThere are many ways to customize the HTML output of Drupal. Rules is really the wrong way to go about this - Rules is for workflow, not for theming of output. You can do this indirectly by, for example, using Rules to set a flag on the content. Then you can use normal theming to customize the output based on that flag. But Rules is not the right place to be emitting HTML.