Modifying $field_source_rendered?
Tue, 22/12/2009 - 01:46
shrthnd
Joined: 15/12/2009
Posts:
I've searched around and couldn't find any relative info. Might be I'm just looking past something otherwise obvious.
What I need is to modify the byline generated by prosepoint so that it reads "By Joe Bloggs" or alternately "By Joe Bloggs and Mary Jane".

Hi,
$field_source_rendered is the rendered html output of the field field_source in the content type story (ie. for story nodes). $field_source_rendered is produced by CCK, but is controlled by a combination of:
.../admin/content/node-type/story/fields/field_source
.../admin/content/node-type/story/display
and custom themeing (if applicable).
Unfortunately, this also means there are multiple levels at which it can be modified, and the most suitable method depends on the specifics of what you want.
If you only want to change the output of the field, you'd probably want to modify a CCK content field template (ie. a .tpl.php file) but ... hmmm ... there are several things to look out for and I'm hesistant to prescribe any instructions because it'd just muddy the waters.
If you're going to do this yourself, I'd suggest you look up themeing documentation at drupal.org for more information.