Skip navigation.
Home
Making the world a better place through software!

CMS

Drupal/TinyMCE vs Firefox weirdness

To have WYSIWYG editing in Drupal you have to install either FCKEditor or TinyMCE (htmlarea is, apparantly, no longer supported). Since I've used FCKEditor in the past I started with that. But it seems incredibly slow!

So I tried out TinyMCE insead but found that NONE of the pop-up based features worked under Firefox. They worked fine under Internet Explorer!

I tried disabling all the pop-up blockers under Firefox... no joy 

Creating a basic website with Drupal, MySQL, Apache and Bind

These are my notes on the steps you need to take to create a basic website based on Drupal (4.6).

It presumes you already have a domain name registrar (I use www.godaddy.com), somewhere to host the website that already has Apache, MySQL, PHP and Drupal installed (I have my own Virtual Private Server on spry.com) and access to a name server (I run Apache).

First is to register the domain name (I'll be using example.com in this example!)

Then give your name server the details of this new domain. In my case I use bind (9) as my nameserver so I update named.conf to add:

zone "example.com" {
     type master;
     file "example.com";
};

Then create the file with the domain details in it:

 $ORIGIN  example.com.
$TTL     86400
          IN        SOA      ns.example.com. root.example.com. (
         2006011001      ; Serial
         10800           ; Refresh
         3600            ; Retry
         604800          ; Expire
         86400     )     ; Minimum
         IN        NS      ns.example.com.
         IN        NS      ns2.example.com.
         IN        MX 10  mail.example.com.
         IN        MX 20  mail2.example.com.
         IN        A       1.2.3.4
www       IN        A       1.2.3.4
mail      IN        A       1.2.3.4

A coupl of hints. For the value for the serial field I the date as YYYYMMDD + VV, the version on that day. Also the third last line give the domain name an address. This means users could type "http://example.com" as a valid website address. Of course this would require extra settings in both the nameserver and webserver. This will be covered in a future article.

Drupal Taxonomy

Here at LMMRtech we are fairly new to Drupal, the CMS. In the past we have worked with Typo3, Mambo/Joomla, and even a small CMS we developed in-house. Drupal is very different. It puts content first and foremost.

This approach is one of the great strengths of Drupal. It is also, perhaps, its most confusing feature.

For example. Think of a simple "brochure" website.  A few static pages, perhaps arranged in a heirarchy. Although this can be done in Drupal it is nowhere near as easy as it would be in other sites. Because most CMS packages think in terms of pages  and folders. A simple site is just the default folder and some pages in it. Great for a tiny little site. But quickly the limitations show when sites get large. Folder help a lot but they fail too because it is hard to have one page in several folders.

Syndicate content