This simply module providing block with dynamic copyrights information same as '2013 © Example site (example.com)'.

Features:

  • Copyrights information with placeholders:
    • !copy - for © symbol;
    • @date - for dates;
    • @site_name - for current site name;
    • @site_url - for current site url ($base_url global Drupal variable).
  • Custom link title and class.
  • Custom container for link.
  • Aliased path.
  • hook_copyrights_block_render_alter(&$copyrights_block_info, $variables) for changing block configuration before it rendering.
  • Standart Drupal block settings. :)
  • Тo dependencies on non-core modules.

This is not duplicate of copyright_block module because this module not use tokens module (it useformat_string() for placeholders) and have a hook.

View

You can view module sandbox here.

Git repo:

git clone --branch master vasiliy0s@git.drupal.org:sandbox/vasiliy0s/1958328.git

Comments

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://ventral.org/pareview/httpgitdrupalorgsandboxvasiliy0s1958328git

We 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.

SamChez’s picture

StatusFileSize
new77.57 KB

Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1101 of /var/www/includes/bootstrap.inc).

It seems there's an error caused by bootstrap that's conflicting with the module. It isn't a huge issue with the intended purpose as it still displays the copyright information correctly however as you can see, in the screenshot I've provided, the errors are populating onto the page for all your users to look at. Overall the module functions properly, the instructions are clear and simple but the errors really need to be fixed.

Matters’s picture

vasiliy0s, you gave the wrong link for your repo.
You need to create a new branch with the version 7.x-1.x and delete into *.info file this line version = "7.x-1.0".
Please add README.txt file.
According to Drupal coding standards, you must add this string "@file" in yours files.
Then review your code on http://ventral.org/

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing 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.

PA robot’s picture

Issue summary: View changes

corrected text