page_begin is parsed twice on an admin acp page, and once on an item create/update form.
So I wanted to do this:
{if $template_already_shown === 0}
<div class="page-wrapper">{else}
<div class="just-another-div">{/if}
But on the acp page, the first occurrence of page_begin (at the beginning of the page) $template_already_shown = 1
and on the second occurrence $template_already_shown = 0
Shouldn't $template_already_shown have a value of 0 at the beginning of the page and 1 later in the page?
Thanks
--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
updated by @ultrajam: 06/29/14 06:10:37PM