cms
Using links properly
Submitted by Rimu Atkinson on Fri, 10/04/2009 - 11:20I see things like this all the time. Both in content that clients have put into their CMS, and on major web sites where the editors should know better.
"Click here to download our document about xyz"
Our cool software can be downloaded here" Read more
theming just one node in drupal
Submitted by Rimu Atkinson on Thu, 04/12/2008 - 16:31Drupal's theming system uses file names to decide which theme to apply to whatever page the visitor is asking for. So page-front.tpl.php is the front page, block-footer.tpl.php is any block in the footer, page-node-10.tpl is the page that contains node 10, etc etc
However, out of the box, there is no way to theme just one node. You can't go node-1.tpl.php and expect node 1 to be themed. To get around this, add the following to your theme's template.php
function phptemplate_preprocess_node(&$vars, $hook) {
$node = $vars['node'];
Read more