How to override node-xxx-edit.tpl.php in drupal 6

Could not find a proper solution yet. But, the temporary one goes here: function custom_nodeapi(&$node, $op, $a3 = null, $a4 = null) { switch ($op) { case 'load': break; case 'prepare': if ( arg(2) == 'edit' ) { $form = theme('article_edit', $node); } break; } } In template.php function theme_article_edit($form) { return _phptemplate_callback('article_edit', array('user' => $user, 'form' => $form)); }

How to write a simple pager_query in Drupal that is sortable?

<?php $list[]=array('');$rows[] = array('');$header = array(array('data'=>t('Title'),'field'=>'n.title'), array('data'=>t('Referral Author'),'field'=>'n.uid'), array('data'=>t('Time Created'),'field'=>'n.created', 'sort' => 'asc'), 'Average Rating');

Drupal: Argument Handling in Views

Add a textarea where we can put content to show up in a block beside a node I want a column called 'adcolumn' which is hand-filled to show stuff relating to pages. A 1-1 relationship. Create the Field Enable Views and CCK and Text field

Drupal: warning: Illegal offset type in /var/www/html/avocado/modules/taxonomy/taxonomy.module on line 1150.

This error in Drupal was buging me for some time when using leach module in drupal:

Drupal Forms Module: Tutorial

Here is a small sample, make a file in modules/myform called myform.module and paste the following code into it. Enable the module to see it in action