Closed (fixed)
Project:
Pressflow Recent Comments
Version:
5.x-1.0-beta
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2008 at 18:36 UTC
Updated:
10 Dec 2008 at 10:43 UTC
Hi,
I am very much interested in adding the node title along side with the comment author and the comment title.
Could anyone post a patch or suggest some code?
Thanks,
Yossi.
Comments
Comment #1
todd nienkerk commentedI've improved the themeable function that renders the links to comments in the final release (5.x-1.0). Here's what it looks like now:
@yossilac: I've included a commented-out portion of code that will display the title of the node. Instead of changing the code in the module, you should (as always) override this themeable function in your theme's template.php file. Simply copy the code above, change the name of the function from
theme_pressflow_recentcomments_link()toMYTHEME_pressflow_recentcomments_link()where "MYTHEME" is the name of your theme. You can edit the code as you like from there.Comment #2
yossilac commentedWorks perfectly, thank you very much for the quick response :)
Yossi.