Page memory limit

Component type

module

Categories

Maintenance status

Development status

Downloads

1998

Component created

Component changed

Allows you to set an array of PHP memory limits keyed by page path in $conf.

Usage

// Increases the memory limit on admin pages to 192 MB
$conf['page_memory_limit']['<admin>'] = '192M'; 

jQuery LazyLoad Ad integration

Component type

module

Maintenance status

Development status

Downloads

1636

Component created

Component changed

jQuery LazyLoad Ad is a great jQuery script, that allows us to lazy load ads on a page.

A lot of ad providers use embed codes, that are based on document.write(), which can cause a lot of problems. A common solution to this problem is to load ad in an iFrame, but is not always possible to implement this (streching ads are one of the cases).

Menu token protect (CSRF protection)

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Automatically adds a drupal_get_token query string parameter to any menu links that correspond to a menu router item that has 'token' => TRUE in its hook_menu() definition. This helps prevent certain links from CSRF attack requests.

Protection support for core menu callbacks

By default this module adds token CSRF protection for the following core menu callbacks:

user/logout

Which in turn ensures any menu links are output as:

user/logout?token=hash-string-here

And the token is checked using hook_menu_site_status_alter().

Usage

function mymodule_menu() {
  $items['mymodule/path'] = array(
    'title' => 'Sample dangerous callback',
    'description' => 'A sample menu callback that should be protected from CSRF attacks using tokens.',
    'page callback' => 'mymodule_dangerous_callback',
    'access arguments' => array('administer mymodule'),
    'token' => TRUE, // Add this to automatically have this path protected.
  );
  return $items;
}

Rules array create

Component type

module

Categories

RDF

Maintenance status

Development status

Downloads

1668

Component created

Component changed

Mini module that allow to create an array in rules on which to iterate on. It solves the need to have an x times iteration when x is a variable and not an array.

Google News

Component type

module

Maintenance status

Development status

Downloads

5671

Component created

Component changed

Google News is a simple module to add a block to your drupal site to display the latest Google News headlines on sections you choose.

Stay up to the minute on news with Google News module on your drupal site.

The different news sections settings in Google News module are

  • Top Stories
  • World
  • Business
  • Politics
  • Nation
  • Entertainment
  • Technology
  • Sports
  • Health

The Google News block comes with two display setting.

Transform

Component type

module

Maintenance status

Development status

Downloads

2038

Component created

Component changed

Uses jqTransform plugin to change the appearance of form elements. You can apply the new style to all forms in your site or just to them ýou chose in the module administration.

Features on version 6.x-2.0 and 7.x-1.0:

Context HTML tags

Component type

module

Maintenance status

Development status

Component created

Component changed

Description

Context HTML Tags module - use this if you want change some html tags depends on context.
The module can be useful for SEO optimization.

Instructions

1.Go to admin/settings/context_htmltags and define some tags identificators (one per line),
for example type in form: page_title

2. Put in file function context_htmltags_tag($text, $tag_id, $default_tag = 'p', $default_class=''), example:
Instead of a