Stay current with an always up to date © block

So many sites have an invalid date on their copyright notice, which makes them look out of date and neglected.

Make a better first impression with a footer block containing something like this super simple PHP:

Remove Duplicate Nodes based on title

I have tested only once, and it did work. But use it on your own risk.

Based on code from Robert Douglass.

I have added few lines to make it copy-paste-able to a module.

Changes from previous versions of Services to 2.x

The following items may need updating when you upgrade to Services 2.x

Menu path changes from 6.x to 7.x

This page is a list of changes to the menu path from D6 to D7.

See Information Architecture Drupal 7 for more information.

Many paths to admin screens have changed

Paths to many administrative screens have changed between Drupal 6 and Drupal 7, as part of the information architecture and usability improvement effort. Here is a list (possibly incomplete):

  • Most items in admin/settings/* moved to admin/config/* (see exceptions below)
  • Some items in admin/build/* moved to admin/structure/* (see exceptions below)
  • Media-related items are now in admin/config/media (issue)
  • admin/build/modules -> admin/modules
  • admin/build/themes -> admin/appearance
  • admin/build/path -> admin/config/search/path
  • admin/build/block -> admin/structure/block
  • admin/build/menu -> admin/structure/menu
  • admin/content/types -> admin/structure/types
  • admin/content/taxonomy -> admin/structure/taxonomy
  • admin/content/forum -> admin/structure/forum
  • admin/build/testing -> admin/config/development/testing
  • admin/settings/site-maintenance -> admin/config/development/maintenance
  • admin/settings/performance -> admin/config/development/performance

Comparison between Display Suite and Panels

People ask us how Display Suite compares to Panels. One important fact is clear: we never created this module to be a competitor or replacement for panels, in fact, most of the maintainers don't have much experience with panels at all. Somehow, features are overlapping though.

See the original post about this topic (this also compares the modules with the Context module).

  1. Both are great; DS is easier out of the box but Panels is more flexible
  2. Views arguments can be passed in Panels node variants
  3. With panels you can create node regions in any configuration through the UI, display suite starts you off with 5 regions, good enough for me. With panels you need to create those 5 regions on your own if you want to be able to alter sizes... That's too much clicking. DS wins out with convention over configuration.
  4. The CSS altering features in DS is much easier to deal with through the UI than with Panels. Panels can also assign CSS, but it just takes too many clicks to get to where Panels gives you a huge level of layout control and localised or globalised CSS styling.

Specify a favicon based on the path

[Copied from http://drupal.org/node/291039#comment-2614440 from user simanta]

The below given source code will give one flexibility to set custom favicons based on paths. Hope this helps someone. Please review and comment.

File -> favicon.module
=================

<?php
// $Id: favicon.module $

/**
* Implementation of hook_perm
*/
function favicon_perm() {
return array('administer favicons');
}

/**
* Implementation of hook_menu().
*/
function favicon_menu() {
$items['admin/build/favicon'] = array(
'title' => 'Favicons',
'description' => 'Configure favicon for any page or sub section of the site.',
'page callback' => 'favicon_list',
'access arguments' => array('administer favicons'),
);
$items['admin/build/favicon/list'] = array(
'title' => 'Favicons',
'description' => 'Configure favicon for any page or sub section of the site.',
'page callback' => 'favicon_list',
'access arguments' => array('administer favicons'),
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/build/favicon/new'] = array(
'title' => 'New favicon',
'page callback' => 'drupal_get_form',
'page arguments' => array('favicon_edit', 3),
'access arguments' => array('administer favicons'),
'type' => MENU_LOCAL_TASK,
);
$items['favicon/edit/%'] = array(

Pages

Subscribe with RSS Subscribe to RSS - Programmers