• Resolved inwardbound

    (@inwardbound)


    Shadowbox was making all Cufon replaced text vanish when launched.

    I discovered a fix from the shadowbox-js forums:
    https://shadowbox-js.com/forum.html#nabble-td4849859

    I am Rob in this forum thread, my post dated Nov 9, 2010.

    To summarize, in shadowbox-js/inc/frontend.php, I added the following on a new line after the skipSetup element:

    $init_ops .= ' troubleElements: [""],' . "\n";

    This completely resolved my issue. Just thought others may like to know, as i didnt see this posted elsewhere.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Matt Martz

    (@sivel)

    I will add support to the next version of the shadowbox js plugin to allow customization of troubleElements. The next version would have allowed you to add this without modifying the plugin by use of a filter, but I might as well add it in to the advanced configuration area.

    I’m not sure where this is but I’ve downloaded the latest version and it doesn’t have that selection in the advanced config. I see that the init area in the frontend.php has been re-written. Not sure where to put the init_ops var. Any help help would be greatly appreciated!!!

    Thanks!

    Plugin Author Matt Martz

    (@sivel)

    The current version does not provide that option in the advanced config section. You will need to write another plugin that will filter ‘shadowbox_conf’ to add in the additional option.

    The $init_opts section of the code was completely rewritten to allow you to hook in and add whatever you need in there.

    Gotcha! Much appreciated!

    canvas {
    	visibility: visible !important;
    }

    This did the trick for me and I’m using the All-In-One Cufón v1.1.1. and Shadowbox v3.0.3.8 plugins.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Shadowbox JS] Shadowbox-js plugin causes Cufon plugin replaced text to disappear’ is closed to new replies.