I have been struggeling with this issue.
In admin/structure/quicktabs/manage/most_visited_topics/export I tried to export my quicktabs following the help text "Place this code in your module's implementation of hook_quicktabs_default_quicktabs() to provide it as a default quicktab."
So this is what I did
/**
* Implements hook_quicktabs_default_quicktabs().
*/
function mymodule_quicktabs_default_quicktabs() {
$items = array();
...// the exported quicktabs
return $items;
}
But the quicktab did not appear. Finally I discovered this post.
So I also implemented
/**
* Implements hook_ctools_plugin_api().
*/
function mymodule_ctools_plugin_api($module, $api) {
if ($module == 'quicktabs' && $api == 'quicktabs') {
return array(
'version' => '1',
'path' => drupal_get_path('module', 'mymodule') . '/exports'
);
}
}
This solved my problem.
So please extend the help text to refer also to hook_ctools_plugin_api() - or refer to http://drupal.org/node/1371626#comment-5372432
Comments
Comment #1
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.
If still an issue or needed for 4.0.x (latest branch) feel free to reopen