When I try to enable it I recive some errors:

warning: uasort() expects parameter 1 to be array, null given in sites/all/modules/bmtabs/bmtabs.module on line 226.
warning: key() expects parameter 1 to be array, null given in sites/all/modules/bmtabs/bmtabs.module on line 44.
warning: Invalid argument supplied for foreach() in sites/all/modules/bmtabs/bmtabs.module on line 47.

...and I can add and configure 'build mode', but I cann't see tab on node page!

It is great idea of module!

Comments

andyf’s picture

Status: Active » Fixed

Hi, thanks for the report. There were two separate issues here:

  • The warnings only show when there are no custom build modes, that's now fixed.
  • The reason the build mode tabs weren't showing is because the variable nd_display_settings_CONTENTTYPE is no longer used (it seems - I presume it was making the variable table large). I was using this to disable tabs for build modes that didn't have any custom layout defined (under Site building -> Display suite -> Layout -> CONTENT TYPE -> BUILD MODE). I've now removed that check (I don't want to slow down the access function by adding a DB query) which means you'll have to use the build mode config screen to ensure that only the appropriate build modes have tabs displayed.

I've checked this on a fresh install and it works for me: please let me know if you still have any problems.

Andy

graceman9’s picture

It works! %)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.