Tuesday, May 3, 2011

Adding SWF's to Drupal.

I love Adobe Flash. It is a great program to create in. So, naturally I wanted Drupal to support SWF which are the files that are used to play Flash Files through.

Well, Drupal does not come with a way to add flash files to your website. Luckily, there are plenty of modules that add that functionality to your website.

I chose the module: CKEditor SWF. This is an add on plugin module for the module I talked about previously: CKEditor.

This is a fairly simple module, but adds so much to Drupal. Being able to add SWF's into the body of an article is great. The picture that I have added on to this post is of me adding Wilderness Adventure, my senior capstone project, to my Drupal page.

Now, adding this module and configuring it wasn't pleasant. At all. It was actually pretty frustrating. It took me quite a while to configure the module, and getting it working on my site.

Downloading the Zip file, and adding it to my hosting site was the normal routine. But there were a number of steps that had to follow. You had to have the CKEditor module downloaded and configured, but also the CKEditor editor downloaded to the site as well.

You have to make sure that the Wysiwig module is configured to accept the buttons added with CKEditor SWF.
Once finally configured, you have to make sure that you have a way to host the files that you want to add to your site. If you are working from a local server that is great, and this process will be much faster.

If not, I suggest using IMCE. I will talk more about this later, but this basically is a file up loader that allows you to browse through your content quickly.
I uploaded my content through IMCE, then used that link that is connected with the file to then post the SWF to my site.
There may be an easier way, but that works for me. The hard way seems to be a 4/10 for ease of set up.

CKEditor SWF is a great module to add SWF functionality to your site. If your ready to tackle the configuration of this module, it is a great module to have for your Drupal site.

No comments:

Post a Comment