Active
Project:
Content Recommendation Engine
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2009 at 15:12 UTC
Updated:
7 Mar 2009 at 18:57 UTC
Passing the recommended nodes to a theming function would give developers a lot more control over how this module's data is presented.
At the end of node_recommendation_recommendations(), do this instead of the node_view:
return theme('node_recommendation_nodes', $recommendations);
and then move the node_view part to a function theme_node_recommendation_nodes($recommendations).
This would allow developers to present the recommendations as a list of titles, for example.
Comments
Comment #1
Scott Reynolds commentedim moving away from this time as well. In the D6 version it uses views to do its display thus all that goodness. And the 5 dev verision does the same thing