Background Stretcher

BgStretcher is a Jquery full-screen background slideshow developed by the ajaxBlender.com team

This module allows for integration of BgStretcher plugin into your Drupal site.

Key features:

  • Create as many full-screen slideshows as you want
  • Path visibility settings (wildcard supported)
  • Integrated with Context module
  • Applicable for any page element (body, div)
  • 4 sources for your slides:
  1. Manually uploaded images
  2. Image fields from any node type
  3. Remote images
  4. Views

>>

DEMO

<<

Project page http://drupal.org/sandbox/ymakux/1806328

Reviews of other projects:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ymakux’s picture

Issue summary: View changes

Added nice image

ymakux’s picture

Issue summary: View changes

minor changes

ymakux’s picture

Issue summary: View changes

Demo link added

gflamino’s picture

Very cool concept.

Please include a README.txt file - maybe include usage example therein.

Did not find an warning or errors in code using the coder module (http://drupal.org/project/coder).

gflamino’s picture

Issue summary: View changes

correct html

Ignigena’s picture

I like the concept of this as I've used this full screen background style on other sites, except implemented within the theme versus using a module.

Overall looks good, but can I ask what are the differences between this module and the Backstretch module that is already available here? http://drupal.org/project/backstretch

Aside from using a different JS library they seem to do the same thing. Any marked differences that prompted you to write a separate module versus collaborating on an existing one?

frankye’s picture

Hi ymakux,
Your project is interesting :-)

October 10, 2012 - Update (more info)

  • I think that a better way of creating administration is include description to
    function bgstretcher_menu() {
      $items = array();
      
      $items['admin/structure/bgstretcher'] = array(
        'description' => '............',

    because for user is this important place for description.

  • You have in your module external library, but you can include 3rd party libraries only if you ask for an exception.
ymakux’s picture

Overall looks good, but can I ask what are the differences between this module and the Backstretch module that is already available here? http://drupal.org/project/backstretch

Hmm, I did not expect that something similar already exists. However my module seems much more functional.
Don't know what to do now. Cancel this application or what?

UPD: Nоооооо! It's another jquery plugin!

ymakux’s picture

Add to info file link to your configuration - then you can view this on the list of modules page (this is a very helpful new feature in D7):
configure = admin/structure/bgstretcher

Done

I think that a better way of creating administration is include description to

Done

You have in your module external library, but you can include 3rd party libraries only if you ask for an exception.

Ok, I've removed /lib folder, now the module depends on Library Api

Please include a README.txt file - maybe include usage example therein.

Done

Aside from using a different JS library they seem to do the same thing. Any marked differences that prompted you to write a separate module versus collaborating on an existing one?

We have many *Lightbox modules at this site, they also do the same, but people need a choice

You are working in the "master" branch in git

I thought I'm on 7.x-1.0 now. Since I'm not .git guru, I need a time to figure out how to remove 'master' branch. BTW, I use TortoiseGit :)

ymakux’s picture

Added api file, other modules can alter slideshow before output

ymakux’s picture

And good news: I contacted those guys who developed the Jquery Bgstretcher and ask them to add an option that allows to make each slide linkable and they promised to do so

frankye’s picture

Hi ymakux,

I thought I'm on 7.x-1.0 now. Since I'm not .git guru, I need a time to figure out how to remove 'master' branch. BTW, I use TortoiseGit :)

I don't use TortoiseGit , but I can write you the necessary steps:

I see that you updated the files in the branch 7.x-1.0

  1. You need to be in the branch 7.x-1.0
  2. from branch 7.x-1.0 to create a new branch 7.x-1.x
  3. check if you have the files in the branch 7.x-1.x
  4. preset the 7.x-1.x branch as default
  5. delete all files from the master branch and branch 7.x-1.0
  6. delete the master branch and branch 7.x-1.0

then if you believe that this brancch is already stable you can add the tag 7.x-1.0

I hope I helped you

frankye’s picture

Status: Needs review » Needs work
ymakux’s picture

So, I emptied the master branch, all, except README.txt which contains "See major version branches" (according to http://drupal.org/empty-git-master). I'm on 7.x-1.x right now

ymakux’s picture

Status: Needs work » Needs review
frankye’s picture

Status: Needs review » Needs work

Hi ymakux;

You preset please the 7.x-1.x branch as default: http://drupal.org/node/1659588

Thank you

ymakux’s picture

Status: Needs work » Needs review

Done

frankye’s picture

Status: Needs review » Reviewed & tested by the community

OK :-)
Good luck

ymakux’s picture

Thanks! :)

klausi’s picture

We are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)

klausi’s picture

Issue summary: View changes

correction of description

ymakux’s picture

Issue tags: +PAreview: review bonus

Added list of my reviews of other projects

ymakux’s picture

Issue summary: View changes

Added "Reviews of other projects"

ymakux’s picture

Issue summary: View changes

added link to my review

klausi’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: -PAreview: review bonus
FileSize
27.61 KB

There is still a master branch, make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
Review of the 7.x-1.x branch:

  • Bad line endings were found, always use unix style terminators. See http://drupal.org/coding-standards#indenting
    ./bgstretcher.api.php:                          PHP script, ASCII text, with CRLF, CR line terminators
    ./bgstretcher_context_reaction_bgstretcher.inc: PHP script, ASCII text, with CRLF line terminators
    bgstretcher.api.php
    bgstretcher_context_reaction_bgstretcher.inc
    
  • Drupal Code Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. You have to get a review bonus to get a review from me.

Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.

ymakux’s picture

There is still a master branch, make sure to set the correct default branch

7.x-1.x was set as default branch, screenshots attached

Drupal Code Sniffer has found some issues with your code (please check the Drupal coding standards). See attachment.

I did not find any problems using Coder. So what is the best tool either Coder or Drupal Code Sniffer or Pareviewsh ? I don't know really :)

This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project.

The online version was unable to load the project

klausi’s picture

ymakux’s picture

FileSize
5.03 KB
5.51 KB

Sorry, here are the proper screenshots

ymakux’s picture

The online version works for me: http://ventral.org/pareview/httpgitdrupalorgsandboxymakux1806328git

Duh, it's impossible. Why so many errors? I and people above checked the project

ymakux’s picture

klausi, what do you think about screenshots #21? the 7.x-1.x was set as default, isn't it?

klausi’s picture

Yes, but you should remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732

ymakux’s picture

as per http://drupal.org/node/1127732

Clean out the master branch, so no one mistakenly uses the stale code. Do this by doing a final commit pointing contributors to the new branch:
git checkout master
rm -R ./*
echo See major version branches.> README.txt
git add -A
git commit -am "Removed files from deprecated master branch."
git push origin master

Step 7

(Optional) It's also possible to delete the master branch:
git checkout 7.x-1.x
git branch -D master
git push origin :master

As I understand, I don't need to completely remove the master branch. So I left the README with "See major version branches" in it

ymakux’s picture

And about those errors. I'm on Windows, because I'm not comfortable with *unix

ymakux’s picture

Status: Needs work » Closed (works as designed)

Closing this application. Thank for all who reviewed this module.

klausi’s picture

Status: Closed (works as designed) » Closed (won't fix)

Why?

And "won't fix" is the appropriate status if the application was not finished for whatever reason.

ymakux’s picture

Because I don't see what to fix. We have now 3 tools for automated review. Which one to use? Thanks, klausi, for the Pareviewsh, but it seems a bit buggy.

klausi’s picture

Actually, Drupal code sniffer has been merged into coder. So there are only 2 tools left: coder sniffer for coding standards and pareview.sh for other project application checks. If you found any bugs please report them in the coder or pareview.sh issue queue. Usually they do not throw a lot of false positives and have proven to represent the Drupal coding standards very well.

klausi’s picture

Oh, and I also updated the documentation. Now that we can delete the master branch on drupal.org it does not make sense to keep it: http://drupal.org/empty-git-master

ymakux’s picture

I used the Coder on my local PC (Win) and everything is OK. Empty master branch is not an issue too. See #25. The reason why it is still there is that I can't delete it.

Oh, and I also updated the documentation

UPD: OK, its better now :)

ymakux’s picture

Probably you have appropriate permissions to delete that f**ing master branch? I've tried a lot without success :)

wolvern’s picture

What errors are you getting while trying to delete the master branch?

Did you try these commands?

git branch -D master
git push origin :master
ymakux’s picture

Status: Closed (won't fix) » Postponed

@saulelis : there were a lot of various errors so I don't remember them all. The problem is that I deleted the project's local branch.

As I understand I have to do a pull request by doing

git clone --recursive --branch 7.x-1.x ymakux@git.drupal.org:sandbox/ymakux/1806328.git bgstretcher
cd bgstretcher

what shall I do now?

@klausi: I was a little nervous, sorry for that

wolvern’s picture

what shall I do now?

The master branch is no longer there, so that's done now :)

ymakux’s picture

Yep, I did it :) Thanks @saulelis for support

Sentrashy’s picture

Hi, why can't we edit elements added to slideshow in URL sourse?

ymakux’s picture

@Sentrashy: this is wrong place to post such kind of issues. You have to create a project issue

klausi’s picture

Status: Postponed » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.

If you reopen this please keep in mind that we are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)

klausi’s picture

Issue summary: View changes

review link added