Closed (fixed)
Project:
Similar By Terms
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2007 at 18:35 UTC
Updated:
29 Jul 2008 at 21:39 UTC
Is there a way to display the listed nodes' teasers, not just the titles?
TIA.
Comments
Comment #1
jjeff commentedYou could do this by overriding the theme function for
theme_similarterms()It normally looks like this:
but you could alter it to do something like this:
disclaimer: the above code is COMPLETELY UNTESTED
Comment #2
rramlani commentedHi, I am also interested in displaying the node teaser( node url with a thumbnail image if possible ) instead of just the node url. Do I need to just copy the above function to themes/my theme/template.php or is there anything else I need to do?
Thanks
Comment #3
kylejaster commentedThe code above does not work, I believe this is because '$nodes' is not an actual node_load object, but is "a list of node parts from the 'node' data" (copied from comments in similarterms.module). Would it be possible to return full node-load objects? I do not have the chops to make this work, but am very interested in getting all node data from the module.
Thanks
Comment #4
d0t101101 commentedI'm also seriously interested in this feature.
.
Comment #5
encho commentedTrying to have this as well. Subscribing.
Comment #6
rmiddle commentedTheme now get passed a full node instead of just a few fields. Done in CVS will be included in Release x.x-1.2
Thanks
Robert
Comment #7
rmiddle commentedOk I added the abilty to display teaser in CVS will be included in 1.7.
thanks
Robert
Comment #8
rmiddle commentedComment #9
rmiddle commented