In the installation instructions in both the readme.txt AND on the Drupal project page it should be clearly stated that 2 functions have to be added/modified in template.php:
phptemplate_preprocess_page and _phptemplate_variables.
As of now, only phptemplate_preprocess_page is mentioned in readme.txt, while the project page only says to add _phptemplate_variables.
This causes a lot of confusion when installing this otherwise useful module.
Comments
Comment #1
toemaz commentedThanks for reporting this issue. Since I have my hands full on several projects, could you perhaps provide me the instructions for configuring this module for D6? I'm actually only using this module on a D5 installation. Thanks!
Comment #2
duncan.moo commentedI was about to give up on this module when I saw this thread, but the documentation should be more clear. To get this working on D6 I did the following:
A. Insert the following into template.php
B. Insert the following into template.php Into the function phptemplate_preprocess_page(&$vars)
That got it workig for me.
Comment #3
highvoltage commentedHmm, there's no mention of "function phptemplate_preprocess_page(&$vars)" anywhere... not on the front page and not on the readme? Where did this come from? Is it still relevant or out of date?
I've added this to my template.php:
Is this correct?
Comment #4
dankohn commentedPlease note that this is a bug, not a feature request. The directions (including what is in the Readme.txt and what is on the project page) need to be updated to show the instructions from #2. Thanks.
Comment #5
toemaz commentedCommitted. Thanks!