12 Comments

  1. André

    Great idea, I’ll give it a try with my next project, maybe in combination with my font awesome glyph inserter. Gretings from germany!

    Reply
  2. Alessandro

    Yeah, that’s a nifty solution for custom content modules, it would be great if you could share a sample of how to create such TinyMCE plugin, do you plan to update your plugs for the upcoming integration of TinyMCE 4.0 in WP?

    Reply
    • David

      basically it’s the same/similar code with my wp-editor.com project:
      http://wp-editor.com/

      about tinymce 4, i haven’t test that,
      I still got several clients project, and some other project i need to do.
      i’ll do some testing in the near future.

      Reply
      • Alessandro

        would you kindly share the restaurants code as a sample, or a snippet on how to insert an add image button in the content area ?

        about migration to TinyMCE 4.0, on it’s official site they say some old plugins will work out of the box, other will need ‘compat3x’ plugin.

        it seems that wordpress will include ‘compat3x’ by default http://make.wordpress.org/core/2014/01/18/tinymce-4-0-is-in-core/

        there’s a chance the plugins will work with WP 3.9 untouched

        Reply
        • Alessandro

          Tested with WP 3.9 beta1 and unhopefully WPE columns doesn’t work and breaks tinymce completelly.

          The error is “ed.onEvent.add is undefined”

          I’ve verified that compat3x plugin is there, and yes, it has already been merged but not solving back-compatibility issues in this case.

          Do you have plans to release WP 3.9 compatible versions before it cames out?

          Reply
          • David

            yes there’s several things need to be changed in my plugin.

            I’ve read he migration docs from tinymce:
            http://www.tinymce.com/wiki.php/Tutorial:Migration_guide_from_3.x

            Still not sure how to do it all :)
            it’s a big big update of tinymce.

          • David

            i just updated the plugins for wp 3.9.
            you can get the update from your admin.
            let me know if you experience problem :)

  3. André

    I now have played around with your plugin for a few days. One thing that you probably could improve is the responsiveness of your columns. It would be nice, if they float on smaller devices.

    Reply
    • David

      i actually want to add that, and decide that i’ll leave the responsiveness to theme author/developer using the plugins.

      not all theme are responsive. and not all theme have the same media queries breakpoints. to do a proper calculation on how the column would work in responsive design, we need to check it with content width, font size (and font family), etc.

      it’s actually very easy do add something like this.

      Reply
      • André

        … in that case you probably should offer some action hooks to add user classes to the generated columns, plus the ability to get rid of the plugins frontend styling ;-) That’s how I have done it while playing around.

        Reply
        • David

          user classes is not an option. it’s going to be a support headache/or something developer would call “dependency hell”.

          if a devs/user filter the html/element classes, it’s going to be a problem when i update the plugin, etc. btw javascript in wp (which these plugins uses heavily) is not as flexible as php (at least in my current skills)

          i think the classes provided is already flexible enough.

          and you can remove the styling on the front end and even the back end (editor style).

          check out the docs section:
          http://wp-editor.com/docs/

          you can do something like this:

          add_filter("wpe_addon_columns_load_front_css","__return_false");
          add_filter("wpe_addon_columns_load_editor_css","__return_false");
          
          Reply

  4. Nice idea, here’s one like what you’re proposing:

    http://purepress.dream-demo.com/features/1119-2/

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>