Drupal tips |
The Select builder adds a LOT of overhead. You should not use it unless you need one of the things it offers: Dynamic query structure, hook_query_alter, certain db-unportable features that don’t have a simpler version (random ordering, for instance), etc. For the run of the mill SQL query, db_query() is several times faster than db_select(). If you need a limit query, db_query_range() is still there. |
|||
Some notes on configuring the module
|
|||
DELETE FROM comments;
DELETE FROM comments WHERE uid=0; |
|||
This is my quick reference of useful links |
|||
There seem to be several ways of getting CCK fields into your node-typename-node.tpl.php file:
|
|||
In a Red Hat or CentOS server installation, XMLwriter may not be enabled by default. To enable it, follow these steps: # If you are using the base 5.1.6 php, then yum -y install php-xml #if you are using php 5.2 (from the centos 5 testing repo) yum -y --enablerepo=c5-testing install php-xml #restart apache service httpd restart |
|||
There are some problems with running Drupal on php 5.3. There are five kinds of solutions:
Drupal 62. Modify Drupal's error reporting --already done for Drupal 63. Find patches |
|||
This article was originally posted at: If I am breaking any copyrights here, please let me know and I will remove it. Note that Drupal now blocks any path containing "svn-base". See: http://drupal.org/node/28776 Posted At : July 5, 2006 9:54 PM By : Mark |
|||
Useful links to posts on Planet Drupal that I want to remember for later: |
|||
#place to put dget scripts DGETDIR=/root/dget
svn co http://drupal-get.svn.sourceforge.net/svnroot/drupal-get/trunk $DGETDIR cp $DGETDIR/rename_to_settings.sh $DGETDIR/settings.sh $DGETDIR/setup.sh $DGETDIR #check out drupal core, contrib dsvn checkout #use dsite checkout if no need to commit from this site dsvn checkout x x a6paths |
|||
