Closed (fixed)
Project:
Build mode tabs
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2011 at 12:13 UTC
Updated:
2 Jan 2012 at 18:00 UTC
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
Comment #1
andyf commentedHi, thanks for the report. There were two separate issues here:
nd_display_settings_CONTENTTYPEis 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
Comment #2
graceman9 commentedIt works! %)