6.x

Модули для Друпал версии 6.x

fasttoggle

Описание модуля

Полное название: Fasttoggle
Проект начат: September 16, 2006

Описание с сайта

Ускоряет выполнение самых распространённых задач по администрированию таких как:
снятие с публикации, продвижение документа на главную страницу, блокирование польователей через использование AJAX callbacks. Это экономит множество перезагрузок страницы. Если JavaScript запрещён, то все будет работать в обычном режиме - с перезагрузкой страницы.

drush

Описание модуля

Полное название: Drush
Проект начат: November 13, 2006

Описание с сайта

drush - это оболочка командной строки и Unix скриртовый интерфейс для Друпал, настоящий швейцарский армейский нож предназначенный для того, чтобы облегчить жизнь для тех из нас, кто тратит большую часть своего рабочего времени хакерствуя в командной строке.

The drush.module for Drupal 5 itself now only provides an API that allows other modules expose command line functionality in an easy way.

Also included are several modules that make use of the drush API:

drush_pm.module: The drush Package Manager: This module allows you to install modules from the command line in a very simple way (apt-get style) - just type e.g. drush pm install views in a Drupal directory to install the Views project!
Additionally, the Drush Packet Manager also allows you to update all your modules with just one command - drush pm update.

drush_tools.module: The drush Toolbox: several useful utilities for site administrators and developers (e.g. drush cron or drush cache clear)
The drush_sql module helps you issue queries to any of your databases (i.e. is multi-site aware) and even helps you migrate databases between your environments.
The drush_simpletest module is a fast and easy way to run simpletest tests from the command line.

Be sure to read the accompanying README.txt for installation and usage instructions.

More contributions both in the form of new commands for the drush_tools.module and new modules that make use of the drush API are greatly welcome!

Windows support is experimental.

"drush" - это сокращение от Drupal Shell.

Зависит от:

Update Status (5.x-2.0 или выше).

Вывести полное содержание всех книг (book) на сайте в виде иерархии

Задача

Вывести полное содержание всех книг (book) на сайте в виде иерархии.

Удалить содержание из документа типа book

Задача

При просмотре документа типа book снизу выводится навигация по книге - дочерние документы, а также предыдущий, следующий документы и "вверх" на один уровень.
Нужно удалить эту навигацию.

Решение

Друпал 6

Варианты:

  • Исправление шаблона навигации модуля book
  • Вариант, который будет работать после обновления версии Друпал.

Исправление шаблона навигации модуля book

globalredirect

Описание модуля

Полное название: Global Redirect
Проект начат: October 7, 2006

Описание с сайта

Что?

GlobalRedirect - простой модуль, который…

  • Проверяе текущий URL на наличие синонимов и делает 301-й редирект на синоним, если он не был использован.
  • Проверяет текущий URL на завершающий слеш, удаляет его, если он есть и повторяет проверку 1 с новым запросом.
  • Проверяет, текущий URL на совпадение с site_frontpage и делает переадресацию
    на главную страницу в случае совпадения.
  • Checks if the Clean URLs feature is enabled and then checks the current URL is being accessed using the clean method rather than the 'unclean' method. (Currently only in DEV, will be in 1.3 soon)

Зачем?

Once enabled, an alias provides a nice clean URL for a path on a site. However Drupal does not remove the old path (eg node/1234). The problem is that you now have two URLs representing the same content. This is dangerous territory for duplicate pages which can get you sandboxed by the search engines!

How?

This module uses hook_init to interrupt the page load and the a alias lookups. If any of the above rules apply then the appropriate action is taken. If no rules apply then the page load continues uninterrupted. An example of this in use is on the site it was developed for. http://www.sportbusiness.com/node/160559 will redirect to http://www.sportbusiness.com/news/160559/lagardere-sets-up-sports-division due to the alias setup on this site.

Всё, что мне нужно знать

As with most modules - there are often a few things you should be aware of before going ahead.
Version 1.2 has been released. This includes some code improvements and better compliance with coding standards.

Known Bugs:
Broken under 4.7.4, but works under later 4.7 releases. The issue is explained on node 89600, comment 13 and is caused by path.inc not returning aliases correctly. Thanks to RayZ for finding the problem
Issues with Windows IIS Server. There is a known issue with Clean URL's in IIS and there is also a known issue with certain versions of PHP running on IIS where a Permanent Redirect (301) is incorrectly sent as Object Moved (302).

Зависит от:

Изменения в модуле Book в Друпал 6

Задача

Найти и понять изменения в модуле Book, чтобы можно было адаптировать сниппеты и модули, которые взаимодействуют с модулем Book, для работы в Друпал 6.

Анализ модуля Book прошёл успешно!

Drupal API

Задача

Изучить API Друпала.

Practical Drupal: Evaluating and Using a Web Content Management System

Practical Drupal: Evaluating and Using a Web Content Management System

Информация о книге

  • Полное название: Practical Drupal: Evaluating and Using a Web Content Management System
  • Авторы: Niall Mansfield
  • Язык: английский
  • Сайт книги:
  • Издательство: UIT Cambridge Ltd
  • Страница книги на сайте издательства:
  • Страниц: 448
  • Размер: 9.5 x 7 x 1.1 дюймов

Building Powerful and Robust Websites with Drupal 6

Информация о книге

  • Полное название: Building Powerful and Robust Websites with Drupal 6
  • Авторы: David Mercer
  • Язык: английский
  • Издательство: Packt Publishing Ltd
  • Страница книги на сайте издательства: http://www.packtpub.com/drupal-6-create-powerful-websites/book
  • Страниц: 330
  • Размер: 191мм x 235мм
  • Дата выпуска: April 2008
  • ISBN: 1847192971

Selling Online with Drupal e-Commerce

Selling Online with Drupal e-Commerce

Информация о книге

  • Полное название: Selling Online with Drupal e-Commerce
  • Авторы: Michael Peacock
  • Язык: английский
  • Издательство: Packt Publishing Ltd
  • Страница книги на сайте издательства: http://www.packtpub.com/drupal-ecommerce/book
  • Страниц: 264
  • Размер: 191мм x 235мм
  • Дата выпуска: April 2008

Creative Commons: ­Attribution-Share Alike 2.5

Данные материалы выложены под лицензией Creative Commons: ­Attribution-Share Alike 2.5. Это значит, что вы можете распространять, копировать и модифицировать эти произведения при условии упоминания авторства оригинала, и при условии, что они также будут распространяться на условиях этой лицензии (то есть, изменённую работу нельзя защитить копирайтом). Подробнее смотри: http://ru.wikipedia.org/wiki/Creative_Commons

Синдикация материалов