WordPress.org

Support

Support » Plugins and Hacks » [Resolved] feature publish button

[Resolved] feature publish button

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Marko Heijnen

    @markoheijnen

    I don’t get it. The publish box is on every page. Unless you hook into the filter ‘tabify_default_metaboxes’. Then the button can be an issue indeed.

    Till now support for amount of columns is not going to happen in the main plugin.

    i want to only display the publish box on the first tab and on the rest of the tabs i want to use the full width for the meta boxes. when i hide the publish box on the rest of the tabs i want quick access to the publish / save button, so if there was a save/ publish button just above the tabs this would be handy,( i might be able to create a js to make a custom save button, with have to look into this. )

    Plugin Author Marko Heijnen

    @markoheijnen

    first one is easy to do with the filter.

    Be able to switch between columns can be tricky. Never tested it well enough but I had problems with other use cases that WordPress saves the last state of amount of columns.

    Having the save/publish button is a nice thing to have. I did put it on my list for the next release

    would is be possible to have different layout on each tab , or you could use css just to make the tabs full width (hack)

    Plugin Author Marko Heijnen

    @markoheijnen

    I guess you can hack into WordPres code when you change the amount of columns in Screen options

    Plugin Author Marko Heijnen

    @markoheijnen

    that is about adding more. That isn’t something this plugin will ever going to do. Will see if it is something I can integrate in the main plugin or it will result in a new “addon” plugin

    i know but you could use the function to style the tab layout by modifying css to hide sidebar using css.

    Plugin Author Marko Heijnen

    @markoheijnen

    You don’t need CSS or something. Tabs are the same but the layout of metaboxes not.
    Just use the javascript code that WordPress already has to modify the amount of columns

    hi am using http://wordpress.org/extend/plugins/custom-field-suite/ to create meta boxes but i can not seem to move the meta boxes from the last tab to a different tab any suggestion on how i can move it to another tab. thanks

    Plugin Author Marko Heijnen

    @markoheijnen

    You do see the meta boxes in the settings screen?

    no

    what you can do is install the plugin and import my meta box, the plugin has a feature to import. metabox below

    {“17114”:{“post_title”:”Book”,”post_name”:”book-fields”,”cfs_fields”:[{“id”:”14″,”name”:”volume”,”label”:”Volume”,”type”:”loop”,”notes”:””,”parent_id”:0,”weight”:0,”options”:{“row_display”:”0″,”row_label”:”{volume_title}”,”button_label”:”Add Volume”}},{“id”:”15″,”name”:”volume_title”,”label”:”Volume Title”,”type”:”text”,”notes”:””,”parent_id”:14,”weight”:1,”options”:{“default_value”:””,”required”:”0″}},{“id”:”16″,”name”:”chapter”,”label”:”Chapter”,”type”:”loop”,”notes”:””,”parent_id”:14,”weight”:2,”options”:{“row_display”:”0″,”row_label”:”{chapter_title}”,”button_label”:”Add Chapter”}},{“id”:”17″,”name”:”chapter_title”,”label”:”Chapter Title”,”type”:”text”,”notes”:””,”parent_id”:16,”weight”:3,”options”:{“default_value”:””,”required”:”0″}},{“id”:”18″,”name”:”chapter_content”,”label”:”Chapter Content”,”type”:”wysiwyg”,”notes”:””,”parent_id”:16,”weight”:4,”options”:{“formatting”:”default”}}],”cfs_rules”:{“post_types”:{“operator”:”==”,”values”:[“post”,”book”]}},”cfs_extras”:{“hide_editor”:”0″}}}

    Plugin Author Marko Heijnen

    @markoheijnen

    That means the plugins sucks ;). Just kidding. In my opinion they don’t use the correct way of adding the meta boxes. They check on what page it is and then load the stuff. They rather should always use the add_meta_boxes hook to load the meta boxes

    any suggestion on how to get it to work with your plugin

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Resolved] feature publish button’ is closed to new replies.