New answers tagged


If you getting the error: Uncaught PHP Exception Unable to write to the .../files/civicrm/templates_c" directory. You have probably used drush cache clear run under your account and that created the temp files owned by the user running drush. SO you can "run drush as the web server user" sudo -u apache drush cr or you can just look at the ...


This method works for me: {assign var=visible_fields value=','|explode:'value1,value2'} <div>Visible fields var: {foreach from=$visible_fields item=foo} <div>Element is {$foo}</div> {/foreach} </div>


After looking again I think this is ckeditor converting your smarty code to html. See also Escaping quotes in ckeditor breaks smarty-syntax

Top 50 recent answers are included