Skip to main content
specifying file
Source Link
Pan Chrono
  • 2k
  • 1
  • 18
  • 30

Try if ($node->status == 0) instead of if ($unpublished).

This may be happening because the variable is not set correctly in a hook_preprocess_node() implementation of the theme; checkyou may also want to check the template.php file in your theme for these hooks.

Try if ($node->status == 0) instead of if ($unpublished).

This may be happening because the variable is not set correctly in a hook_preprocess_node() implementation of the theme; check also the template.php file in your theme.

Try if ($node->status == 0) instead of if ($unpublished).

This may be happening because the variable is not set correctly in a hook_preprocess_node() implementation of the theme; you may also want to check the template.php file in your theme for these hooks.

Try if ($node->status == 0) instead of if ($unpublished).

This may be happening because the variable is not set correctly in a hook_preprocess_node() implementation of the theme; check also the template.php file in your theme.

Try if ($node->status == 0) instead of if ($unpublished).

This may be happening because the variable is not set correctly in a hook_preprocess_node() implementation of the theme; check also the template.

Try if ($node->status == 0) instead of if ($unpublished).

This may be happening because the variable is not set correctly in a hook_preprocess_node() implementation of the theme; check also the template.php file in your theme.

improved formatting; fixed a comma-splice sentence
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

try

 if ($node->status == 0) 

Try if ($node->status == 0) instead of if ($unpublished).

 if ($unpublished)

This may be happening because thisthe variable is not set correctly in a preprocess_node() functionhook_preprocess_node() implementation of your theme,the theme; check also yourthe template.

try

 if ($node->status == 0) 

instead of

 if ($unpublished)

This may happening because this variable is not set correctly in a preprocess_node() function of your theme, check also your template

Try if ($node->status == 0) instead of if ($unpublished).

This may be happening because the variable is not set correctly in a hook_preprocess_node() implementation of the theme; check also the template.

Source Link
Pan Chrono
  • 2k
  • 1
  • 18
  • 30
Loading