disabling Template Parsing in a specific block from layout

edited November 2019 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.