Description
Scroller Block is a lightweight version of Drupal slideshow that place in a Drupal block region. It is designed for the use of news ticker, website highlight or just decoration.
Project page
https://drupal.org/sandbox/dhl/2135613
Git repository
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/DHL/2135613.git scroller_block
Requirements
This module requires you to download the jQuery Scroller libraries, available at:
http://www.maxvergelli.com/jquery-scroller/
Similar projects
This module is an improved version of another module - Marquee Block.
https://drupal.org/project/marquee_block
The reason of not apply a patch for Marquee Block, is because this module no longer using the jquery marquee plugin and the html marquee tag. There's nothing related to marquee anymore.
According to W3C, marquee element was deprecated in HTML5 which should be avoid to use.
Marquee Block has problems when display in the main 5 web browsers. The are issues and bug reports in its project page - none of them were fixed.
For more information about the different between the 2 module, please see the project's README file.
Known issues
Avoid upload the same local image file more than once before click the “Save block” button. This will cause the system to store duplicate files and make duplicate records in the database. Though all these uploaded files and database records will delete when uninstall the module.
If you really need to re-upload the same image file due to accidentally remove or any other reason, suggest to click “Save block” button first. Then go back to the block configure page and upload again.
Comments
Comment #1
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxDHL2135613git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
DHL commentederrors were fixed.
No more error found in http://pareview.sh/
Comment #3
asghar commentedI have installed , configured and review your module code, every thing is perfect.
Thanks
Comment #4
dan.ashdown commentedHi DHL,
Would be better as:
Comment #5
DHL commentedTitle edited. Previous title had a typo.
Comment #6
neerajskydiver commentedComment #7
DHL commentedComment #8
DHL commentedThanks you guys for testing the code. More change were made.
To Dan.Ashdown:
To neerajskydiver
More change
Comment #9
DHL commentedComment #10
kscheirerLooks like a nice module, no major issues found.
----
Top Shelf Modules - Crafted, Curated, Contributed.
Comment #11
DHL commentedTo kscheirer:
Comment #12
kscheirerYou can leave it in RTBC, those were not blocking issues. There's still one level of review left.
Comment #13
heddnAutomated Review
Variable 'output' might have not been defined (at line 376)
Font property font-family does not have generic default at line 15
Unit of measure px is redundant at line 37 & 38
Manual Review
scroller_block.module
$output .= '<span>' . $message . '</span>';on line 338.This isn't run through
check_markup(). Provides the opportunity for XSS and other nasty stuff.Links aren't built using l() on lines 44 & 59.
Use file_delete() rather than unmanage delete. This will call all the appropriate file delete hooks.
Consider using t() for the link to wikipedia (and not l()) as there are language specific urls that could be used.
This doesn't pass (and use) context & settings into scrollerBlock(). It should. There's no need to grab $loop from the global Drupal namespace on line 8 if you pass in settings. And use context on line 14.
module_invoke is slow, just call the function.
Lines 301, 302 and 331, use #attached rather than drupal_add_*
The starred items (*) are fairly big issues and warrant going back to Needs Work. The items with a plus (+) are important issues and strongly encouraged to fix. The rest of the comments in the code walkthrough are recommendations.
Please don't remove the security tag, we keep that for statistics and to show examples of security problems.
Comment #14
PA robot commentedClosing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.