It would very appreciable and useful to have the slideshow inside the node (for single node mode) using a cck widget.

Comments

chriscohen’s picture

Thanks for the suggestion. We will look into implementing this in the next release!

pribeh’s picture

Yes. Bump Bump.

Delta Bridges’s picture

any news about the cck widget?
Many thanks,
JJ

Delta Bridges’s picture

Yes, I just installed the module, and rather than having a block created for each new slideshow, it would make more sense, I think, to have the slideshow appear directly within the node, hence the need of a cck widget.
Is this something that could be implemented with this module?
Many thanks.... the slideshows do look very fancy :):)
JJ

chriscohen’s picture

Thanks for the compliment. It looks like we will have to work on the CCK integration post haste! There is no news yet though, sorry!

pribeh’s picture

YES! This will rock the socks off any other slideshow with a CCK widget!

zipymonkey’s picture

A CCK widget would be most helpful! I am trying display multiple product images on a product node in a compact fashion and Fancy Slide almost does what I need.

Mehumaija’s picture

In order to have the slideshow appear directly in the node content, I created a custom nodetype specific template for the slideshow content, and replaced the regular content with

      $slideShowId = 0;
      
      foreach (fancy_slide_get_all() as $album)
      {
          if ($album['nid'] == $nid)
          {
              $slideShowId = $album['sid'];
              break;
          }
      }
      
      print theme('fancy_slide', $slideShowId);  

This way, the URL node/* displays the slideshow directly.

tomsm’s picture

Yes, a CCK widget would be very nice.

chriscohen’s picture

Thanks for the code snippet, Mehumaija. That's a good suggestion.

Just as an update, the majority of the code for the CCK integration is written, but we are very short on time at the moment, and it's still in an unfinished state. I'm having trouble with the creaking, dated CVS system Drupal.org uses for modules, so I can't seem to find a way of getting the dev release up yet, but I will try to get that put on there when I can.

Monzer Emam’s picture

any news, I need it too,Also I'm willing to help in coding if needed

also it's really Fancy Slide

chriscohen’s picture

We're still very short on time unfortunately. If you would like to write some code and submit a patch for this feature, please do!

bamakojeff’s picture

StatusFileSize
new1.69 KB

What about a filter rather than a cck widget? It's not as "versatile", but it's a lot easier to implement.

Here's a patch that creates a "Fancy Slide Filter" that allows you to put
[fancyslide id=X]
into a node. (Where 'X' is the ID of an existing fancy-slide you have created.)

It just replaces the [fancyslide ...] with the results of the "theme('fancy_slide', X)" call.

So you can "embed" a slideshow in a node and then theme it using CSS with the "#fancy-slide-X" element.

To enable it, patch the module, then go to "Adminster->Site Configuration->Input Formats" and enable the "Fancy Slide Filter" for one or more of your Input Formats. Then you use "[fancyslide id=X]" in a node to embed the slideshow there.

bamakojeff’s picture

StatusFileSize
new3.17 KB

Here's a better patch that allows you to use either[fancyslide id=X]or[fancyslide name="name"] to embed a slideshow in a node. This version correctly accounts for multiple slideshows in the same node (which the first patch did not). It also puts an "ID" column on the admin page so you can easily see the IDs of all your slide shows (rather than having to edit them and look in the address bar).

klonos’s picture

Title: cck widget » cck widget a.k.a. include slideshow in node

@bamakojeff: I applied your patch from #14, but I am wondering if I am understanding its use correctly. Am I supposed to include the [fancyslide id=X] or [fancyslide name="name"] in the node's body field?

@chris.cohen: I hate asking questions like this, but do you think that time will permit this to be implemented soon? (I am not asking for a promise - just an rough estimation if that's possible)

bamakojeff’s picture

@klonos - First you have to go to "Administer->Site Configuration->Input Formats" and enable the "Fancy Slide Filter" for one or more of your Input Formats. Then, YES, you put [fancyslide id=X] or [fancyslide name="name"] directly in the node body. Make sure you choose an Input Format that includes the Fancy Slide filter. Then when the node is displayed, the [fancyslide id=X] will be replaced by the actual slide show.

HTH

locomo’s picture

This input format is pretty sweet and solves a couple of my needs. But I still have a use case that's not being solved.

I don't want to hijack this thread, but just wanted to clarify how a CCK widget would act differently so I can decide if I should file a different feature request or if what is being proposed here would solve my problem.

I would like for users to be able to upload a number of images with a CCK imagefield and then upon saving the node have a fancyslide autogenerated based on preset settings for that nodetype and available for placement inside a custom nodetype like in #8.

Is this what is being proposed here?

pribeh’s picture

locomo,

To answer your question in #17: yup :)

locomo’s picture

excellent.. this would be perfect and solve so many problems!!

happy to help test..

Andrew Gorokhovets’s picture

I subscribe

MrVictor’s picture

subscribing

Militopedia’s picture

Hi there,

Is there any news yet regarding having the slide show appear directly in the node content?

Another question: is it possible somehow to e.g. use lightbox (image overlay) to show the full resolution if one clicks on a slide?

Thanks!
Roger

mardok’s picture

subscribe

claar’s picture

subscribe!

remaye’s picture

Suscribe too for having a cck widget that gather automatically multiple occurences of an image filed of a node into a slideshow.
Just like lightbox do by the way, but keeping images and pager in the HTML flow instead of puting them in a overlay.
I have looked many times for that feature but it seems it is still lacking in the range of drupal tools... is it ?

I wish I could code it but it is out of my skills range. I have to count on all of the drupal community's coders, many thanks to them and shame on me. I can just help in pointing needs that I guess I'm not alone to have.

But shouldn't be such a cck widget in a separate and independant project like most of all other cck widgets are ?
If yes, shouldn't this post be (also) placed in an other thread ? I don't know where, if anybody knows...

Argos’s picture

Version: 6.x-2.2 » 6.x-2.6
Category: feature » support

[Solved: I found out that there is an add-on called "Insert Block" that will do this with out using any code]

I know that this issue was discussed a lot, but I haven't found a solution, and i was hoping to get one.
I was trying a different approach adding a slide show to the node i want it to appear in:

<?php
$block = module_invoke('blocks', 'block', 'fancy_slide', 1);
print $block['content'];
?>

It doesn't work right now, but i suspect the parameters
('blocks', 'block', 'fancy_slide', 1)
are not correct. '1' is the id of the slide show, taken from the configuration link under block management:

http://www.sample.com/admin/build/block/configure/fancy_slide/1

Anybody tried this?

thank you