First, thanks for the amazing and easy to use module.

I wonder if anyone has made this go into the content block. I wish the whole slideshow was a node so that I could put a field in a cck block that allows me to attach a slideshow to an new content item.

Basically I want each content entry to have a title, description and slideshow.

Anyone done this?

CommentFileSizeAuthor
#1 prob.JPG24.64 KBxG3n1uS

Comments

xG3n1uS’s picture

StatusFileSize
new24.64 KB

At first you must install PHP-Filter from the Drupalcore, then you use PHP-Code as Inputtype.

then you write in your node:

 $block = module_invoke('xx', 'block', 'view','yy');
php print $block['content']; 

for xx and yy you must write the name and number of the block. you this in the block configuration site in the url.

Exp: http://yoursite.net/admin/build/block/configure/couloir_slideshow/1

your code should look then like this:

 $block = module_invoke('couloir_slideshow', 'block', 'view','1');
print $block['content']; 

That how it works for me, but I have one little problem at the top of my sildeshow is name or header of the sildeshow written (see at the attached jpg).
mfG ceri008

xG3n1uS’s picture

okay I've solved my problem.

I've fixed line 234 in the couloir_slideshow.module-file

original it looks like this:

$html = '<!-- slideshow ' . $delta . ' -->

and if you delete everything except for $html=' the line showed over the slideshow vanish

mfG ceri008