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

Mark Theunissen’s picture

At 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);

daniela basualdo’s picture

mark,

thanks a lot for your support.
i could fix it with your advise to override the preprocess_slider() function.

cheers
daniela

Mark Theunissen’s picture

Status: Active » Closed (fixed)

No problemo!