Hi, I am working on a site that relies heavily on Panel pages, and your module does not work because you are adding critical javascript and css in the hook.
If someone is using Panels to load node types, your preprocess_node hooks are not invoked. So the accordion or tabs are not created when you visit the Panel page because no js or css ever acts on these elements.
I ended up having to create a custom module that invokes your modules js and css with hooks_init() like this :
function XXX_hooks_init() {
// Add the wysiwyg_tools_plus js and css
drupal_add_js(drupal_get_path('module', 'wysiwyg_tools_plus') . '/js/tab_builder.js');
drupal_add_css(drupal_get_path('module', 'wysiwyg_tools_plus') . '/css/wysiwyg_tools_plus.css');
}
So as a feature, I suppose I am requesting that you please get this module to work a little better with Panels / Panel pages. Thanks
Comments
Comment #0.0
federicoc commentedadding feature request.
Comment #1
pradeep22saini commentedUpdating patch with hook_init
Comment #2
pradeep22saini commented