Hardcoding the Login Block with the Popup Template

Permalink
I have been using the AddOn Login Block with the Popup Login Template and everything works fine but I would like it to be hardcoded into the footer and I can't figure out how to do it. I am using 5.5.0 and it works fine if I call it from the editor. I tried to make a Stack out of it but when I can't call the template. I also have this problem with an Autonav template for a drop down menu which I would like to call from a Stack but the code appears to be incompatible with 5.5.0. Can anyone help?

 
cannonf700 replied on at Permalink Reply
cannonf700
Why don't you add it to your page defaults and then set it up on necessary child pages?
weiala replied on at Permalink Reply
I don't know if I understand what you mean. The footer is included in every page and I would like to have the login block using the popup-login as a template hardcoded into the footer. I don't see how to attach blocks into a page default. Am I missing something?
weiala replied on at Permalink Reply
Aaah! I figured out what you mean now by the Page Defaults. Sorry! But that doesn't do what I exactly what I want. Hardcoding options anyone?
weiala replied on at Permalink Reply
I figured out that a Stack would do what I want but I can't figure out how to render with the popup login template. It works in editing mode so I know that it is 5.5.1 compatible but when I try to call it in display()
<?php
$stack = Stack::getByName('login');
$stack->display(popup_login/templates);
?>
I get a major error message. What is the Stack equivalent to 'render' in the old hardcoding?
McArtney82 replied on at Permalink Reply
Thank you so much, tried for ages to work this out! Stack will do me