Closed (fixed)
Project:
Slider
Version:
6.x-1.4
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
13 May 2009 at 08:55 UTC
Updated:
14 May 2009 at 12:58 UTC
Hello
I've installed the slider module and it works fine. The only problem i have is that there is no option to show the teaser instead of the full body in the slider view.
as I have a full node reference I have the same template for the slider content and the full node.
instead of hacking the node type template before, is there a possibility to enhance the slider with some additional functions?
thanx!
daniela
Comments
Comment #1
Mark Theunissen commentedAt present, you can only do this by overriding the variables in the preprocess_slider() function in your template.php. See the Drupal theme guide for more info. You want to change this:
$slide_node_view = node_view($slide_node, FALSE, TRUE, FALSE);
To this:
$slide_node_view = node_view($slide_node, TRUE, TRUE, FALSE);
Comment #2
daniela basualdo commentedmark,
thanks a lot for your support.
i could fix it with your advise to override the preprocess_slider() function.
cheers
daniela
Comment #3
Mark Theunissen commentedNo problemo!