Administrator menu displays at bottom of page
Athaclena - May 15, 2008 - 13:08
| Project: | Advanced Theme Construction Kit (ATCK) |
| Version: | 5.x-4.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hello, ATCK has been very useful to me and my main "problem" is just that the admin menu (part of $closure) doesn't display at the top of the page (as in other themes).
Any idea what to do?
Thank you!

#1
Hi Athaclena,
Hm. It appears I forgot to a include a
print $closurestatement within the layout builders template - so if you're not using the page.tpl.php file that came with atck then the $closure statement is just probably missing.If you used the layout builder to create your page.tpl.php file, just make sure to paste the following code somewhere near the bottom of your file and all should be well.
<?php if ($closure): ?>
<?php print $closure; ?>
<?php endif; ?>
Will (eventually) get this added to the template builder...
Regards
#2
Thank you for your reply!
The closure (and therefore the menu) wasn't getting printed at all so I looked through the admin menu issues and added the code already.
Now the menu shows but ate the bottom of the page - just on top of the footer.
#3
Oops, it looks like I printed $closure out within a section and a "standard untidy" div. Now that I've moved it out it's showing up fine.
Thanks!