This website stores cookies. Click here to accept them.cookie information page

"drupal" category

Have you just installed Drupal and are wondering where the rich text editing capability is?

14th May 2013
Categories: drupal

In theory Drupal supports multiple WYSIWYG text editors via its WYSIWYG module, found at:

Once you're on the website, download the latest compatible recommended version (see foot of page) - tar.gz format is fine.  You can then install this via your Drupal control panel (on the modules page in your drupal installation, click "+install new module", then once it's installed, follow the link to enable).

Now you have the WYSIWYG module, do you have any WYSIWYG editing?  Not yet!  First you need to configure the module, and upload any supporting editor you want.

In Drupal control panel, go to the modules page again.  Now click the link to configure the WYGIWYG module. This takes you to a list of supported editors (installed editors are shown n a different colour).

At time of writing, the current Drupal/WYSIWYG version is a little out of date, and does not integrate seamlessly with any of the following, or there are other problems as listed:

  • TinyMCE
  • JWysiwyg
  • OpenWYSIWYG (does not support chrome)

We are currently using nicEdit.  If you follow the download link from the WYSIWYG configuration page, you can download and then upload the nicEdit folder structure (NB. nicedit, no caps) to the folder path given.

Once done, you need to go to "configuration" - "content editing" again and enable nicEdit for filterd/full html editing (the user has a choice of these and plain text when editing; choosing "Full" for example, will only display what you've selected as the "Full" option).

FINALLY you need to go and configure the niceEdit tool and enable buttons - then they will appear on the editor toolbar and you have WYSIWYG editing, phew!

Basic Membership Area Functionality using the Drupal Taxonomy Module

7th November 2012
Categories: drupal

Setting up a private members' area using the "Taxonomy Access Control" module in Drupal

Note that the "Taxonomy" built in module is not the same as the "Taxonomy Access Control" contributed module.

The "Taxonomy" module in Drupal allows you to categorise content, and working with that and the "Taxonomy Access Control" module, allows you to set up a private "members-only" area of your Drupal website.

Before we begin, download the Taxonomy Access Control module from: and install it into your Drupal installation by going to "Modules" and "+ Install new module". Upload your file that you downloaded from the Taxonomy Access Control web page, and when it's finished doing things, click to "enable module". This takes you to the modules list, where you need to tick a box and click "save" to enable it.

It worked fine for me, but if you do get error messages, please try the help on the page.

Now let's start configuring the areas of the website.

Go to the modules menu and next to "Taxonomy", click "configure". 

We are going to be using the "Forums" Vocabulary", i.e a list of topics that can be used around the website, and we will link content to those topics, and finally add/remove users from topics, thus enabling them to see the content or not.

So next to the Forums Vocabulary (this is a special vocabulary which we can use with web pages), click "Add terms".

(If you've lost your place at this point, we're in "Modules" .. "Taxonomy" .. "Configure")

Add the term "private" (don't worry about a description; just click save at the foot of the page)

You could add the term "public", in the same way, and as many different "areas" as you wanted. 

Now we can configure Taxonomy Access Control. 

Go to "modules" and click "configure" next to Taxonomy Access Control.

- choose "authenticated user... edit access rules"
- under "New", click the dropdown to see your Areas, like "private".

- choose "private".

- under "view" in the main table, you will see "A I D" (allow, ignore, deny). choose "allow".

- now click add (or save if you've already added) and you will be taken back to the list of user roles

- choose "anonymous user... edit access rules".

- again, choose "private" but under "view" click "D" 

Next we have to make sure that basic pages can be linked to taxonomy!

Under "structure", "Content types" click "manage fields" next to "basic page".

Add an "existing field" called "Area" (or whatever you want) and make it type "taxonomy_forums". 

Now we're going to create some content and make it private.

So now at the top of the screen (the main Drupal menu), click "content", and then click "+ Add content".

Add a new "basic page" and under "area" link it to "private" (the term we set up earlier).

Finally, before we test this all out, you may already have seen a link saying:

"The content access permissions need to be rebuilt. Rebuild permissions.".

Click that link.

Now if you go to the home page as an anonymous user (try Chrome's incognito mode) you won't see your new page - but if you're logged in, Hey Presto! - you will.

© Alberon Ltd 2018

8 Standingford House
26 Cave Street

01865 596 144

Oxford Web is a trading name of Alberon Ltd, registered company no. 5765707 (England & Wales).