Drupal: .htaccess Access Deny
August 21, 2014 – 7:59 am | No Comment

In this article I will tell how to forbid access to certain resources for some clients. The instructions will include descriptions of different directives.

Read the full story »
CSS Templates

Contain reviews and news about CSS Templates.

Freebies

Contain freebies such as icons, graphics, headers and images for your websites.

Fun Stuff

Contains other fun stuff for entertainment or interesting site showcase.

How-To

Contain technical elaborations on some specific workarounds or common tweak.

Joomla Templates

Contains reviews and news about Joomla templates.

Home » How-To

Drupal: How To Change Node Input Format

Submitted by on February 28, 2012 – 4:57 amNo Comment

If you need to change input format for a node on your Drupal-based site, you can do this manually or via SQL-request. In this article, I will tell about the SQL-request. I suggest that you can change input format manually for every node.

Important! Make a backup copy of a database before implementing the instructions.

If you need to change format for all site nodes, you can use the following request:

UPDATE `node_revisions` SET `format` = ‘2’;

Input format numbers:

  1. Filtered HTML
  2. Full HTML
  3. PHP code

If you need to change format just for some nodes, the request will look like:

UPDATE `node_revisions` SET `format` = ‘2’ WHERE `nid` = ‘332’;

Specify nodes you wish to apply changes for in WHERE condition.

Good luck!

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.