[themes] Corralling a stray button

Jeff Greenberg listmail.ayendesigns at gmail.com
Tue May 29 01:50:43 UTC 2012


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20120528/ba79b6d0/attachment-0001.html 


More information about the themes mailing list