Creating filters

To create a filter, you can do these steps:

  • Make sure you have the Custom Filter module installed
  • Go to Custom Filters (/admin/settings/customfilter) (6.x & 7.x)
  • Click Add Filter tab

Now there should be a form asking some properties. Give this new filter:

  • Name, as an identifier for this filter
  • Description, some sort of description to describe what this filter is about and what this filter does. This information is used only in the Custom Filter administration page.
  • Tips (short), short tips to be shown in the node creation form, below body field.
  • Tips (full), longer tips to be shown in Compose Tips. That is the page when you click more information about formatting options.
  • Cache to determine the node should be cached. When this option is on, filtering will be cached. If you need a filter that must be processed everytime the node loads (e.g. filter that shows current date/time, or filter that generates random numbers), you should turn this option off.

Replacement rules

Custom Filter

Custom filter is a module that allows you to create your own filters based on regular expressions. When you need some input filter that is not available from, and you don't want to write your own module, you can create your own filter with this module. What you need is regular expressions, and optionally PHP programming ability.

403 Forbidden error page with Clean URL

Hello everyone,

My company's site is hosted in Siteground (which has excellent support for Drupal). But the thing is, no matter how hard I try, I just can't get the clean URL feature working. I did everything there is to do, I made sure that the .htaccess file contained the following code:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

I think Drupal may match my needs but I have a question about versions...

Drupal just might be the perfect software for me, however I have a few questions:

Why are you releasing version of 4.x and 5.x simultaneously? I'm assuming that perhaps this was just a security patch and for some strange reason you still support the 4.x software? But 5.x is the latest, best, and most stable release?

And my second question, if I'm in the process of creating a site should I wait for Drupal 6.x? How far off is it? Could I just use the current RC or is it not stable enough? Could I just use 5.x and easily upgrade to 6.x?

Primary links as nice menus

This post is in the issue queue related to the Nice_menus module. It could be a help to a lot of people.

Basically you can use the theme_nice_menu_primary_links function like any other theme function. You can call it directly in your page.tpl.php or add it as a variable in your template.php.

Why Drupal Translation is not killer feature

Regarding to Dries Blog Post, which is or isn't killer feature, I will say, isnt. Why?
It doesn't make sense to me. How you are be able to translate everything but menus.

Ok, the way that drupal 6 translates content its cool, but still cannot understand why you have to use Contrib module for a built in feature.
This can be implemented so simple, just like the path module. so if you make a translation of menu it will be displayed else original language will be used.


Subscribe with RSS Subscribe to RSS - Drupal 6.x