29 May
2012
29 May
'12
3:50 a.m.
In D7, in template.php, I'm hooking preprocess_page and setting a $vars[] variable = theme_button. In a block, I have this: <?php global $signup_button; ?> <div id="signup"><?php print $signup_button; ?></div> The button appears in the page source outside of those enclosing divs. What am I doing wrong?