Taxonomy Browser: build a custom category view

Project page: http://drupal.org/project/taxonomy_browser

Think of this as a 'build your own category view' page.

When the end-user chooses the "Category browser" menu item, he/she is presented with a single page with each term organized nicely by vocabulary. The user selects the terms which she or he wants to see, and then this module constructs a proper URL (e.g. taxonomy/term/3,4,5) and then displays matching nodes to the user.

Taxonomy Access Control: Restrict user roles to access specific categories only

Taxonomy Access Control (a.k.a. TAC) allows the user administrator to control access to nodes indirectly, by controlling which roles can access which categories. The administration page is at User management > Taxonomy Access Permissions (in Drupal 6, admin/user/taxonomy_access; in Drupal 7, admin/config/people/taxonomy_access).

Permissions can be set differently for each user role. Be aware that setting Taxonomy Access permissions works only within one user role and within the module. (For users with multiple user roles, see section Good to know below.)

Note: If you are not familiar with how Drupal's node access system works, see these resources:

On this page

  1. Grant types
  2. Permission options
  3. Global and vocabulary defaults
  4. Good to know

Open aggregator links in new browser window in Drupal 5 or 6

Many people would like to keep users on their site and in some situations you may find opening aggregator links in a new window accomplishes this. (Be warned, however, that this tactic is sometimes considered underhanded and is generally not accessible.) In order to have users open links in a new browser window instead of leaving your site you can either look at the External Link module or override the aggregator code in your template.php:

Find the function to override

First open aggregator.module in your favorite text editor. Then locate this function in the aggregator.module file:

<?php
function theme_aggregator_page_item($item) {

$source = '';
if ($item->ftitle && $item->fid) {
$source = l($item->ftitle, "aggregator/sources/$item->fid", array('class' => 'feed-item-source')) . ' -';
}

if (date('Ymd', $item->timestamp) == date('Ymd')) {
$source_date = t('%ago ago', array('%ago' => format_interval(time() - $item->timestamp)));
}
else {
$source_date = format_date($item->timestamp, 'custom', variable_get('date_format_medium', 'D, m/d/Y - H:i'));
}

$output .= "

\n";

Add searching to your custom module

In order for a custom module be searchable, the module must support the search hook. Read the Drupal API for the hook_search.

For 4.7 on the new API site:

http://api.drupal.org/api/4.7/function/hook_search

Pathauto: generate URL path aliases automatically

The Pathauto module creates automatic path aliases for content, users, and taxonomy terms, eliminating the need to create them manually. This way, your site is more user and search engine friendly, and more descriptive about its content with less work from your side.

The Pathauto module automatically generates URL/path aliases for various kinds of content (nodes, taxonomy terms, users) without requiring the user to manually specify the path alias. This allows you to have URL aliases like /category/my-node-title  instead of /node/123 . The aliases are based upon a "pattern" system that uses tokens which the administrator can change.

The aliases are generated when you create content in your site and are based upon the pathauto patterns (placeholders) you specify at:

  1. For 6.x :  Administer > Site Building > URL aliases , in the "Automated alias settings" tab.
  2. For 7.x, 8.x :  Administer > Configuration > Search and Metadata > URL aliases , in the "Patterns" tab.

Currency Exchange 1

Currency allows visitors to do currency conversions between different currencies from your web site. It also provides an API that can be used by other modules. It depends on Yahoo! Finance for its information.

Users with the appropriate access level (use currency) will be able to use this feature by entering an amount in the text field, choose the source and target currencies and then perform the conversion to the target currency.

You can:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x