drupal

Pressflow

Pressflow is a distribution of Drupal with integrated performance, scalability, availability, and testing enhancements. It can integrate with a web proxy such as Varnish

Add Pressflow base to your Drupal SVN repo
Assuming you have your Drupal repo checked out in /tmp/drupal, create a base folder for Pressflow:

cd /tmp/drupal
svnmkdir pressflow
svn commit -m "Pressflow folder added."

Add/Upgrade the current version of Pressflow to your Drupal repo
Then download the current version of Pressflow and load it into the repo:

cd /tmp
wget http://launchpad.net/pressflow/6.x/6.20.97/+download/pressflow-6.20.97.tar.gz
tar zxf pressflow-6.20.97.tar.gz
rm -f pressflow-6.20.97.tar.gz

Technology:

Get tid

$storyVid = <vid of the taxonomy you want to match the term to>
$storyTerms = taxonomy_get_term_by_name($termName);
foreach ($storyTerms as $storyTerm) {
  if ( $storyTerm->vid != $storyVid ) {
    $storyTid = $storyTerm->tid;
  }
}

Technology:

Rebuild teasers


$contentType = 'node_type';
$nodeList = db_query("SELECT node.nid AS nid FROM node node WHERE node.type in ('$contentType')");
while ($node = db_fetch_object($nodeList) ) {
$nodeId =$node->nid;

$nodeRevList = db_query("SELECT `nid`, `body`, `teaser` FROM `node_revisions` WHERE `nid`=$nodeId");
while ($nodeRev = db_fetch_object($nodeRevList)) {
//echo $nodeRev->teaser . "";
$teaser = node_teaser($nodeRev->body,NULL, 200);
//echo $teaser;
db_query("UPDATE node_revisions SET teaser = '%s' WHERE nid = %d", $teaser, $node->nid);
$i++;

Technology:

Snippets

Various PHP snippets for manipulating Drupal

Technology:

Automatically tagging content

Comparison of Automatic Tagging Tools for Drupal.

  • Alchemy
    AlchemyAPI provides content owners and web developers with a rich suite of content analysis and meta-data annotation tools.
  • OpenCalais
    Calais is a rapidly growing toolkit of capabilities that allow you to readily incorporate state-of-the-art semantic functionality within your blog, content management system, website or application.
  • tagthe.net

Nodequeue

Allows an administrator to collect nodes in an arbitrarily ordered group.

Technology:

960 Grid System

The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels.

960 Grid System

Tutorials on 960 and Grid-Based Design

Technology:

Load testing a (Drupal) web site

Workflow

The workflow module allows the creation and assignment of arbitrary workflows to Drupal node types. Workflows are made up of workflow states. For example, a workflow with the states Draft, Review, and Published could be assigned to the Story node type.

Technology:

Development Workflow

Dealing with the Development -> Staging -> Production workflow problem - how to update and develop a site that has content being added to it while you develop.

Technology:

Pages

Subscribe to RSS - drupal

Recent Updates

  • 2 years 3 days ago
  • 2 years 3 days ago
  • 2 years 5 days ago
    php 8.x
  • 2 years 1 week ago
    10.6.7
  • 2 years 1 week ago
    Drop Centos 5/6 stuff