unwanted tabs

PC
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
James Aparicio

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

axel

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,

PC

tabs not blocks

Hello, here is the image http://hpics.li/6b1e5b3 As you see, it should not be here, and i don't know why but there are two tabs, one was already here before the app was activated the other one appeared after the app activation.
James Aparicio

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

 

PC

Perfect, thanks

Perfect, thanks