Posted by turip on November 25, 2011 at 9:41pm
1 follower
Jump to:
| Project: | Read More Link (Drupal 6 and earlier) |
| Version: | 6.x-5.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hi Guys!
I do like this module, but my costumers needed some extra features which might come handy for other users too, so I attach my patch.
It does the following:
- allows per node-type csses by adding read-more- class to link's css
- allows the link to be placed BEFORE the node (it gets placed in a div)
- allows entering of PHP code to decide on the placement of the link based on $node during the rendering.
I hope you like these ideas and include the patch in new dev releases.
Cheers,
Peter
| Attachment | Size |
|---|---|
| read_more.add-before+per-node-css.patch | 4.1 KB |
Comments
#1
The per node-type line should say correctly that it's read-more-#content-type's name# css class, just it interpreted as a tag :(