#5941 - Restore Comcode block categories
0 guests and 0 members have recently viewed this.
The top 3 point earners from 30th Nov 2025 to 7th Dec 2025.
| Gabri |
|
|
|---|---|---|
| PDStig |
|
|
| Adam Edington |
|
|
There are no events at this time
block_helper_script was trying to use an optimised way of detecting to which addons each block belongs. But this didn't work for 80% of the blocks.
This hotfix fixes the following issues:
- Use actual hook object method get_file_list instead of trying to parse the code and cms_eval it (but unset them after we're done to save on memory)
- Wrong character length was used for sources_custom/blocks/ (should have been 22, not 21, so custom blocks were not getting categorised)
- Don't exclude blocks with the name 'block' in them; no idea why we were excluding these and dumping them into main blocks misc, but it caused the forum blocks to get put there when really forum blocks should be under their own "Forum blocks" section.