I am hoping to be able to use the 'lightbox' feature to display a html page (ideally my newsletter subscription form) but I can't seem to get it to open anything other than an image.
If this is possible, I would like to be able to use this to open other html content as well.
{capture name="form_content"}
YOUR CONTENT HERE
{/capture}
{include file="common/popupbox.tpl" content=$smarty.capture.form_content text="sidebox header" link_text="click on me" id="form_content"}
Sorry I should have tested some more before asking about the 'iframe' - I've managed to make that work quite easily however I have stumbled into the issue of not knowing how to force the pop up window to be a certain size - essentially needing to force the 'height' of the window.
How might I change the link_text to display a clickable image?
In this case you can use the code of the popupbox.tpl file and replace {$link_text} with the required image. So the code should be similar to:
YOUR CONTENT HERE
Sorry I should have tested some more before asking about the 'iframe' - I've managed to make that work quite easily however I have stumbled into the issue of not knowing how to force the pop up window to be a certain size - essentially needing to force the 'height' of the window.