Drupal

UserProtect and RoleAssign: Get real! User access permissions weigh a ton!

Client management of users and roles via UserProtect and RoleAssign modules.

Yes we love the Drupal user registration and login system. But what if you want to allow a client role to manage their own users and roles with out endangering your admin user accounts, the client admin user accounts themselves and protect these administrative roles.

The short story is by using UserProtect and RoleAssign. Use the UserProtect module to protect user and roles as well as provide administrator overrides to specific users. Use RoleAssign to allow permissions to assign only specific roles to users. The tragic caveat is that a client user will need 'administer users permissions' to edit users and this exposes the 'User settings page' which may be to much power for a client to wield.

Read more if your are interested in my quick and dirty notes on UserProtect and RoleAssign in Drupal 6.x. -->

Using the CSS Injector module to Theme Drupal 6

The CSS Injector module allows Users with the proper privileges to insert CSS into a Drupal page (ie: a designer). It's useful for adding CSS tweaks without modifying the site's theme directly. This module is NOT a replacement for full-fledged theming.

Theme Drupal via Zen theme & CSS Injector w/ image support via IMCE

We want to be able to, at least during development, allow an artist/designer/user to develop the theme CSS for a site as well as upload images for use with the CSS. Via a Zen sub theme with the CSS Injector and IMCE module we allow a designer or other user to theme a Drupal site without having other upload capabilities outside of Drupal. When the theming is done we wrap both the CSS from CSS injector and the images uploaded via IMCE into a final Zen sub theme.

How-to create a simple Drupal XML node type

You want to use Flash or other dynamic elements in your Drupal site, you want these elements to reference dynamic XML (or minimally XML you can quickly change). You want a simple solution not overkill. You can code PHP and provide any of the data from your site but need to display an XML file.

Following are quick and dirty instructions to provide XML directly or generated by PHP in the body of a node. We do this by creating a new Content Type for XML, simplifying the templates, using PHP to create XML content and then the Path module to display the .xml extension to the node.

Drupal WYSIWYG editor Setup w/ Google Spellcheck

The WYSIWYG API module allows to users of your drupal site to use many different WYSIWYG (What You See Is What You Get) Web browser based editors for editing content. This module is the up and coming WYSIWYG module and has overtaken other modules of this type. This module depends on other modules and third-party editor libraries (often based on JavaScript). Libraries like SpellCheck or modules like IMCE Wysiwyg bridge and Insert. Follows is my generic set up for WYSIWYG editor Setup using TinyMCE and Spellcheck including adding additional input formats:

Drupal XML sitemap & Site verification modules

We use Drupal XML sitemap and Site verification modules to notify search engines of updated content and the priority of that content.

Drupal image support dilemma

So if you are new to Drupal and it's terminology you may look around and wonder "what are all these image support options for Drupal?" Have you started with one and switched to another as you define your use cases? I have. Well, following are three basic starting points for image support w/ Drupal that I see:

    Provide users a WYSIWYG editor with image support in Drupal

    So you want to know how to allow a client or staff member to edit HTML content via a WYSIWYG editor w/ integrated and easy to use image support? We do this with Wysiwyg API, IMCE & IMCE Wysiwyg API bridge modules. The IMCE Wysiwyg API bridge module is a support module to bridge between IMCE image upload/browsing capability and Wysiwyg editors, so have them both installed and working first. Following are my quick notes to provide Drupal users a WYSIWYG editor with image support:

    Wysiwyg API module in Drupal 5 & 6 = So many Wysiwyg editors!

    The WYSIWYG API module allows to users of your drupal site to use many different WYSIWYG (What You See Is What You Get) Web browser based editors for editing content. This module looks to be the up and coming WYSIWYG module and is over taking the other modules of this type. This module depends on third-party editor libraries, most often based on JavaScript. Follows are my quick and dirty set up notes:

    IMCE module for Image and File uploads

    The IMCE module for Image and File uploads, browsing and more in Drupal 5 & 6

    The IMCE module is an image/file uploader and browser that supports personal directories and quotas. IMCE can be used alone or integrated w/ WYSIWYG editors and other web applications (ie. FCKEditor, TinyMCE, WYMEditor, Whizzywig, BUEditor, & Wysiwyg API via the IMCE Wysiwyg API bridge module).

    Pages

    Subscribe to Drupal