Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have made a small patch to support the popups api module so with this patch it should work out of the box. instead of going to the page.tpl.php file to find the id around the "print $content " i used the same div classes used in garland so with this patch no configuration is needed to get popups working. here is the code:
--- page.tpl.php 2009-08-21 03:39:14.000000000 -0700
+++ page.tpl.php 2009-08-21 03:38:47.000000000 -0700
@@ -149,7 +149,9 @@ if ($suckerfish) {
<div class="tabs"><?php print $tabs ?></div>
<?php print $help ?>
<?php if ($show_messages) { print $messages; } ?>
- <?php print $content; ?>
+ <div class="left-corner"><div class="clear-block">
+ <?php print $content; ?>
+ </div></div>
<?php print $feed_icons; ?>
<?php if ($content_bottom): ?><div id="content-bottom"><?php print $content_bottom; ?></div><?php endif; ?>
</div>
this is my first patch so be easy. I used diff to create the patch.
Comment | File | Size | Author |
---|---|---|---|
salamanderskins_popups_api_support.patch | 568 bytes | luckysmack |