RSS Icon Twitter Icon Linked In Icon

Web Threads » Entries tagged with "drupal"

Drupal Query to Disable Comments on Node by Content Type

A handy drupal snippet, when someone’s added hundreds of nodes with comments allowed and you need to bulk disable them without editing them each by hand.
Read entire Article »

Be the first to like.

Filed under: Development

Drupal: mq4 File Attachments Open As Plain Text

A quick fix this morning for a client with a Drupal issue, links to mq4 files were opening as plain text in the browser window instead of presenting a download file prompt.

This is due to the server configuration, apache mime-types. It is usually easily fixed in an .htaccess file.
Read entire Article »

Be the first to like.

Filed under: Development

How to Empty Tables in PhpMyAdmin (MySQL)

Recently I needed to empty the Drupal sessions and cache tables which had grown to some million+ rows and were causing weekly database errors on a busy health community website. In PhpMyAdmin, permissions to empty tables weren’t available.
Read entire Article »

Be the first to like.

Filed under: Website Management