• Resolved makr

    (@makr)


    Can anybody explain how to put a link for a thickbox in the sidebar? I’m geussing I’ve got to put some HTML in a text field, but what do I have to put in it?

    thanks in advance,

    Maybe usefull to tell what i would like to put in the thickbox.

    I have a page with a cformII on it, which I would like to put in it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Max Chirkov

    (@maxchirkov)

    If I remember correctly, CForm’s code is not being recognized within the text widgets, because it’s not a standard shortcode. If you can get around that, simply use the shortcode creator for the thickbox in the page editor panel – it will paste the code into your page. Then copy that code and paste it into your sidebar.

    Thread Starter makr

    (@makr)

    oke so after your reply i made a page with the CForm in it, and used the shortcode creator make a shortcode which should call up the page. I pasted that shortcode in to a text widget. But somehow wp is not recognizing the shortcode(and is showing just plain code). Do you have any idea why?

    Thread Starter makr

    (@makr)

    I figured out how to make the shorcode active I didn’t have
    add_filter(‘widget_text’, ‘do_shortcode’);

    in my function.php

    Plugin Author Max Chirkov

    (@maxchirkov)

    Could you please post the code that you’re pasting into the text widget?

    Thread Starter makr

    (@makr)

    [thkBC id=”147″ height=”500″ width=”500″ anchortext=”Link Anchor Text” title=”ThickBox Title” type=”iframe”]

    Plugin Author Max Chirkov

    (@maxchirkov)

    That’s a wrong shortcode. If I understood you correctly the first time, you’re trying to open a form in a thickbox. So the form would be printed on the same page and not in the iframe. When you generating a shortcode, you should select inline type instead of iframe. Also, enter an ID for the hidden DIV where your form will be hidden.

    So the code should look like this:

    [thkBC height="300" width="500" anchortext="Link Anchor Text" title="ThickBox Title" type="inline" inline_id="my_custom_form"]
    <div id="my_custom_form"> The CForm Goes Here </div>
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: ThickBox Content] who can you put a thickbox in a sidebar?’ is closed to new replies.