How i can fix the error below. Its shows the error when a user don't have Permissions to use it. But work great if the user have Permission to use it.
It would be great to hide the tab if the user the don't have Permission.
Thank you
In the tempate. (Error)
Code: Select all
{eval var={content_module module=CGContentUtils block="Code_Top" name='Code_Top' tab="Page Code" groups='admin' }}
{$content}
{eval var={content_module module=CGContentUtils block="Code_Bottom" name='Code_Bottom' tab="Page Code" groups='admin'}}
In the tempate. (No Error but not all smarty stuff works.)
Code: Select all
{content_module module=CGContentUtils block="Code_Top"}
{$content}
{content_module module=CGContentUtils block="Code_Bottom"}
Code: Select all
Warning: count(): Parameter must be an array or an object that implements Countable in /home/backdrop/public_html/tmp/templates_c/CMSContentManager^28d3fefc35b1733c24f2fa8d1daa3c2deacb5954_1.module_file_tpl.CMSContentManager;admin_editcontent.tpl.php on line 324


