I wish to allow the default Garland theme in Drupal 6 to use templates based on the URL Alias.

This article describes how to do exactly what I would like to do....
http://drupal.org/node/139766 - Regarding URL Alias based Page Templates

Problem being _phptemplate_callback() has been rolled into the main theme() function and can be used as themeName_preprocess()
http://drupal.org/node/132442#theme-templates

I have been attempting to port the small snippet from the first article via the instructions in the second article. If someone could be of assistance to me in resolving this issue it would be greatly apprecaited.

Regards.

Josh

Comments

DGvNp0niToyRspXaaqx3PiQBMn66QXyAq5yrNHpz’s picture

So I it is my understanding that all I need to do to accomplish a Path Alias based Template is

register the function as a template, all you need to do is create a file named after the hook followed by ".tpl.php"

After getting over the first hurtle, the problem I guess I'm still running into is "registering the function as a template"

summit’s picture

Hi,
did you succeed in this?

greetings,
Martijn