wbTeamPro Feature Request & Bug Tracker - wbTeamPro
View Issue Details
0010316wbTeamPro[All Projects] Bugspublic2017-01-30 09:312015-01-25 00:00
a104 
webuddha 
normalminoralways
Resolvedfixed 
v3.0.20 
v3.0.21 
0010316: Hook: client_onBeforeRender_ProjectEditTabs issues
Hello,

When implementing the hook client_onBeforeRender_ProjectEditTabs in the plugin, when passing the array like in admin_onBeforeRender_ProjectEditTabs, rather than rendering the proper tab with label/link we get Array as the tab label and wrong link.

eg:
$data['pageTabs']['tab_id'] = array(
  'task' => 'blank',
  'link' => 'wbteampro.php?task=blank&project_id=' . $project_id . '&plugin=page',
  'label' => "My label",
);

This code works fine in admin but not in the client hook.

You can view the screenshot for more details.

Thanks
No tags attached.
jpg sc.jpg (30,195) 2013-12-16 09:06
https://tracker.holodyn.com/file_download.php?file_id=22&type=bug
jpg
Issue History
2013-12-16 09:06a104New Issue
2013-12-16 09:06a104
2013-12-16 09:06a104File Added: sc.jpg
2013-12-17 11:28webuddhaNote Added: 0010069
2013-12-17 11:28webuddhaStatusNew => Resolved
2013-12-17 11:28webuddhaApplied to Version => v3.0.21
2013-12-17 11:28webuddhaResolutionopen => fixed
2013-12-17 11:28webuddhaAssigned To => webuddha

Notes
(0010069)
webuddha   
2013-12-17 11:28   
The client area was not properly receiving the array of task options, instead assuming the array as a string.