I've been trying for a while to display this slider as a block. I've used Panels and Node As Block to no avail, but I've finally figured out an easy, working solution and I thought I should share it with other users.

There's a simple module called InsertNode that allows you to insert the body of one node into a different node or block. So here's what I did:

1) Download and install InsertNode
- http://drupal.org/project/InsertNode
- Installation requires that you go to Input Formats and tick the newly added "Insert Node" checkbox for at least 1 input format
2) Create a new block.
3) Switch the new block's input format to whichever format you set InsertNode to work with
4) Add "[node: body]" into the body of the new block. (change to the node id of your slider node!)

Voila. You have a block with a slider in it.

CommentFileSizeAuthor
#5 Node In Block Slider Arrows Error.png15.9 KBitserich
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

grasmash’s picture

I should also add that, although you cannot insert the slide node will not work with panels on its own, it will work once the above method has been used to convert the slider node into a block-- the block is then compatible with panels.

cpiontko’s picture

Thanks for posting this!

Node Blocks module ( http://drupal.org/project/nodeblock ) will also do the trick. After installing, enable 'Available as block' on the slider content type (under Workflow settings). Then configure the block as usual.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

felix_ugf’s picture

Status: Closed (fixed) » Active

Sorry for change the status of this issue, that block is really cool but know i just can not put 2 slider in the same page in 2 differents block because one of them go crazy and does not allows me to make a slider just stay as a teaser.... and when I click on it the another slider move... i read somwthing about it, that it is a problem with the id in the jquery in the js but do not know how to fix it, if some could help me will be great thanks...

itserich’s picture

I have tried Node Block, Node as Block, and Insert Node with both the 6.x-1.4 and 6.x-2.x-dev versions (though not all for 1.4).

Each one I have tried puts the navigation arrow in the upper left hand corner when in a block.

Is anyone else experiencing this?

Attached is a screen shot.

itserich’s picture

Well, I just disabled another block (which contained another type of slider).

I am new to this but from I have read two sliders can not co exist on the same page, perhaps it is true even if it is different slider modules. Because now the arrows appear correct.

astanley86’s picture

I have followed all of the instructions and it displays my slider as a block but the javascript does not load. it displays correctly but there is no animation. If I load the node by itself it works without a problem, what is the block missing to load properly?

*update: Actually it looks like I needed to download and install the update j_query library module. It is now working great!