Hi.
I would like to be able to use the same page design in different formats, within an application and also as iframes within other external web pages.
- Normal with Menus and Breadcrumbs.
- No Menus or Breadcrumbs - for use within an iframe.
I know I can use a different template to achieve the result, editing Layout and calling 'bootstrap1_iframe_only' as follows:
@version=3
@template=bspage1
beginblock center
begincontainer column center
begincontainer align=left bsgrid grid
brick bsgrid
endcontainer
endcontainer
endblock
So I would like to get a URL variable such as iframe=yes and HIDE BLOCKS in a similar way as hiding fields or alternatively selecting a different template dynamically.
How can I achieve this?
Thanks.