Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2013 at 20:40 UTC
Updated:
2 Sep 2013 at 22:24 UTC
This module provides Smarter Blox, which can be placed on pages via an include/exclude pattern based on the page's Drupal-relative URL matching a URL pattern in the include list and not matching a URL pattern in the exclude list.
Project Page:
https://drupal.org/sandbox/joe_bfstplk/2022611
GIT Repository:
git clone --branch master joe_bfstplk@git.drupal.org:sandbox/joe_bfstplk/2022611.git smarter_blox
Installation and Usage
Download and unzip in the modules folder, enable on the modules page. Comes set for four (4) Smarter Blox blocks by default. Admin page allows setting up more or less Smarter Blox blocks per administrator preference. See README.txt for details on usage.
Comments
Comment #1
TimTheEnchanter commentedHello,
To start with you will need to move from master to a major version, here is a link to help. https://drupal.org/empty-git-master
Also you will need to address the issues seen here before you can get this approved. http://ventral.org/pareview/httpgitdrupalorgsandboxjoebfstplk2022611git
Take a look at the coding standards. Whitespace, line length, commenting, etc. have strict requirements. https://drupal.org/coding-standards
Comment #2
TimTheEnchanter commentedSorry I meant to mark needs work
Comment #3
TimTheEnchanter commentedIt also looks like you have an empty directory named smarter_blox in the module folder.
The git command you have in this issue is incorrect, that command requires your password. The correct git command is
git clone --branch master http://git.drupal.org/sandbox/joe_bfstplk/2022611.git smarter_blox
Notice no user name in the command. When you update this to include a major version please change the git command to reflect the correct branch.
Comment #4
bogdanru commentedHi,
In function smarter_blox_uninstall(), you should loop through your variables and delete them.
You could use something like this:
Cheers.
Comment #5
joe_bfstplkThanks for your helpful tips. Below you will find the most recent version, hopefully much more compliant with Drupal Coding Standards.
I have a little concern for the overhead in loading all of the content nodes to look at field values in 'field_show_in_page', 'field_hide_from_page', and 'field_show_in_blox' so that only the necessary nodes can be loaded? Is this even the right place to ask that question? Sorry for all the newbie questions.
Thanks!
--Dale
----
Issue Summary
This module provides Smarter Blox, which can be placed on pages via an include/exclude pattern based on the page's Drupal-relative URL matching a URL pattern in the include list and not matching a URL pattern in the exclude list.
Project Page:
https://drupal.org/sandbox/joe_bfstplk/2022611
GIT Repository:
git clone --branch smarter_blox-7.x-1.x joe_bfstplk@git.drupal.org:sandbox/joe_bfstplk/2022611.git smarter_blox
Installation and Usage
Download and unzip in the modules folder, enable on the modules page. Comes set for four (4) Smarter Blox blocks by default. Admin page allows setting up more or less Smarter Blox blocks per administrator preference. See README.txt for details on usage.
Comment #6
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.