Posts Tagged by Drupal
How to Install WYSIWYG Editor in Drupal 6, Using WYSIWYG API and jwysiwyg
| 12 June 2009 | Posted by whiztech under Uncategorized |
Drupal Hack: How to Install Wysiwyg API Module With jWYSIWYG
| 19 December 2008 | Posted by whiztech under Uncategorized |

Drupal 6.x don’t have a ‘What You See is What You Get’ (WYSIWYG) feature by default. There are a few WYSIWYG module available for Drupal 6.x, for example FCKEditor, TinyMCE, widgEditor, WYMeditor and Wysiwyg API.. I’ve tried most of these modules but somehow none of them work on my blog. Maybe the problem is caused by other installed modules or the browser that I use (Opera), but I’m not very sure.
I try again with Wysiwyg API. Wysiwyg API supports many editors such as TinyMCE, jWYSIWYG, nicEdit, FCKeditor and Whizzywig, but again, none of these editor work with my blog. Either I get error from Drupal or the editor didn’t show in my browser. jWYSIWYG however cannot be installed since the Wysiwyg API module shows that it doesn’t support jWYSIWYG 0.4. Then I tested with jWYSIWYG 0.3 and 0.2, but Wysiwyg API module still gives the ‘not supported’ error. Since jWYSIWYG is a very lightweight editor (101KB only including images), I’ve decided to hack the Wysiwyg API module. It is pretty easy actually.
Note: In this post, I will use Wysiwyg API 6.x 0.5 and jWYSIWYG 0.4. I will not responsible if this method renders your site unfunctional, but so far it works for me =)
1. You need to download the Wysiwyg API 6.x 0.5 and jWYSIWYG 0.4.
2. Extract the content of Wysiwyg API. You should have a wysiwyg folder created. Open the wysiwyg folder.
Drupal 6: Integrating Adsense for Search
| 30 September 2008 | Posted by whiztech under Uncategorized |
I’ve been using Drupal for almost a year and I find it very easy to customize and configure. In fact, Drupal is my second blogging platform after Blogger. The Drupal development and community is very active. In this post I will show you how to easily integrate Google’s ‘Adsense for Search’ into Drupal 6 so that the search result can be shown and contained on your Drupal site.
1. Download and install ‘Google Custom Search Engine’ module for Drupal 6 to your Drupal installation. If you don’t know how to install a Drupal module, extract and upload the content of google_cse-6.x-x.x.tar.gz to the sites/all/modules directory of your Drupal installation. Make sure the folder google_cse exists after you upload the files (1).
Drupal 6: Slow Administration Page or Administration Page Returned Blank Page
| 22 August 2008 | Posted by whiztech under Uncategorized |

If your Drupal 6 administration page returned blank page or the page is very slow, your site’s server might have a problem to access drupal.org to check for available update for your Drupal 6 installation. Usually, the Drupal’s Update Status module will check for theme and modules updates once in a day, depending on how you configure cronjob for Drupal. If updates cannot be performed, Drupal will check for updates every time you access Drupal’s administration page.
This post will show you on how to disable Drupal 6 Update Status module using phpMyAdmin (I assume you use MySQL for your Drupal installation) even if you cannot access the module administration section of Drupal. This will enables you to access the administration page until the problem of your site’s server cannot access drupal.org is solved.
more
WARNING! Make sure you’ve backed up your Drupal database before proceeding. This method involves modifying Drupal database directly, so there might be a chance that your Drupal database get corrupted.
First, open phpMyAdmin on your hosting control panel. Your hosting provider should provide you with phpMyAdmin via CPanel or DirectAdmin. Login with the MySQL username and password that you use for your Drupal installation. If you forgot the password, browse to
The format should be like this:
$db_url = ‘mysql://‘MySQL username’:‘MySQL password’@‘MySQL server address’/‘MySQL database name’‘;
Next, select the database name for your Drupal installation from the left site of the panel (1).

Select the ‘system‘ table (2).

Click browse (3) on the right side panel of phpMyAdmin.

Under the ‘filename‘ column, find ‘modules/update/update.module‘ (4). Usually it is on the second page (5). Then, click the edit icon (6) on ‘modules/update/update.module‘ row.

On the next page, set the value for ‘status‘ and ‘bootstrap‘ to 0 (7). If you have the entry for ‘throttle‘, also set it to 0. Make sure ‘Save‘ is selected (8) and click ‘Go‘ (9) to save.

You’ve successfully disable the Update Status module. Hope you can successfully access the administration page back.
[Drupal]

