chirale

IT and beyond

Tested on: Drupal 5.7, Print 3.4 Drupal Printer Friendly module (Print) add “print this” functionality to nodes. Customization is pretty easy: according to README file you can add a print.tpl.php to your theme (or subtheme) directory and modify it. All override templates are (in check order): print.__node-type__.tpl.php in the theme directory print.__node-type__.tpl.php in the module …

Continue reading

Tested on: Zen theme, Drupal 5.7 Copy function theme_links from includes/themes.inc Paste it into your template.php Rename it in theme_primarylinks (or anything you want) In your page.tpl.php, change print theme(‘links’, $primary_links); to print theme(‘primarylinks’, $primary_links); Apply some changes to theme_primarylinks to customize your primary links. According to theme manual, for any first argument passed to …

Continue reading