Jump to:

10390 Posts in 2201 Topics by 1712 members

All other Modules

SilverStripe Forums » All other Modules » Preview: SlideshowPro Module

Discuss all other Modules here.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4 5 6 7 8 9
Go to End
Author Topic: 11369 Views
  • Chucky2k
    Avatar
    Community Member
    32 Posts

    Re: Preview: SlideshowPro Module Link to this post

    I just updated to Rev 93 but when searching the source for the large function I cannot find it.

    David

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: SlideshowPro Module Link to this post

    Wow.. I'm an idiot. I never checked it in. So sorry about that. Try again, and make sure they appear in ImageGalleryItem.php.

  • Chucky2k
    Avatar
    Community Member
    32 Posts

    Re: Preview: SlideshowPro Module Link to this post

    That works perfectly. Thanks so much for your time.

    Cheers
    David

  • squap
    Avatar
    Community Member
    9 Posts

    Re: Preview: SlideshowPro Module Link to this post

    Hi,

    I am new to this. I just added the module(current revision) but I cannot see any pictures, just a blank black frame, although pictures were added.

    I was not able to edit xmlFilePath in the CMS so I just put the param.xml (from the standalone slideshowpro version) in the path it told me. That is not how it is supposed to work is it ?
    The uploaded swf is also the one from the standalone version.

    Should it be working or is it actually necessary to use Flash to edit the swf ?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: SlideshowPro Module Link to this post

    I don't believe the module works with the standalone version right now. You'll need to create a SWF in flash and configure all the properties in the component inspector, setting the imagesPath to the path given in the CMS. Export, then upload.

  • effectwebdesign
    Avatar
    Community Member
    16 Posts

    Re: Preview: SlideshowPro Module Link to this post

    Just curious. Any reason you guys aren't considering using the Slideshow Pro Director CMS?

    Looks like incredible CMS, bug free, ready-to-go for very affordable price. I would imagine the gallery could then just be plopped into the SilverStripe page.

    http://slideshowpro.net/products/slideshowpro_director/slideshowpro_director

  • UncleCheese
    Avatar
    4085 Posts

    Re: Preview: SlideshowPro Module Link to this post

    Well of course. We all love Director. It's an amazing product. But I think I speak for a lot of developers when I can tell you a lot of my clients get sour about having to use two disparate tools to update their website. Integrating Director-like functionality into Silverstripe brings some huge gains in cohesive content updates.

    And oh yeah.. Silverstripe is free.

  • bod
    Avatar
    Community Member
    72 Posts

    Re: Preview: SlideshowPro Module Link to this post

    Hi UncleCheese,

    I've only recently found this thread on the forums so I'm a bit late to it, apologies.

    First may I take the opportunity to thank you personally for the huge contribution you've made to this and the other modules, very cool.

    Secondly, as the Web Designer who originally approached the Silverstripe Core Dev team to produce the SSP mod as a commissioned project in the autumn of last year with the view to giving it back to the community as a fully supported mod, I'd really like to thank you for taking the existing Slideshow_Pro mod and running with it to produce a fully functioning module that matched my original ideas for the inclusion of the SSP component into the Silverstripe CMS, a heartfelt thanks to bring something on to full commercial deployment finally. Cheers!

    I have made some small code changes which may make it easier still and would value your opinion if you have time?

    Currently the SSP relies on the swf xml feed being manually set up in each swf before deployment/upload, a workflow far from usable to the average end client so I hope you don't mind but have adjusted your code to pass into the swf the xml on the fly using the flashvars (which is perfect for the job) so all you have to do now is to create a swf with the SSP component (Instance name of my_ssp) inside and create an action layer and place the following one line in it

    my_ssp.xmlFilePath = ImagesPath;

    now the same swf can be used across the site repeatedly without further editing of the swf each time.

    I also added an extra param and field in the CMS for making the swf transparent (WMode = transparent) which will allow any drop down menus ect on the page to appear over the top of the swf file when set.

    I've put it in a zip here http://www.flash.ie/stuff/slideshow_pro.zip and the two files that I have changed are SlideshowProPage.php and slideshowpro_init.js - I'm no heavy coder so appologies if it's not correct or elequent, in fact the transparency option could just be a checkbox in the cms but after a couple of tries I settled for a Text field, feel free to change it to a checkbox option if you want.

    The second thing I was wondering and due to my limited SS knowledge is the video aspect which I would dearly love to get working. I found the following file in the swfUpload folder > SWFUploadConfig.php and came across this bit of code which diidn't scan (for me) so 'corrected' it to the following

    from

       static function addFileTypes($types)
       {   
          if(is_array($types)) {
             foreach($types as $type)
                self::addFileType($type);
          }
       }

    to

    //Edit: A. Clare | changed self::addFileType($type); to self::addFileTypes($type); below in order to show all file types when file browsing in swfupload
       static function addFileTypes($types)
       {   
          if(is_array($types)) {
             foreach($types as $type)
                self::addFileTypes($type);
          }
       }

    Dunno if I did good/caught a bug or banjaxed it :o/ but I can now browse all file types inc video...

    the only problem I have now is that the flv is uploaded but does not appear in the _resampled folder although the xml feed is showing a path to it there, so currently I have to copy the flv into the _resampled folder and it then works.

    ..any ideas here as to why it doesn't get re-sampled?

    Sorry for the long post but once again thanks for making my original idea finally come to fruition and hope my changes are okay.

    11369 Views
Page: 1 2 3 4 5 6 7 8 9
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.