Closed (fixed)
Project:
Cookie Based Blocks
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
26 Nov 2017 at 12:13 UTC
Updated:
11 Dec 2017 at 09:09 UTC
Jump to comment: Most recent
Currently colorbox is called if available but nothing else.
if ($.colorbox) {
$.colorbox({html: $block.html()});
}
How should the block become visible?
We can require the theme to have a public function ie cbb_callback but that would limit the block visibility to appear in one way. It would be better to have this on a block specific configuration.
Comments
Comment #2
clemens.tolboomComment #3
clemens.tolboomUsing jQuery.hide() then jQuery.show() on the block it was a little flickery.
So I added cbb.css to hide all blocks by default then show when needed. I tested this on system main block which delayed the content display a little.
Comment #5
clemens.tolboomI close this and wait for bug reports.