Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

disabling Template Parsing in a specific block from layout

edited November 5 in Bug Reports

HI
i am trying to use angular js in a block as follow

<div ng-app="newsletters" ng-controller="newsCtrl">
              <div  ng-repeat="(tab_key, tab_set) in records" id="{{tab_key}}" class="newsleter-tabcontent">

and it is giving error as follow

Compilation error at line 131 in "string:" : Parse error in "{tab_key}}" class="newsleter-tabcontent">

as the parser is trying to parse where it finds {}

is their a way to render that specific block without using any parser (parser disabled)

Comments

  • You can try the following:
    <?=fuel_block(array('view' => 'myblock', 'parse' => FALSE))?>

Sign In or Register to comment.