Hard code the block into a page type?
Permalink Browser Info Environment
Hi all
I've been trying to hardcode this block into a page type so that I don't have to manually add it to my pages, but it doesn't work - the form's action isn't filled in properly.
I've tried embedding it both by adding a scrapbook instance of the block and by embedding it each time like this:
but the form action isn't populated so the page just reloads.
Is there a solution to this? It's a great block!
I've been trying to hardcode this block into a page type so that I don't have to manually add it to my pages, but it doesn't work - the form's action isn't filled in properly.
I've tried embedding it both by adding a scrapbook instance of the block and by embedding it each time like this:
<?php $savepdf = BlockType::getByHandle('save_area_to_pdf'); $savepdf->render('templates/slc'); ?>
but the form action isn't populated so the page just reloads.
Is there a solution to this? It's a great block!
Type: | Discussion |
---|---|
Status: | New |
Hello apologies first off for the late response - I haven't been receiving notifications of activity here! I'm pretty inundated right now but I will look at this in two weeks. Take care - I am really glad you find this to be useful! -J
Thanks J!
It's working now under 5.4.2.2!
Great! -J