WordPress.org

Ready to get started?Download WordPress

Forums

WP Admin UI Customize
[resolved] Admin Bar Menu - Unable to save changes (14 posts)

  1. SBLMedia
    Member
    Posted 1 year ago #

    Hi

    This plugin is working great for customising the menus available in the admin panels. The only thing that is not working for me is the Admin Bar Menu, I can make changes but when I press Save nothing happens.

    I want to remove most of the menu options on this top bar.

    I am using WP 3.5.1

    Many thanks for your help!
    Sooz

    http://wordpress.org/extend/plugins/wp-admin-ui-customize/

  2. gqevu6bsiz
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Sooz,

    Thank you for your inquiry.

    I have tried the working of the Admin Bar Menu.

    However, Plugin to worked.
    Would you try again to stop all the other plugins?

    If you have any questions, please feel free to ask.

    Regards,

    gqevu6bsiz

  3. SBLMedia
    Member
    Posted 1 year ago #

    Thank you for coming back to me so quickly.

    I will duplicate the site on my testing server and see if I can find the plugin that causing the issue. If I find out which one I will post again to let you know.

    Thanks again, I appreciate your support.

  4. tmfrltd
    Member
    Posted 1 year ago #

    This is an actual code issue. I've isolated it to here -

    <form id="wauc_setting_admin_bar_menu" class="wauc_form" action="" method="post"> … </form>
    <div id="can_menus" class="metabox-holder columns-1"> … </div>
    <p class="submit"><input class="button-primary" type="submit" value="Save" name="update"></input></p>
    <p class="submit reset"> … </p></div>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    This issues comes from the submit and reset buttons not existing within the form. i'm working on isolating which file has the code that generates this. This issue isn't resolved yet.

    - richard

  5. tmfrltd
    Member
    Posted 1 year ago #

    gqevu6bsiz,

    I've tracked what seems to be the likely source for the code -
    setting_admin_bar_menu.php

    However, the file I'm looking at doesn't have the submit button outside the form. Why would it render the page with the submit button outside the form?

    Also, in your setting_admin_general.php file, at -
    <form id="wauc_setting_admin_genelral" class="wauc_form" method="post" action="">
    you have general misspelled. In my version I corrected that issue.

    Can you assist me to figure out why the browser renders the submit button after the </form> for that page? The URL call is -

    /wp-admin/admin.php?page=wp_admin_ui_customize_admin_bar

  6. gqevu6bsiz
    Member
    Plugin Author

    Posted 1 year ago #

    Hi richard,

    Thank you for inquiry.

    you have general misspelled.

    I confirmed to misspelling of admin_general.
    I would like to fix in the next version.
    Thank you for letting me know.

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    I'm sorry, I didn't understand.
    What this means of post code and markup between backticks and permanently damaged and forum's parser.

    This also didn't understand.

    submit button outside the form

    Form looks like this simply of 'admin_bar'.

    <form id="wauc_setting_admin_bar_menu" class="wauc_form" method="post" action="">
    <div id="right_menus"> ... </div>
    <div id="left_menus"> ... </div>
    <div id="can_menus" class="metabox-holder columns-1"> ... </div>
    <p class="submit"> ... </p>
    <p class="submit reset"> ... </p>
    </form>

    If you have any questions, please feel free to ask.

    Regards,

    gqevu6bsiz

  7. tmfrltd
    Member
    Posted 1 year ago #

    I'm sorry, I forgot to click "code" to make sure the code I included would show in the message. I will show the issue here -

    The browser HTML code for setting_admin_bar_menu.php shows differently than the actual code in setting_admin_bar_menu.php. I know that both setting_admin_bar_menu.php and wp-admin-ui-customize.php make the webpage at this URL:

    wp-admin/admin.php?page=wp_admin_ui_customize_admin_bar

    the code in browser is:

    </form>
    <p class="submit">
    			<input type="submit" class="button-primary" name="update" value="Save" />
    		</p>
    
    		<p class="submit reset">
    			<span class="description">Reset all settings?</span>
    			<input type="submit" class="button-secondary" name="reset" value="Reset" />
    		</p>

    in Google chrome when right clicking "save" button, then choosing inspect element. the browser shows the save button outside of the form, which would be why the save button doesn't work for this page. I'm not sure why this happens, because I looked at the code for the other files -

    list_variables.php, reset_userrole.php, setting_admin_bar_menu.php, setting_admin_general.php, setting_appearance_menus.php, setting_dashboard.php, setting_default.php, setting_loginscreen.php, setting_post_add_edit.php, setting_removemtabox.php, setting_sidemenu.php, setting_site.php

    All files with "save" and "reset" have same code for buttons inside </form>. The only page that "save" and "reset" do not work is setting_admin_bar_menu.php If we can find why browser puts "save" and "reset" code outside <form> </form> on that page, we can fix issue mentioned above.

    Do you understand the problem?

  8. gqevu6bsiz
    Member
    Plugin Author

    Posted 1 year ago #

    Hi richard,

    I understand maybe that you are saying you.

    Now, I tried to browser.
    WordPress 3.5.2 with Windows Vista.

    • Google Chrome 28.0.1500.72 m
    • IE 9
    • Firefox 22
    • Safari 5.1.7
    • Opera 12.16

    I have worked of all.
    I attached my browser code of Google chrome.
    setting_admin_bar Browser code

    I want to solve your problem.
    But, I don't understand why the problem would happen.
    If you don't mind, Would you send your browser code to me?

    My English is poor. I'm sorry, if my reply wrong.

    If you have any questions, please feel free to ask.

    Regards,

    gqevu6bsiz

  9. gqevu6bsiz
    Member
    Plugin Author

    Posted 1 year ago #

    Hi richard,

    Do you use the Jetpack?
    In that case, Please try deactive of Jetpack.

    If you have any questions, please feel free to ask.

    Regards,

    gqevu6bsiz

  10. Kash
    Member
    Posted 1 year ago #

    Great gqevu6bsiz,

    I had the same problem.

    I have deactivate jetpack and now I can save the changes...

    But what if I want to reactivate the jetpack.

    Thanks for you great plugin.

    ciao

  11. gqevu6bsiz
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Kash,

    Thank you for letting me know the problem.

    This problem is when form is present in the admin bar.
    I am already resolved this issue.
    However, I have not yet updated.

    I am going to add one function, currently.
    And, I am going to checking to compatible on WordPress 3.6.

    I will update when these done.
    I'm sorry, Please wait a few days.

    Please let me know if you find some bugs in the other.

    Regards,

    gqevu6bsiz

  12. gqevu6bsiz
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I have updated of WP Admin UI Customize on today.
    I think so maybe Admin bar settings is to work.

    Please let me know if there is bug.

    Regards,

    gqevu6bsiz

  13. Kash
    Member
    Posted 1 year ago #

    Hi gqevu6bsiz,

    Thank you so much.

    It is working very well now also with jetpack activated...

    thanks.
    Kash

  14. gqevu6bsiz
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Kash,

    Thank you for working report.
    Glad to hear that.

    Please contact me if there is anything.

    Regards,
    gqevu6bsiz

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags