Closed (fixed)
Project:
Activity
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2010 at 07:46 UTC
Updated:
11 Sep 2010 at 23:25 UTC
Hi,
How can I add color to activity messages, like having a different color for different tokens.
like
date having one color,
username having one color (with bold),
message having another ... with different style..
can we use HTML tags in Node author message: & in Comment author message:
like < font color=brown > < b > text < /font > ..?
or any other suggestions
Comments
Comment #1
sirkitree commentedYou can use html in your message template.
Comment #2
madhusudan commentedI tried putting < font color=blue etc.... but not working... not showing any change..?
tried regenerating.. but only bold < b > < h1 > and others are working..
is this because these tags are in "Allowed HTML tags" .?
if it is then how to add all the tags..
and also in "Activity publisher templates" why some don't have regenerate link!.
Comment #3
sirkitree commentedWe use a function called filter_xss_admin before we display the message. See that link to get an allowed list of html tags.