How to embed in content block
lsblakk - August 9, 2008 - 07:06
| Project: | Couloir Slideshow |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
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?

#1
At first you must install PHP-Filter from the Drupalcore, then you use PHP-Code as Inputtype.
then you write in your node:
<?php$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:
<?php$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
#2
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