Read more and Comments... sitting in a variable

Joined: 12/05/2007
User offline. Last seen 2 years 1 week ago.

It's annoying that the output of $links from a content node includes both "read more" and "comments" in the same list. Does anybody have a solution to this? There actually is a module that will pull out the "read more" -- 'ed_readmore' module, but I've read some comments of problems with the module. It also seems like overkill to run a module for a simple task.

G&G Podcast Host
Rob Feature's picture
Joined: 06/01/2006
User offline. Last seen 10 weeks 1 day ago.
hook_link_alter

Yeah, basically you'll have to use hook_link_alter to remove the portion you want elsewhere, then manually provide that link where you want. Not ideal, but at least these hooks exist to allow you to do it :)

-Rob Feature
Geeks and God Co-Host
www.mustardseedmedia.com