Closed (fixed)
Project:
Nodecarousel
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2008 at 18:07 UTC
Updated:
4 Oct 2008 at 01:21 UTC
Ok, I've set it all up and got it working (partially). What I would like to do is display the teaser or a short description of the node in the box that displays the results of my nodecarousel? All I can see now are links to the actual nodes. Am I missing something straightforward?
Thanks!
Comments
Comment #1
ultimateboy commentednc outputs content via several theme function. Overwriting these theme functions in your template.php file will allow you to alter the output.
A direct copy from the readme.txt:
2: The Presentation
-------------------
Both the node and the nodecarousel itself are set up in theme functions, 'theme_nodecarousel_node' and 'theme_nodecarousel'. If you do override theme_nodecarousel, I suggest either copying the existing function and making minor edits to it, as the code does require an
<ul>with a particular class (jcarousel-target) and name.However, theme_nodecarousel_node is highly themeable - the default only displays the title of each node as a link. Feel free to set it up as you like, with a few suggestions:
a) I strongly suggest wrapping the entire node presentation in a div with the class "node-carousel-item".
b) I suggest wrapping the title of the node in a div or span with the class 'node-carousel-title'.
c) If you want to have an index list under the nodecarousel, displaying links that can be clicked to move to show that node, present the text you want to show as the index inside of a div or span with the class 'node-carousel-label'. It's fine to use CSS to hide this label - this is just the way you tell nodecarousel that this text is what you want it to provide as a label. If you're not going to use that option, feel free to omit this label.
Beyond that, style it up as you like and return the result as a string.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.