Fork me on GitHub

Block: Image slideshow  Bottom

  • Hello,
    what is the best solution for you to display an image slideshow in a block?
    I have tried "Banners" but the module seems not yet compatible with Zikula 1.2?
    Thanks for your help.
    Philippe
  • Yes it does work on 1.2x http://new.peopleschurchvancouver.org is using it with 1.2.2 to create the rotating images on the front page. The block isn't 100% yet, you have to do configurations in the block code for the image dimensions, and a few of the rotation speeds, but it works. I'll be doing some more work on getting it where it can work in 1.3 as soon as I get a few other things off my plate, as well as developing the block as a stand alone block that will draw data from any of the image management modules.
    http://code.zikula.org/banners You'll have to do an SVN pull. I've fixed a few bugs in the code already.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • HalbrookTech

    http://code.zikula.org/banners You'll have to do an SVN pull. I've fixed a few bugs in the code already.


    Not meaning to be a dick, but unless, there's a direct download link, you shouldn't tell people to "do an SVN pull". All it does is confuse people that don't know and don't care about that whole code repository thing. People who don't already know how to get code from the Cozi likely shouldn't be downloading a module that isn't "release ready". And if it is release ready, then it should be released and offered in the extension download database.
  • If someone can't do it, then they shouldn't do it. I, however, trust Phillipe to be able to comprehend what has to be done and know what he's getting in to, I don't think it will be a problem for him. If there was a release ready to be made, there'd be a direct download link and updated in the extdb, but I haven't had a chance to do much more to the code base than one bug fix and one quirk fix, Nothing I'm wiling to release at this point. The Block requires, as I said, manual edits to function in any site other than the one I set it up for, but it will get the job done. I trust our users to know that if it's not a direct download, it's not guaranteed to work.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Thanks for your help guys. Yes, one day, I discovered the beautiful "Zip archive" link to bypass the use of an SVN client, thank you Halbrook hope you can trust me. That's why I had already given a try to the SVN version, but let me explain what happened.
    I have activated the Banners in "Settings", added a new client and a new banner and I tried to create a new block, but I have recieved this error:

    Code

    PHP Parse error:  syntax error, unexpected ';', expecting ')' in .../modules/Banners/pnblocks/bannersfade.php on line 33

    In the file, I have replaced the ';' with ',' and created a new "Banners/bannersfade" but I have got few errors more:
    - Firebug tell me:

    Code

    "fadeSlideShow is not defined
    [Break on this error] var mygallery=new fadeSlideShow({"

    and few minor bugs probably:
    - A text is missing: _BANNERSBLOCK_BTYPE and the dropdown menu is empty
    - Small side effect with my CSS, the background of my "Admin_message" is now white or disappeared
    That's why I thought it was an uncompleted version taken from unreleased sources.
    Did I missed to install something? I am using a regular Zikula 1.2.2.
    Philippe
  • THe missing text is a combined issue with needing to go to GetText and not having the admin part of the block working right yet.

    The CSS not sure what would cause that,

    The only thing I see different between the SVN and what's on my church's site is the location of the javascript file. I moved it in SVN to the module's pnjavascript folder. And the call in the template is right for it. If you want, I can pull the one from my church's site and send it to you. I've got a self imposed deadline on one of my modules I'm working on for a new project this week, but once I get it done, I can shift some resources to Banners again, or at least to the block.



    edited by: HalbrookTech, datetimebrief

    --
    Home Page | Find on Facebook | Follow on Twitter
  • I am not in a hurry and I can wait for your next commit.
    The rotating block doesn't break my CSS but nothing appears only "This free script provided by Dynamic Drive", I will have a look at the template and report.
    Philippe
  • OK the rotating template is working well I thought the banner id type field wasn't mandatory. I have put '1' for each banner and it's now running.
    But nothing better with the fading one by now.
    Thanks for your help,
    Philippe



    edited by: pnFilip, datetimebrief

This list is based on users active over the last 60 minutes.