HomePage Forums Traveler Menus to hide in Dashboard

Topic Resolution: Resolved

This topic contains 6 replies, has 2 voices, and was last updated by  Bryan 3 years, 6 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #22919

    Hi,

    Is it possible to hide some fiels in dashboard only for partner ?

    For example, menus in Red rectangle in screenshot.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #22959

    Hello

    There are have only one way is remove item from specific page with ID. For example:

    .page-id-7453 .bg-partner-new .page-sidebar .page-sidebar-menu>.item-booking-history,
    .page-id-7453 .bg-partner-new .page-sidebar .page-sidebar-menu>.item-wishlist,
    .page-id-7453 .bg-partner-new .page-sidebar .page-sidebar-menu>.item-inbox {display: none !important;}

    You can change your partner dashboard ID to the code.

    Thanks

    #23025

    Ok do you mean I have to do it for each partner ?

    Where can I find the page id of each partner dasboard page ?

    Thanks

    #23026

    OK I tested it and it works for every user : partner and traveler.

    How can I hide menus ONLY for partner dashboard ?

    Attachments:
    You must be logged in to view attached files.
    #23056

    Hello

    Yes you can use for each partner page.

    The code only apply for the page that have page ID in the code. It is not possible to run in other page.

    Thanks

    #23116

    Ok but with your code it hides buttons for different users.

    I logged in using partner and traveller account and it was hiden for both.

    You can try using accounts :

    sam (partner)
    123456

    marie (traveler)
    123456

    I need to have buttons hidden only for partners.

    Can you help ?

    Thanks

    #23138

    Oh sorry, the page user setting apply for all user type so it have same page ID.

    Temporary, there are does not have special class for separate normal user and partner so the code can not work.

    Thank for your understanding.

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘Traveler’ is closed to new topics and replies.