template_already_shown and page_begin.tpl
Jamroom Developers
I'm overriding jrCore page_begin.tpl and page_end.tpl in the skin dir.
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
updated by @ultrajam: 06/29/14 06:10:37PM