The QR Code Block module provides a block that contains a QR code to render the URL of current page which vistor is accessing, and a logo or any custom image can be placed into the middle of the QR Code.

If no logo file uploaded via the settings page, it will show the QR Code only.

Usage

  1. Download the phpqrcode library, copy it into /sites/all/libraries, with the directory name: phpqrcode, and visit admin/reports/status to make sure it worked.
  2. Download the libraries module, and enble it.
  3. Download and enble this module.
  4. Go to admin/config/content/qrcode to configure this module, upload logo or custom image and so on.
  5. Go to admin/structure/block and enable the QR Code Block.

Similar project

Git Clone

git clone --branch 7.x-1.x-dev Qiangjun@git.drupal.org:sandbox/Qiangjun/2414457.git qr_code_block
cd qr_code_block

Link

https://www.drupal.org/sandbox/qiangjun/2414457

Comments

jungle’s picture

Project: QR Code Block » Drupal.org security advisory coverage applications
Component: Code » module
Assigned: g089h515r806 » Unassigned
Issue tags: -qr code
babusaheb.vikas’s picture

Status: Needs review » Needs work

1) Function comment missing for qrcode_block_view().

2) You should provide the hook_help to allow site builders to find information about your module using Drupal UI.

3) Your issue summary saying Go to admin/config/content/qrcode to configure this module === Nothing found on this link. Where is hook_menu() in your *.module file for this?

4) If this module dependency on the library phpqrcode, I think you should add the libraries_get_path. In addition, you should add Library module as a dependency in the .info file.

5) There are 2 js file in your module. Better to place it in a seperate folder js.

6) Several errors on Pareview. Please review and fix it.
http://pareview.sh/pareview/httpgitdrupalorgsandboxqiangjun2414457git

PA robot’s picture

Status: Needs work » Closed (duplicate)
Multiple Applications
It appears that there have been multiple project applications opened under your username:

Project 1: https://www.drupal.org/node/2468875

Project 2: https://www.drupal.org/node/2532406

As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).

If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.

I'm a robot and this is an automated message from Project Applications Scraper.

avpaderno’s picture