Content display

Subsites

Subsites are a part of your website that can have its own menu, theme, custom CSS or anything else you want.

Subsites can be defined in a few manners:
- Marking individual nodes as belonging to the subsite.
- All pages in the subsite menu belong to the section.
- Defining paths that belong to a the section. This is done in the same way block visibility works. So you can use PHP too!

Subsites can have ...
... their own page template : page-subsites-{subsite-id} or page-subsites-{subsite-slug-name}.tpl.php
... their own CSS file
... their own theme, different from the default theme
... their own menu.

Subsites can be ...
... a condition in Context module (http://drupal.org/project/context)
... used to define block visibility

That's all? Nope! Themers and module writers can react differently for each subsite using subsites_get_current and subsites_get.

Remark! There can only be one subsite active at any moment. If multiple subsites are valid for some page, the one with the lowest weight is the active one.

MapBox

The MapBox module provides a layer type to the OpenLayers module which can include MapBox map tiles on Drupal sites.

Comment displays

swentel - October 27, 2009 - 11:45

Comment displays is part of the Display Suite and is an implementation of its API. It makes it possible to render the comment fields into regions. Another feature is to render the comments in a block instead of the $comments variable in page.tpl.

Insert

insert-module.png

Insert is a utility that makes inserting images and links to files into text areas or WYSIWYGs much easier. It adds a simple JavaScript-based button to FileField and ImageField widgets. When used with ImageField and ImageCache, images may be inserted into text areas with a specific ImageCache preset.

This module was previously known as FileField Insert.

Features

  • Support for all major WYSIWYG editors, including tinyMCE, FCKeditor, the WYSIWYG project (the recommended approach), and plain text areas.
  • Insert images using ImageCache presets
  • Maximum width setting for inserted images (for combined use with the Image Resize Filter module)
  • Per-field insert configuration

See this module in action in the excellent FileField Insert / Image Resize Filter screencast by MustardSeed Media.

Upgrading

This module fully supports upgrading from the old FileField Insert module, which it replaces. Just throw FileField Insert away, drop in Insert, and enable.

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.