Posted by joachim on February 3, 2009 at 3:12pm
Jump to:
| Project: | Content Recommendation Engine |
| Version: | 5.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
im 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