By blavish on
I've been trying to get the "Feed" and "original article" removed from my feedapi nodes all night.
Does anyone know how to remove those links using the feedapi module with drupal 6.14 and the newest feedapi module that makes story type nodes from feed items?
Comments
For issues relative to a
For issues relative to a specific module, you might have more luck in the actual module issue list : http://drupal.org/project/issues/feedapi?categories=All
This sounds like a node.tpl.php custom work. Try to create a node template for your feed node type, and remove the $links variable.
Thanks
I'm gonna try the node.tpl.php :)
Cant seem to work
I cant seem to figure out how to do it with node.tpl.php
Any other help would be great!
Style them as {display:none;}
Style them as
{display:none;}in CSSannoying "feed" and "orginal article" from feedapi nodes
Any detail no a workingh solution would be great as I too have been up for hours trying to figure this out...changing the display: none on style.css did nothing..I even changed them all on style.css to insure it and the field remained the same.
the php snips instructions are so developer centric it make makes no sense to a casual hobbyist even with command line knowledge
Yes
Go to line 108 on feedapi.node module and remove that entire part about the link hook
bingo
Thnks...
now on to dappers and pipes...
Blavish, you might just have
Blavish, you might just have won the "most clear and constructive answer ever" award!!
While modding the code is not always the best solution, I wish drupal.org was full of more answers like this and less "just hide it" or "write this code" or "maybe see this and you can figure it out". Very well done!!
hacking a module is never the
hacking a module is never the right answer, there's always a better solution: http://drupal.org/node/134442
I had a need to do some of
I had a need to do some of the same things and created a new module that does what you are talking about, but you don't have to hack the FeedAPI module. You can change the "Original article" text to whatever you want as well as remove the "Feed: " text from the link. You can check it out here: http://drupal.org/project/feedapi_la
feedapi_node.module
remove lines
line 91 'title' => t(''),
line 102 'title' => t('Feed:') .' '. $feed->title,
line 103 'href' => 'node/'. $feed->nid,