Closed (fixed)
Project:
Signwriter
Version:
5.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
18 Nov 2008 at 08:43 UTC
Updated:
19 Nov 2008 at 20:27 UTC
I would like to change the color of the output depending on taxonomy values on a node.
The text to transform is entered through TinyMCE, then I use the input filter.
How can I alter the rendering to change the default color of the signwriter profile depending on the node ?
Thanks for your help
Comments
Comment #1
agileware commentedI have added Example 4 to the documentation page, http://drupal.org/node/336075
Comment #2
open-keywords commentedThanks for your efforts in documentation.
However, the example uses signwriter_title_convert(), it doesn't apply when signwriter_filter() is used to process text entered in a textarea.
I wonder if there is a way to alter/hook the signwriter_filter() function from the theme ?
Regards
Comment #3
agileware commentedYes, I see your point. This is not really a hook_filter capability since it has no node context to work with, http://api.drupal.org/api/function/hook_filter/5.
However, you could do this by:
This is pretty clunky but it should work, no doubt there are other methods too.
I look forward to seeing you post your final solution here :)