There is a function in Drupal 5 (_phptemplate_variables()) that has been deprecated in Drupal 6.
Is there a similar function in Drupal 6?
Thank you.
|
|
well, i'm not totally sure what you mean, but according to the title of the post, you want a redirect function ? something like the drupal_goto(); function? http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_goto/6 |
||||
|
|
|
The Drupal preprocess functions have changed from Drupal 5 -> Drupal 6, to make them hook based. So instead of having a single function that could be invoked for different hooks, Drupal 6 uses the naming system similar to how hooks is used in modules. This is described in detail on Drupal.org: Converting 5.x themes to 6.x |
|||
|
|
|
Drupal 5 PHPTemplate engine looked for a function with that name to alter the variables used in a template.
What the code for Drupal 6 needs to do is to implement |
||||
|
|
|
|||||
|