Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This module displays current weather conditions, as a block, from any weather station that reports to aprs.fi. This means that you can select an unlimited amount of weather machines from precise locations (street level) and display their data in a block.
Instructions
Register for a free account at aprs.fi to obtain an api key. Once registered, the key can be found on your aprs.fi account page.
Install from URL or extract and copy to sites/all/modules and enable.
Visit admin/config/aprsfi/weather to enter your api key and configure other settings.
Features
Module creates a customizable block which can optionally show each of the following reports (future versions hope to allow for creation of multiple blocks).
Minim is a lightweight theme that uses the Twig template engine. It's also a personal experiment in separating as much logic from the presentation layer as possible. Minim is not meant to be a complete theme, but a fast and clean foundation.
Minim might be a good fit for you if:
You want to keep logic out of the presentation layer (separation of concerns).
You are interested in using a DRY, KISS and OO CSS approach.
You want template parity between PHP and Javascript (to be able to render the same template with either language).
You want to fiddle around with Twig before Drupal 8 launches.
You are comfortable with Drupal's theme layer.
Installation
Install ReneB's Twig for Drupal. If you don't want to modify core you can place the engine file in sites/all/themes/engines/twig/twig.engine. Then perform the following three hacks to TFD
In sites/all/libraries/TFD/Extension.php Delete bad theme call on line 12.
TODO:
Operator: "Contains any phrase" https://drupal.org/node/1117538
Field: Global custom text area with user role access restriction
Alter query using "Global: Query Alter". Handler Source Code
FROM SELECT node.nid AS nid, node.title AS node_title, node.created AS node_created
FROM
{node} node
LEFT JOIN {og_membership} og_membership_node ON node.nid = og_membership_node.gid AND og_membership_node.group_type = 'node'