Hi
I am trying to use tabs in a plugin widgit, but they just result in a blank page. If I change setTabs to setLinks it works fine.
No errors, although I can't seem to turn on error reporting in Blesta (any pointers on that?)
Am I doing something wrong or are tabs not allowed in the Client portal?
Here is the code:
$tabs = array(
array('name'=>"Preferences", 'current'=>true, 'attributes'=>array('href'=>$this->base_uri . "widget/test/client_main/prefs/")),
array('name'=>"Calls", 'attributes'=>array('href'=>$this->base_uri . "widget/test/client_main/calls/")),
array('name'=>"Voicemail", 'attributes'=>array('href'=>$this->base_uri . "widget/test/client_main/voicemail/")),
array('name'=>"Call Barring", 'attributes'=>array('href'=>$this->base_uri . "widget/test/client_main/barring/")),
array('name'=>"Call Forward", 'attributes'=>array('href'=>$this->base_uri . "widget/test/client_main/forwards/")),
array('name'=>"Reminder", 'attributes'=>array('href'=>$this->base_uri . "widget/test/client_main/reminder/"))
);
$this->WidgetClient->clear();
$this->WidgetClient->setTabs($tabs);
$this->WidgetClient->create("Voice Settings", true);
?>
<div class="pad">
<div class="table_sec">
<div class="inner">
<div class="empty_section">
<div class="empty_box">
Hello
</div>
</div>
</div>
</div>
</div>
<?php
$this->WidgetClient->end();
Thanks
-Barry