This module integrates Supersized by BuildInternet with Views via the Views JQFX module for Drupal 7. Supersized allows for full screen background images with quite a few configuration options. It can be futher customized with themes also.

I have contacted Sam Dunn (the creator of Supersized) and he has agreed to allow it to be packaged with the module, with attribution of course.

Project Page: http://drupal.org/sandbox/thechanceg/1358600

Git Repo: git clone http://git.drupal.org/sandbox/thechanceg/1358600.git views_jqfx_supersized

Comments

klausi’s picture

Welcome,

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 :-)

suhani.jain’s picture

Status: Needs review » Needs work

Hi thechanceg,

1)Please find the automated review of your module here.
2)I have done manual review of your code and found some issues as listed below.

2.1)In .info file - please remove below code as this will be added by drupal.org

; Information added by drupal.org packaging script on 2011-09-19
version = "7.x-1.x-dev"
core = "7.x"
project = "views_jqfx_supersized"
datestamp = "1316435393"

2.2)In .module file you have used incorrect commenting for eg comments like hook_theme is above 'views_jqfx_supersized_init' function which should be above 'views_jqfx_supersized_theme' function.
2.3)In views_jqfx_supersized.views_jqfx.inc file - Use standard commenting function which are available in api.drupal.org.

thechanceg’s picture

Thank you suhani.jain. It looks like I've got a little more cleanup to do. I'll update this when I have made the changes suggested.

thechanceg’s picture

Status: Needs work » Needs review

I have made the updates mentioned above and addressed all of the open issues on my project.

aritra.ghosh’s picture

Status: Needs review » Needs work

Hii,
Please look into the error report generated with the automated code sniffer:
http://ventral.org/pareview/httpgitdrupalorgsandboxthechanceg1358600git

These are mostly indentation and formatting issues but theres a lot of them. Please fix them.
here is a gist of the issues pointed out by code sniffer:-

1. Do not use tabs to indent lines. instead use spaces.
2. In css files, style definitions must end with a semicolon.
3. Multiple CSS properties should be listed in alphabetical order.
4. Lots of spacing issues found in js files.

Thanks.

thechanceg’s picture

Status: Needs work » Needs review

All of those were from the included Supersized library. I didn't realize that libraries had to comply as well.

I have gone through and updated the css and js files to the Drupal coding standard. The ventral link still shows errors, but they are limited to the minified js files, and css properties that it doesn't understand (IE filters).

klausi’s picture

Status: Needs review » Needs work

supersized folder: appears to be 3rd party code. 3rd party code is not generally allowed on Drupal.org and should be deleted. This policy is described in the getting involved handbook. It also appears in the terms and conditions you agreed to when you signed up for Git access, which you may want to re-read, to be sure you're not violating other terms.

The Libraries API module is a recommended method for adding 3rd party dependencies without directly including the code on Drupal.org.

thechanceg’s picture

Status: Needs work » Needs review

As I stated in my issue summary, Sam Dunn of Build Internet has granted permission to include his work with attribution.

Furthermore, Supersized was released under the GPL license as required by the 3rd Party Libraries policy.

Here is our twitter conversation as proof, https://twitter.com/buildinternet/status/213708598826631169

klausi’s picture

Exceptions can only be made if the library had to be modified to work with Drupal and the modifications were not accepted by the original author. Please read http://drupal.org/node/422996 again.

thechanceg’s picture

Thank you for the links and support klausi. I thought maybe it might apply under the other options for exceptions, my mistake.

Anyhow, I have updated my module and documentation. Pareview.sh is coming back completely clean. I have also included install and requirements hooks to alert the user to download the library and where to install it.

varunmishra2006’s picture

Status: Needs review » Needs work

@thechanceg

I did manual review. In code everything seems to be fine except one thing.
In views-jqfx-supersized.tpl.php

<div id="controls-wrapper" class="load-item">
		<div id="controls">

			<a id="play-button"><img id="pauseplay" src="/sites/all/libraries/supersized/slideshow/img/pause.png"/></a>

			<!--Slide counter-->
			<div id="slidecounter">
				<span class="slidenumber"></span> / <span class="totalslides"></span>
			</div>

			<!--Slide captions displayed here-->
			<div id="slidecaption"></div>

			<!--Thumb Tray button-->
			<a id="tray-button"><img id="tray-arrow" src="/sites/all/libraries/supersized/slideshow/img/button-tray-up.png"/></a>

			<!--Navigation-->
			<ul id="slide-list"></ul>

		</div>
	</div>

Please don't use hard coded paths for images. Instead of this use base_path() path to get the base path of drupal installation. The above code will not work if some one have drupal installed in a sub directory .

klausi’s picture

Status: Needs work » 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 :-)

thechanceg’s picture

Status: Closed (won't fix) » Needs review

Switched to using base_path() in the template file as suggested by varunmishra2006.

kscheirer’s picture

Title: Views JQFX Supersized » [D7] Views JQFX Supersized
Status: Needs review » Reviewed & tested by the community

You have a couple of minor errors listed here: http://pareview.sh/pareview/httpgitdrupalorgsandboxthechanceg1358600git.

Looks good though, nice plugin! You could improve the Libraries API support (I believe a hook_libraries_info()) and use their api to detect the path to the jquery files instead of hard-coding them on the template. No major issues found though.

----
Top Shelf Modules - Crafted, Curated, Contributed.

klausi’s picture

Status: Reviewed & tested by the community » Fixed

Sorry for the delay, but you have not listed any reviews of other project applications in your issue summary as strongly recommended in the application documentation.

manual review:

  1. views_jqfx_supersized_init(): Why do you need that library on ever single page request? Shouldn't you only add it if it is needed? And if it really must be on every page you should use hook_page_build() instead.
  2. views_jqfx_supersized_views_jqfx_options_form_validate(): I think you can use #element_validate => array('element_validate_integer_positive') on the form element instead, then you don't have to validate that yourself.

but that are not blockers, so ...

Thanks for your contribution, thechanceg!

I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks to the dedicated reviewer(s) as well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.