Choose content types
cerber0s - October 12, 2009 - 05:26
| Project: | Read More link (Drupal 6 and earlier) |
| Version: | 6.x-5.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Todd Nienkerk |
| Status: | won't fix |
Jump to:
Description
It would be good if you could choose which content types to alter. Or even have different settings per content type (eg 'Read more' for one type and 'Details' for another).

#1
No new features will be added to the 6.x-3.x branch of this module. Re-filing under 6.x-5.x.
What you're asking for can be achieved by overriding
theme_ed_readmore_link()and checking$node->type. I have committed a change to the theme function that gives you direct access to the$nodeobject.Since what you're asking for is pretty specialized, I'd rather rely on theme overrides instead of complicated administrative interfaces to heavily customize the behavior of the link. Let me know what you think.
#2
I'm going to mark this issue "won't fix," as the behavior is rather specialized, would require significant changes to the administrative interface, and would make the module more difficult to configure. Additionally, the requested behavior can be achieved by overriding
theme_ed_readmore_link()as described above.