Forums

Shadowbox JS
[resolved] Shadowbox-js plugin causes Cufon plugin replaced text to disappear (6 posts)

  1. inwardbound
    Member
    Posted 1 year ago #

    Shadowbox was making all Cufon replaced text vanish when launched.

    I discovered a fix from the shadowbox-js forums:
    http://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.

  2. Matt Martz
    Member
    Posted 1 year ago #

    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.

  3. lance1572
    Member
    Posted 12 months ago #

    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!

  4. Matt Martz
    Member
    Posted 12 months ago #

    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.

  5. lance1572
    Member
    Posted 11 months ago #

    Gotcha! Much appreciated!

  6. anemo
    Member
    Posted 8 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic