Hello,
I usually use the ninesixty theme and I typically need to custom block classes - e.g. grid-3. Previously I would use HTML which I would create with grid classes, but this is not convenient for non-developer Admin-role users who would end up damaging div classes.
So I developed a simple module to add to the ninesixty theme that would add all blocks of configuration page classes (e.g. grid_4 or grid_13) and padding classes (e.g. alpha, omega, or both).
link to project: Ninesixty block helper
Similar project: Block Class differ from it because user don't need to type, but just choose needed classes and it doesn't change database blocks table.
Git: git clone http://git.drupal.org/sandbox/Ujin/1953154.git ninesixty_block_helper
Thanks.
Comments
Comment #1
beljaako commentedHi Ujin,
- The module contains some syntax issues:
http://ventral.org/pareview/httpgitdrupalorgsandboxujin1953154git
- I don't if know the module is substantial enough. It looks to me it's just the definition of some permissions and altering an existing form.
- I did not use the ninesixty theme, but didn't receive any warning.
Comment #2
Seppe Magiels commentedHi Ujin,
As mentioned by beljaako ventral shows several issues that should be attented. The most important ones are that you are still working on the master branch (how you should switch) and that you don't have a readme file. (some tips for your readme file)
I took a look at your code and noticed the following issues around the variable ninesixty_settings:
And line 94 and 95 are identical:
Also your project page needs a little more work, you can find some tips here. ;)
Greetings!
Comment #3
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and 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 #4
ujin commentedHi Guys,
Thank you for your time and your notes! I have fixed all issues you mentioned, pushed install and README files and switched branch of git as per node above.
Thanks again,
Ujin
Comment #5
aaronott commentedUjin,
Thanks for taking the time to update your module.
You have a nice use of hooks in this module and the documentation around the functions appear to be inline with the coding standards.
I'm not a themer and am not sure that I would ever use this module simply because I'm not sure what it buys me. I'm sure it is useful and some more text on the project page (and possibly a screenshot) would help others understand why they would want to install this module.
Great! Thanks for switching and using the 7.x-1.x git branch. It is so helpful when trying to determine what version of the module users are trying to install. As a follow up to that, please remove the master branch as to not create any confusion about where the most up-to-date code lives.
The only thing that might be a blocker is this module does contain only 4 functions with <120 lines of code. I'm not sure how particular they will be about it.
Comment #6
samvel commentedHi, my manual review:
$pad_options = array();- it is unnecessarydependencies[] = blockThis module exist by default.Have a nice day!
Comment #7
ujin commentedHello Guys,
thank you very much for your reviews.
I have fixed all things in code sniffer and other things you suggested in your comments.
Thank you,
Ujin
Comment #8
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.