cheesypeas Posted October 26, 2011 Posted October 26, 2011 I have a single database driving a store across two domains with different layouts. The problem arises when I want to display left and right hand MODULE_BOXES with different placement and sort orders since they are stored in the database. I figured out how to override the database query by changing the following lines in the bm_information.php for example. I can display boxes which were previously deactivated and select either the left hand or right hand column: function bm_information() { $this->title = MODULE_BOXES_INFORMATION_TITLE; $this->description = MODULE_BOXES_INFORMATION_DESCRIPTION; if ( defined('MODULE_BOXES_INFORMATION_STATUS') ) { $this->sort_order = MODULE_BOXES_INFORMATION_SORT_ORDER; $this->enabled = 'True'; $this->group = 'boxes_column_right'; } } However I can not override the sort order, I thought by changing MODULE_BOXES_INFORMATION_SORT_ORDER to a number that might do it, but unfortunately it did not. Can anyone help me hardcode the sort order so that I can have more freedom regarding placement on a multi-domain, single database driven store?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.