ProsePoint Express: hosted newspaper website content management software

Modifying $field_source_rendered?

1 reply [Last post]
shrthnd
User offline. Last seen 1 year 41 weeks ago. Offline
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".

beng
User offline. Last seen 1 week 3 days ago. Offline
Joined: 27/02/2009
Posts:
...

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.