Giter Site home page Giter Site logo

twistermc-bb-modules's Introduction

TwisterMc's Beaver Builder Modules

This is a free plugin for Beaver Builder that I'll be adding my custom modules to.

Modules

Slick Slider

My first module is a Slick slider module. The carousels that come with Beaver Builder are OK, but they leave a lot to be desired. That's why I'm integrating Slick.

TODO

  • Update Vimeo helper script to be enqueued only if needed. / Half done, only shows with video sliders now.
  • Break out Photo vs Video settings so we can properly hide/show settings
  • Add a field to put text on videos
  • Double check the slick scripts so we can avoid setting conflicts between video and photo slideshows.
  • Make it possible to have videos AND photos in one slideshow.
  • Maybe add a WYSIWYG field for creating content on slides.
  • Either use the internal or external Vimeo helper script and remove the other one.
  • Have Rich review everything always because he's wicked smart. <-- this is debatable

Release Notes

Version 0.6.6

  • Separated the photo and video module settings so we don't have rogue settings. Well, mostly.
  • Updated some code to be closer to WordPress coding standards.

Version 0.6.5

  • Much more video cleanup
  • Properly enqueued Vimeo helper script
  • Added auto play
  • Added setting for auto play
  • Removed un-necessary code
  • Renamed functions

Version 0.6.4

  • Initial support for video slides.

Version 0.6.3

  • Fixing focus states for prev/next buttons and play/pause.

Version 0.6.2

  • Fixing embarrassing PHP errors.

Version 0.6.1

  • Added a link option to the full width image module.

Version 0.6

  • Added a new module for full width images.
  • Adding up/down arrows for vertical carousels.

Version 0.5

  • Added vertical carousel mode.
  • Re-worked the carousel inits to ensure the right number of dots show when scrolling by more than 1.
  • Hiding the slidesToScroll setting if centerMode was true.

Version 0.4

  • Added the ability to style the arrows and dots.

Version 0.3

  • Pulling in the slick.js locally.
  • Updating slick.js with a fix for issue 1207
  • Updating the carousels to be self contained so that we can put multiple on one page.

Version 0.2

Reorganization of the settings panel and hiding/showing fields as needed.

Version 0.1

First! The code is very rough and it's not ready for prime time. Slick is integrated and working with a bunch of options. This is the starting point, more to come.

twistermc-bb-modules's People

Contributors

richaber avatar twistermc avatar

Watchers

 avatar  avatar

Forkers

surrealwebs

twistermc-bb-modules's Issues

Questions / Discussion / Direction

Looking at the Todos in the Readme one by one...

  • Update Vimeo helper script to be enqueued only if needed. / Half done, only shows with video sliders now.

I added a conditional check in the Slick module that only enqueues the Vimeo and/or YouTube scripts if we have Vimeo and/or YouTube embed slides.

  • Break out Photo vs Video settings so we can properly hide/show settings

Since Slick itself has no concept of "Autoplay Videos," or "Show Image Captions," or "Force images to full width" I moved those settings to a new tab called "Media Settings." I feel that anything that is not specific to Slick's settings should be kept separate from the other slider settings to reduce confusion. This may not be a hard and fast rule, it might be a little fuzzy due to settings like "Design."

  • Add a field to put text on videos

I'd need to know what the markup output should look like. And nobody wants me styling that.

  • Double check the slick scripts so we can avoid setting conflicts between video and photo slideshows.

Needs more info.

  • Make it possible to have videos AND photos in one slideshow.

Done. Uses a "Settings Form" field.

  • Maybe add a WYSIWYG field for creating content on slides.

I'd need to know what the markup output should look like. And nobody wants me styling that.

  • Either use the internal or external Vimeo helper script and remove the other one.

I'm not sure I understand that exactly, but I'm using the Vimeo Player API (which replaced the deprecated Froogaloop library) loaded from Vimeo's own CDN.

And then there's this one item from the change log, not listed as a Todo...

That included an old version of Slick (v 1.6.0) with an unofficial patch.
According to the Slick 1.7.1 release notes this should be addressed in newer releases:

Fixed Case of white space with variable width and infinite true

Since I'm not a fan of using outdated libraries, I've opted to use the latest official Slick release (1.8.1 as of this writing).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.