INTRODUCTION
Vegas is a jquery plugin to add beautiful fullscreen backgrounds
to your webpages, you even can create amazing slideshow
This module provides user friendly interface to handle any configurations
of jQuery Vegas. By enable this module and add some good images you can get
beautiful fullscreen backgrounds on your website.
FEATURES
- Fullscreen Backgrounds.
- Random background when slideshow disabled.
- Overlay over the backgrounds.
- Background slideshow.
- Preload background images.
REQUIREMENTS
INSTALLATION
1. Download and unpack the vegas in "sites/all/libraries".
Link: https://github.com/jaysalvat/vegas/zipball/release
2. Download and unpack the Vegas module directory in your modules folder
(this will usually be "sites/all/modules/").
3. Go to "Administer" -> "Modules" and enable the module.
CONFIGURATION
Go to "Configuration" -> "User Interface" -> "Vegas" to find
all the configuration options.
PROJECT PAGE
http://drupal.org/sandbox/iqbalnurhakim/1623992
REPOSITORY URL
http://git.drupal.org/sandbox/iqbalnurhakim/1623992.git
Reviews of other projects
http://drupal.org/node/1624760#comment-6101242
http://drupal.org/node/1626446#comment-6101252
http://drupal.org/node/1626446#comment-6102236
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | pareview.txt | 1.41 KB | anwar_max |
Comments
Comment #1
iqbalnurhakim commentedComment #2
targoo commentedWelcome.
No coding issues ! well done.
Manual review
I think the module is very well written. I spot the following ones :
1) vegas.install
Your using variables (vegas_slideshow_effect_delay) -> you got to remove them on hook_uninstall with variable_del()
2)vegas.admin.inc
I would advice to not use drupal_add_js() in vegas_admin_settings but use $form['#attached'] instead.
See api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/7#attached
3)vegas.admin.inc
you could use db_delete() instead of db_query() on line 280
4)vegas.admin.inc
$file->status = 1 should be $file->status = FILE_STATUS_PERMANENT;
We do really need more hands in the application queue and highly recommend to get a review bonus so we will(/can) come back to your application sooner.
Comment #2.0
targoo commentedremove empty li tag
Comment #2.1
iqbalnurhakim commentedadding review other project
Comment #3
iqbalnurhakim commentedHi,
Thanks for quick review.
I just updated the vegas.install by adding hook_uninstall and vegas.admin.inc as well based on your reviews.
Thanks
Comment #4
rogical commentedManual review:
What's the difference with modules which provides similar features:
Comment #5
iqbalnurhakim commentedHi rogical,
This module as a simply provide user interface for jquery plugin called Vegas.
1. Background field its depend on one entity (node/taxonomy) because it is CCK based module and vegas is for the whole site.
2. As you can see the different between backstretch plugin are:
- Vegas has overlay features that allow you to add textures to background.
- Well, You can find more different when you install and try both module :).
3. No, I'm not consider to merging with those module.
Thanks
Comment #5.0
iqbalnurhakim commentedadd other project review
Comment #6
iqbalnurhakim commentedComment #7
iqbalnurhakim commentedadded PAReview
Comment #8
anwar_maxManual Review:
1) Use t() function for all strings in vegas_admin_settings() function. Please check all your strings.
2) Doc block are wrong, vegas_admin_settings() this is a form builder function. See http://drupal.org/node/1354#forms. Please check all your function documentation.
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #9
patrickd commentedI think it's a little harsh just pointing out two things, settings needs work and removing the review bonus tag..
Please do a more detailed manual review or - if there are no more major points than these - set rtbc instead of needs work
Comment #10
iqbalnurhakim commentedHi,
Already fixed all t() function issues in vegas.admin.inc and comment style as well.
http://ventral.org/pareview/httpgitdrupalorgsandboxiqbalnurhakim1623992g...
Thanks
Comment #11
iqbalnurhakim commentedHi patrickd,
Thanks for added it back.
Cheers.
Comment #12
iqbalnurhakim commentedset status to needs review
Comment #13
klausimanual review:
t('<h3>Filename:</h3>!filename', array('!filename' => $file->filename))": you should use the "@" placeholder here instead of "!" and it will sanitize the filename automatically for you.Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #14
han_k_s commentedInstalled the module on a fresh Drupal 7.14 with default Bartik theme. Downloaded, installed and activated vegas module. The Vegas libaries path is "sites/all/libraries/jaysalvat-vegas-51b8166". Selected "use overlay" and "use slideshow". Uploaded 5 background images and saved configuration. However i still do not see the background images although i can see the script being loaded under firebug. Wondering what went wrong? Appreciate if somebody can provide some kind assistance. Thank you.
Comment #15
han_k_s commentedSolved. Removed the background info under page wrapper element in layout.css. Fullscreen background slideshow is working now.
Comment #16
iqbalnurhakim commentedHi klausi,
Thanks for the reviews. and here are the updates
RE #1: Removed all swap files.
RE #2: Removed module_exists().
RE #3: Fixed.
RE #4: Changed to $form_state['values']
RE #5: Changed to drupal_write_record()
Cheers,
Comment #17
iqbalnurhakim commentedComment #18
bartlantz commentedI am using the latest version of drupal and the default bartik theme and I was not able to get the functionality to work.
edited to add: it seems the problem is a z-index problem, the image slideshow seems to be loading below the z-index of the body.
Also, here are my suggestions:
1. add to installation instructions, the instruction to move downloaded library to libraries/vegas
$ mv jaysalvat-vegas-51b8166 vegas
2. Add instructions on how to add to web pages. I installed the module, downloaded the library and uploaded images, but I have no idea how to actually add the vegas backgrounds to a web page. It seems that this is perhaps an issue with the default bartik theme. I see that @han_k_s had this same issue, but I could not understand how he fixed it.
3. Add code to vegas.admin.inc that adds current configuration options to configuration form. I added the vegas library location and successfully saved configuration, but when I return to admin form the current configuration does not appear, all of the options are blank. My uploaded background images are showing up on the form, but the library location and the checkbox next to overlay and the texture I selected are not showing on the form. Its frustrating as a user to have to re-enter all of the configuration options each time you want to change the configuration.
Thanks,
Bart Lantz
Comment #19
bartlantz commentedI was able to get the Vegas functionality to work with bartik, the default theme, by adding the following css.
vegas.css:
and adding the css to the .info file:
vegas.info:
Comment #20
iqbalnurhakim commentedWould be better if you use the clean theme without background, prob you can Stark 7.14.
because Vegas is designed for fullscreen "background" of body page and you have to set the others background element to transparent.
Cheers
Comment #21
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #22
mikeoc commentedLike the module itself? It's probably me but I can't see any module of any kind. I've tried downloading from git but all I get is an empty readme file. Is this dead?
Comment #23
klausiThis project application is closed. Please post all support requests to the module's issue queue: http://drupal.org/project/issues/1623992?categories=All
Comment #23.0
klausiadded revieew of other project
Comment #24
yehanny commentedHey buddy, nice project! Can anybody help me on this issue, I have installed Vegas background and it works perfectly but only in my administration pages, I can see the background images that I uploaded changing, but when I'm on the front page they won't appear. I double checked the permissions in all vegas images and JS folders and they seems to be fine with (755) and already installed bootstrap, jquery and libraries module, don't know what I'm missing, the gif loader appears in the top left corner of the page but the image won't. Any help would be nice, thanks!
Comment #25
dqd#21: Since there is a project in this namespace covering exactly that feature set for D7 and 8 (vegas), I would recommend to set this issue Closed (duplicate) and to inform the sandbox project maintainer and ask for merging forces.
Contrib module link: http://www.drupal.org/project/vegas
Comment #26
avpadernoComment #27
avpadernoClosed (duplicate) means the user has two applications open at the same time. We don't use that status to mean there is already a module with the same purpose.
Comment #28
avpadernoAlso, duplication is not an application stopper.
Comment #29
dqdto #27: yep agreed. never mind - it was just a recommendation in a rush, aaaand ..... it was the wrong issue queue! :) sry
I know ;-)