I have a specific question, I did build a component with tabs in concrete5 v8 with this tutorial:
Creating tabbed panels in concrete5
It worked just fine, as long as I was logged in into concrete5, as soon as I am not logged in I get the following error in the console, and therefor I'm not able to click on the different tabs:
Uncaught ReferenceError: ccm_activateTabBar is not defined at HTMLDocument. (entsorgung-von-abfaellen:84) at j (jquery.js:2) at Object.fireWith [as resolveWith] (jquery.js:2) at Function.ready (jquery.js:2) at HTMLDocument.J (jquery.js:2)
The error references to this part of the line 84:
<script type="text/javascript">$(function() { ccm_activateTabBar($('#ccm-tabs-1077221103'));});</script>
which follows directly after the ul element and seems to got generated by concrete5.
I was not able to find anything related at all, I guess it has something to do with missing assets that are only loaded when logged in as administrator.
I'm currently only loading the following assets when not logged in:
$u = new User();
if(!$u->isLoggedIn()) {
$this->requireAsset('javascript', 'jquery');
$this->requireAsset('jquery/ui');
}
Maybe someone already worked with the concrete5 tabs and can help me with this error.