Active
Project:
Feed field (CCK module)
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 Jan 2010 at 21:35 UTC
Updated:
18 Jan 2011 at 04:50 UTC
We are building a site where users will be asked to enter multiple RSS Feeds for Twitter, Flickr, etc.
The CCK Feed Fields kept coming up with "RSS Feed" which was confusing and looked unprofessional.
So we modified one line of code. Hope this helps.
Automatically Replace "RSS Feed" in Feed Field with Field Name:
In function "theme_feed_field_text" at line 389 of "feed_field.module"
Replace the "RSS Feed" string at line 390 in "$output = 'RSS Feed'.$element['#children'].'';"
With "$element['#default_value']['feed_field_title']" so that it reads:
$output = ''.$element['#default_value']['feed_field_title'].''.$element['#children'].'';
Comments
Comment #1
As If commentedThis line has changed considerably since the issue was posted; but I like your idea so I'll be incorporating it into a future release.
Comment #2
As If commentedRealizing that your code cannot be tested on the current version, so setting back to "active" status.