8
Jun 2023
admin | 0 Comments

Do you feel annoying when CKEditor in Drupal keeps on changing your HTML code?

Sometimes you have HTML code that must be preserved in order to work. You are as the administrator, have no problems with code security. But when you paste your code, CKEditor in Drupal filters or alters your code structure, and it does not work as expected.

Some of the examples of HTML code altered:

  • <a> can't wrap around <div>
  • <img> tag can't stand alone, it is wrapped with <p>
  • empty <span>, <i>, <div> is not allowed
  • and etc ...

The workaround is quite simple:

  1. Please browse Admin - Configuration - Content Authoring - Text formats and editors, select + Add text fo...
11
Nov 2013
admin | 0 Comments

This post is no relating to Drupal or any topics that we used to publish on this blog. It is about helping the Philippines over the Typoon Haiyan.

Our neigbour, Philippine was strucked by the fierest typoon of the century Haiyan. The typoon also hit our country Vietnam. We are fortunate to get a much weaken storm, but not the Philippines. Possibly more than 10'000 people are killed. After the storm, life is described as worse than hell. No electricity, no food, no water. People are struggling to survive hour by hour.

So please give them a hand and pray them to get over this disaster as soon as possible. Please donate via and spread your words:

...

13
Aug 2013
admin | 0 Comments

If you suddenly find out no customers are reaching to you for weeks, will you be paranoid?

Drupal, like many other CMS, do not send mails by itself. By default, it calls the PHP sendmail() function and the rest of the job is taken care by your hosting server. When it functions like expected, there is no need to worry.

One day, I realized that I had not received any emails from my customers using the contact form on my Drupal website. It happended for a couple of weeks. At the result, I lost money. Customers could not contact me so they went away.

I worked with my hosting provider to investigate the problem, and there are two possible reasons:

  1. The sendmail() function is not working properly
  2. The server is marked as spamming. Other websites on the same server may send too many emai...
30
Jul 2013
admin | 0 Comments

I have recently monitored a client website in Drupal 7. It was spammed by commenting with spam links. Although I deleted about 600M of spam comments, all of them have been crawled and indexed by search engine bots. At the result, there are quite traffic coming to this site looking for non existing content.

At a peak time, the VPS RAM has been used upto its limit of 2 Gigabyte. The website became very slow. Apparently, responding to those removed spamming content (404 - Page not found) has eaten up alot of the server resource. So I need to find a solution to minimize memory usage for those useless requests.

The problem is, Drupal has expensive 404 errors. When serving a 404 page, Drupal stills do a full "bootstrap", loading all modules, settings, querying d...

21
Oct 2012
admin | 0 Comments

This is another helpful guest post from OSTraining. The topic today is how to disable broken Drupal themes and modules.

It's happened to all of us who use Drupal. We've installed a new theme or module and our beautiful homepage now looks like this:

Drupal error message

Here are ways you can try to solve this problem and get your site back online.

These solutions are a good place to start but none of them will work for everyone. The right solution for your site will depend on which version of Drupal you're using, what modules and themes you have installed and which part of the site is broken.

Solution 1: Disable via the admin

You can try to visit the admin area directly by using URLs. For example, you could try to add /admin/ to your site's URL.

If t...