Closed (outdated)
Project:
Quick Tabs
Version:
7.x-3.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2012 at 08:18 UTC
Updated:
16 Dec 2024 at 23:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
netw3rker commentedThis might be a better feature request. Instead of automatically creating a QT-Block, allow for an option to make it a block. This will keep the list much smaller. There are also a bunch of issues surrounding machinenames that are longer than the block delta field. that should maybe be rolled into this too
Comment #2
vbouchetIf you really don't need any quicktabs block, you can very easily hide it via the hook_block_info_alter() and unset($blocks['quicktabs']);
It's probably only a workaround as it may be more complex to filter if you want to have some quicktabs blocks and hide some other. Please find a patch which add a check box in quicktabs creation/edit form, store the result in the option column (serialized array) and finally filter quicktabs blocks on the block admin page. I also introduced a hook_update to set a value in the option column for all existing quicktabs.
Regarding the machine name longer than the block delta field, it's currently using the machine_name option so even a very long title is trimmed to fit into the delta field.
Edit: After few more tests, I can see a potential issue with the patch if a quicktabs block is placed in a region, then the quicktab is edited to not create the related block. The block is not listed anymore in the block admin page but the related block remains in the database and configured. What would be the best solution? Disable the check box when the block is placed in a region? Delete the block when the check box is unchecked ?
Comment #3
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.
If still an issue or needed for 4.0.x (latest branch) feel free to reopen