Skip to main content
added 59 characters in body
Source Link
Kevin
  • 28k
  • 12
  • 95
  • 197

First, you are using the wrong hook. peeprocess_node won't send new variables into the page template. You need preprocess_page for that. The page template is not the same as the node template.

Second you are not assigning any new variables. You have to add or alter what is in $variables array or they are not passed to the template.

$variables['vanilla_spice'] = "testing the variable";

First, you are using the wrong hook. peeprocess_node won't send new variables into the page template. You need preprocess_page for that. The page template is not the same as the node template.

Second you are not assigning any new variables. You have to add or alter what is in $variables array or they are not passed to the template.

First, you are using the wrong hook. peeprocess_node won't send new variables into the page template. You need preprocess_page for that. The page template is not the same as the node template.

Second you are not assigning any new variables. You have to add or alter what is in $variables array or they are not passed to the template.

$variables['vanilla_spice'] = "testing the variable";

added 56 characters in body
Source Link
Kevin
  • 28k
  • 12
  • 95
  • 197

First, you are using the wrong hook. peeprocess_node won't send new variables into the page template. You need preprocess_page for that. The page template is not the same as the node template.

Second you are not assigning any new variables. You have to add or alter what is in $variables array or they are not passed to the template.

First, you are using the wrong hook. peeprocess_node won't send new variables into the page template. You need preprocess_page for that.

Second you are not assigning any new variables. You have to add or alter what is in $variables array or they are not passed to the template.

First, you are using the wrong hook. peeprocess_node won't send new variables into the page template. You need preprocess_page for that. The page template is not the same as the node template.

Second you are not assigning any new variables. You have to add or alter what is in $variables array or they are not passed to the template.

Source Link
Kevin
  • 28k
  • 12
  • 95
  • 197

First, you are using the wrong hook. peeprocess_node won't send new variables into the page template. You need preprocess_page for that.

Second you are not assigning any new variables. You have to add or alter what is in $variables array or they are not passed to the template.