• Resolved krama757

    (@krama757)


    Hey Inapan,

    Been figuring out a lot about the quick post plugin but I’m still stuck on a few things.

    1. Where do you initialize tinyMCE?
    I wanted to customize the initialization so that I could include and exclude buttons in the visual editor tinyMCE.

    2. Where do you class the date picker?
    I love how the date picker shows up when I click on the post-date text box. But I also want it to show up with some other text boxes. Where is the call to open the date picker when a user clicks on a textbox?

    These should be very quick questions to answer. Hope I am not bothering ya 🙂

    http://wordpress.org/extend/plugins/quick-post-widget/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter krama757

    (@krama757)

    Sorry..in the previous post…”Where do you class the date picker” should be “Where do you call* the date picker?”

    Plugin Author inapan

    (@inapan)

    The TinyMCE editor is initialized in the qpw.js javascript

    The information however which buttons to include or exclude and which editor plugins to load, is configured in some hidden fields in the quick-post-widget.php file (line 1052 for plugins and lines 1053 and 1054 for buttons).

    The datetimepicker for the post-date has an id (quick_post_date). The function to open the datetimepicker is on line 38 of the qpw.js file.

    I don’t know whether you need a datepicker with or without time component. If you need a datetimepicker you can just copy the function on line 38 of the qpw.js file and configure it for another field.

    If you only need a datepicker I think it is possible to just call the datepicker. Perhaps we’ll have to work that out.

    Hope this helps.

    inapan

    Thread Starter krama757

    (@krama757)

    Thanks a bunch inapan. As always your help is appreciated.

    Plugin Author inapan

    (@inapan)

    You’re welcome!

    inapan

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Quick Post Widget] Custom tinyMCE and custom DatePicker usage’ is closed to new replies.