Node CSS

Node CSS uses node fields to populate a CSS template file. CSS for all nodes can either be aggregated into a single file or generated per node. In both modes, the CSS files are added using drupal_add_css() so it complies with full Drupal aggregation and compression. If aggregation is turned on in Node CSS it is recommended to make the CSS node specific via a body node class because the same CSS file is loaded for multiple nodes. Many themes output a node specific class by default.

Full aggregation is recommended for performance (the same CSS file can be used across the entire site). Individual files is recommended for small sites and/or where you don't have access to a body node class.

body.page-node-<?php print $css_vars['nid']; ?>

Example applications

  • Set an image uploaded into a node as a background image e.g. a body wallpaper or a flourish
  • Set the background colour of a page element using jQuery Colorpicker

General usage

By default, fields according to the naming scheme field_css_ in enabled content types will automatically be passed to the template and hidden from the node display. Both the naming scheme and visibility can be changed.

Computed Field Tools

Computed Field Tools (Drupal 7) Batch running

The problem

The Computed Field module only updates its computed values on saves or on load (if no computed value is computed yet). This is not optimal when using computed values in lists etc., or if you should wish to change the logic in the computed field.

The solution

If you wish to avoid re-saving all the entities/nodes using the computing field, you can use this tool to re-compute all the values again.

The computed field tools module offers a way to re-compute the computed fields of existing entities/nodes. It does so through the Batch API.

When the batch is running it does not save the entire entity/node, but it only saves the computed field. This make it a fast way of updating the content.

Features

  • Fast processing of all computed fields.
  • Select specific computed_field to process.
  • Select content types to process for selected computed field.
  • It processes ALL entities/nodes. Also the ones with no value computed yet.
  • Drupal 6 supported content: nodes.
  • Drupal 7 supported entity types: nodes, users, terms.
  • Since we don't do an entity_save() we don't clear the cache on every(!) node processing and no search index updates are triggered, so there is a huge performance advantage here on high traffic sites over the VBO way.

Downloads

easyrec for ubercart

Screenshot of the easyrec blocks.

Information

This module integrates the product recommender functionality of easyrec (http://easyrec.org/) into an ubercart shop. It provides Drupal Blocks for the display of recommendations or product rankings.

Available Blocks

  • easyrec: other users also bought
  • easyrec: other users also viewed
  • easyrec: recommendations for user
  • easyrec: most bought items
  • easyrec: most viewed items

The Blocks are fully style-able using the module administration interface. Or can use one of the following drawing callbacks:

  • Views 3 support
  • Jquery Carousel
  • Image List
  • Text List
  • create your own using javascript or the drupal hook

To use the "easyrec for ubercart" module a shop owner needs access to an easyrec server. It's possible to register a free easyrec account at http://easyrec.org/ if the owner cannot host his/her own. After creating an account on the easyrec server and a 'tenant' account for the specific shop, the shop owner just copies the tenantId and apiKey into the drupal module's administration interface to enable recommendations for the ubercart shop.

Optional Modules

http://drupal.org/project/views ( x.x-3.x )
http://drupal.org/project/jcarousel

Install & get started

Downloads

Weatherpic

This module provides an easy way to show the freely available weather images of the Hungarian www.idokep.hu website in a block.
You can easily customize which of the 8 available images to show.

You can check the available images at http://www.idokep.hu/thirdparty.

You can choose from the following types:

- Budapest smog map
- Clouds map
- Animated clouds map
- Heat map
- UV map
- Wind map
- Animated wind map
- Forecast bar

Image Field Url Replacer

After

This module allows you to replace the url in th image src attribute with the url of an image uploaded with the image field.

Downloads

Nginx Accel Redirect

Nginx Fast Private File Transfer for Drupal using X-Accel-Redirect.

Installation (for the impatient)

  1. Install the module as usual.

  2. drupal 6: Go to admin/settings/file system and enable private files.

    drupal 7: Go to admin/config/media/file system and set the private files path.

Downloads

Pages

Subscribe with RSS Subscribe to RSS - Under active development