Code: Select all
{if $SCRIPT_NAME != "/preview.php"}
{sectiontitle levels='2'}
{/if}
Now in 1.6.6, the preview mechanism has apparently changed and the above no longer works. I noticed the page is now editcontent.php, but replacing preview.php with editcontent.php doesn't seem to work either.
Anyone have an idea how to do this?