Code: Select all
<div id="content">
{content block="First Content Block" wysiwyg="false" oneline="true"}<br />
{content block="Second Content Block"}<br />
{content block="Third Content Block"}<br />
{content block="Fourth Content Block" wysiwyg="false" oneline="true"}<br />
{content block="Fifth Content Block" wysiwyg="false" oneline="true"}<br />
</div>
In block 1 komt {if $ccuser->loggedin()}
In block 2 komt voortekst
In block 3 komt tekst
In block 4 komt {gallery}
In block 5 komt {else}U hebt geen toestemming tot deze informatie.{/if}
waardoor de gevoelige code los staat van de teksten die je kan bewerken.
Probleem is dat ik deze foutmelding krijg
string(142) "Smarty error: [in content:First_Content_Block line 1]: syntax error: unclosed tag \{if} (opened line 1). (Smarty_Compiler.class.php, line 317)"