Forums
Hello Opigno,
With the latest Opigno, 1.16, was added a new functionality : In house training app.
We have added a few pages to our Opigno, and those pages are displayed by another theme. Unfortunately, the house training app adds tabs on each page of the new template. those tabs are called "Score in house lesson" and can be found beside the "View" and "Edit" tabs.
How can we get rid of those tabs (no special id or class, by the way).
Thanks
Hi PC,
Hi PC,
You can remove all the new left blocks (lessons, webex and in house lessons) by going in the theme settings, and unchecking the new interface option. In you only want to remove some of them, look in the template.php file.
Best regards
Hi PC,
Hi PC,
When you say "We have added a few pages to our Opigno, and those pages are displayed by another theme." is it a custom theme you did?
Could you post a screenshot?
Best regards,
In reply to Hi PC, by axel
tabs not blocks
Hi Pc,
Hi Pc,
You have 2 options,
Inside the opigno_webex_app and opigno_in_house_training_app module files (.module) you have a hook_menu function.
There, you can change the type from MENU_LOCAL_TASK to MENU_CALLBACK.
Or, you can edit the function that is beeing called as the access callback. Inside that function you start by checking the content type. If it is not the corresponding content type return false.
I will create an issue for this and we will change this on out next release.
Best regards
Perfect, thanks
https://www.drupal.org/node
https://www.drupal.org/node/2364129