The admin and user navigation blocks are defined in block/data/data.default.my.sql (see below).
The insert statements for the block_assignment and block_role seem to be wrong, although it seem to work. The first field in both those tables is block_id which is an FK to the block table. I would assume that the code for say block_role should be:
{{{
-- admin menu
SELECT @blockIdAdmin := block_id FROM block WHERE title = 'Admin menu';
INSERT INTO block_role VALUES (@blockIdAdmin, 1);
}}}
Thanks for patch, applied in bugfix. Patch was invalid, btw, please create all patches from Seagull root (or at least modules dir) - it's a PITA to have to paste changes in line-by-line
The admin and user navigation blocks are defined in block/data/data.default.my.sql (see below).
The insert statements for the block_assignment and block_role seem to be wrong, although it seem to work. The first field in both those tables is block_id which is an FK to the block table. I would assume that the code for say block_role should be:
{{{ -- admin menu SELECT @blockIdAdmin := block_id FROM block WHERE title = 'Admin menu'; INSERT INTO
block_role
VALUES (@blockIdAdmin, 1); }}}