Why Oh Why, YUI?
December 12, 2008 5:22 PM Subscribe
DrupalFilter: I need help configuring YUI Rich Text Editor so that it appears in specific non-body fields in a specific content type [CCK-created bio page] while also appearing site-wide in all body fields.
posted by fourcheesemac to computers & internet (3 answers total) 1 user marked this as a favorite
I love YUI text editor. With default settings enabled (both "paths" and "IDs" left blank), it appears in all the usual body fields (across quite a few specific content types), such as in stories, events, etc.
However, we have one particular content type on our site -- an expanded user bio linked to the user account with a bunch of CCK fields -- where I need YUI text editor to appear in just one of these fields (where the user writes a biographical text) in addition to appearing in all the usual body fields in other content types.
Presumably I need to put the field ID into the "IDs" field in YUI Editor Settings. But I don't understand the syntax of the field ID. Looking at the source of the CCK output, I see something called:
Presumably this is the "ID" of the field that YUI needs to know, right? What syntax do I use to specify this field in the YUI IDs settings field?
By the way, in my "Paths" field, I have the following:
(and this seems to work to make YUI available in body fields sitewide)
Thanks very much in advance. This is non-profit stuff and I'm not a developer, so maybe it's more obvious that it seems, but I cannot find documentation of the YUI Rich Text Editor Settings interface, or its integration with Drupal, anywhere. YUI RTE works beautifully elsewhere throughout the site -- by far the best solution I've tried. But this is frustrating me. I'll monitor the thread and answer any questions.