background preloader

Basic modules

Facebook Twitter

Simplehtmldom API. What this module is and what it does This is a bridge between the latest version of the PHP Simple HTML DOM Parser (simplehtmldom) library - so that Drupal developers can easily write their modules using its API. What the library does is that it gives you the simplest way to parse the html DOM tree whenever you need to parse html: in your drupal input filtersin hook_alter();when migrating html sites to drupal Easy html parsing Have you ever wanted to do some str_replace (or maybe just extract it) only over the plaintext part of a html document? Now you can do it with a Drupal module.Now you can get/set all kinds of html tags and their attributes or inner text. Easy. Installation and Usage For 7.x-2.x and 6.x-2.x please download simplehtmldom library (README.txt) Download and enable the module. Usage example for Drupal 7: (use in your module's code) <?

Modules using it: Authors and maintainers: Author: rsvelko from the team of Segments.at - your drupal partner. Versions 6.x-2.x and 7.x-2.x: Content Access. What is Content Access? Yet another content access module. This module allows you to manage permissions for content types by role and author. It allows you to specifiy custom view, edit and delete permissions for each content type. Optionally you can enable per content access settings, so you can customize the access for each content node. Features It comes with sensible defaults, so you need not configure anything and everything stays workingIt is as flexible as you want. So the module is simple to use, but can be configured to provide really fine-grained permissions! How To? Itangalo (Johan Falk) has recorded a great Learn Content Access series.The online handbook documentation.If you are interested in the Drupal 6 version, you can read more about it in its introductionary blog post.

Notes {*style:<ul>*}{*style:<li>*}Content access makes use of Drupal's node access API. Internationalization. Entity API. This module extends the entity API of Drupal core in order to provide a unified way to deal with entities and their properties. Additionally, it provides an entity CRUD controller, which helps simplifying the creation of new entity types. Requirements Drupal 7.2 or later; suggested Drupal >= 7.15 Documentation You can find documentation in the handbooks. Also check the README and the provided API docs in entity.api.php. Overview For site-builders This is an API module, so it doesn't provide any end-user features.

A Views display plugin and field to render or link to any entity (by view-mode)A CTools content plugin to render any entity (by view-mode)It ships with the Entity tokens module which makes sure there are tokens for most entity properties and fields, i.e. it provides token replacements for all entity properties (or fields) that have no tokens and are known to the entity module (read about the entity property info API below).

For developers Changes Credits The project has been sponsored by. Chaos tool suite (ctools) This suite is primarily a set of APIs and tools to improve the developer experience. It also contains a module called the Page Manager whose job is to manage pages. In particular it manages panel pages, but as it grows it will be able to manage far more than just Panels. For the moment, it includes the following tools: Plugins -- tools to make it easy for modules to let other modules implement plugins from .inc files. Exportables -- tools to make it easier for modules to have objects that live in database or live in code, such as 'default views'.

AJAX responder -- tools to make it easier for the server to handle AJAX requests and tell the client what to do with them. Form tools -- tools to make it easier for forms to deal with AJAX. Weight. This module adds a weight option to enabled node types. Nodes with lower weight will float to the top of lists, while heavier items will sink. You might be interested in reading Comparison of Node Ordering Modules.

This is useful for sorting non-chronological nodes like bios, e-commerce products, or whatever you would like. Nodes will be sorted first by stickiness, then by weight, then by creation date. With support for 7.x, the support for 5.x ends. It is available as-is only. Version 7.x-2.x is currently the recommended and supported release for Drupal 7. Issues As with all contributed modules, when considering submitting an issue: Read the documentation (two or three times is better). Development version status The development versions (-dev, which rolls up at Noon and Midnight GMT) are where the newest stuff is, including any bug fixes and new features.

Variable. Token. Tokens are small bits of text that can be placed into larger documents via simple placeholders, like %site-name or [user]. The Token module provides a central API for modules to use these tokens, and expose their own token values. Note that Token module doesn't provide any visible functions to the user on its own, it just provides token handling services for other modules. For Drupal 6, the Token module provides a "Token Actions" module which can be enabled separately. This provides several "actions" for the Drupal core Actions/Trigger modules to use that take advantage of the Token replacement functionality. Modules that use the Token module and provide tokens via the API include Organic Groups, Pathauto, Comment Notify, and Commerce. Pledges #D7CX: The basic token API is now a part of Drupal 7! #D7AX - I pledge to make this module as accessible as it can be.