View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
2443 | Composr | core | public | 2016-04-20 23:13 | 2016-07-20 23:59 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Priority | normal | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Summary | 2443: Universal block_id parameter support | ||||
Description | Make all blocks pass in the BLOCK_ID parameter to their templates. It's as simple as adding: 'BLOCK_ID' => get_block_id($map), to the template call The screen previews would need to include this too. This functionality allows us to display blocks differently in different places without using hacks to do it. You'd just set the block_id parameter for that block. The do_block_get_cache_identifier function would need editing to automatically inject the block ID into the cache signatures. No language strings need adding, and the list of parameters don't need changing - as block_id is already coded up as a standardised parameter. Actually it would be good to create a unit test to guarantee our standard parameter names are NOT defined in any block's lists of parameters, or in any language strings, or in the cache signature. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | 1.5 | ||||
Sponsorship open | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-20 23:13 | Chris Graham | New Issue | |
2016-04-20 23:16 | Chris Graham | Status | Not Assigned => Resolved |
2016-04-20 23:16 | Chris Graham | Resolution | open => fixed |
2016-04-20 23:16 | Chris Graham | Assigned To | => Chris Graham |
2016-04-20 23:17 | Chris Graham | Assigned To | Chris Graham => |
2016-04-20 23:17 | Chris Graham | Status | Resolved => @20@ |
2016-04-20 23:17 | Chris Graham | Resolution | fixed => reopened |
2016-04-20 23:17 | Chris Graham | Status | @20@ => Not Assigned |
2016-04-20 23:17 | Chris Graham | Resolution | reopened => open |
2016-07-20 23:58 | Chris Graham | Status | Not Assigned => Resolved |
2016-07-20 23:58 | Chris Graham | Resolution | open => fixed |
2016-07-20 23:58 | Chris Graham | Assigned To | => Chris Graham |