Okay
  Public Ticket #3148622
Employee Front End Panel - Restrict ability to edit locations
Closed

Comments

  •  3
    Temper started the conversation

    Hello,

    Thank you for the Employee front end panel. Its fantastic. However, I cant seems to find a setting to restrict the employee having the ability to edit their profile. I was almost certain this existed in the last version of amelia. I especially do not want them updating their locations or email address (within their profile)

    Thank you in advance.


    ***if all public support tickets were created by the community with more accurate Ticket subject lines then it would be a greater resource for everybody. Subject lines such as "functionlity', 'Amelia' and 'Customers' to name a few are pointless. ***

  •  3
    Temper replied

    Hello again, Just a quick follow up. I have realised that it is in the gutenburg block for the amelia employeee panel that i can decide to show Appointments, Events, and Profile. However, even when i switch profile to off it still shows for the employee - allowing him/her to edit his/her location, email address etc.

  •  1,855
    Miloš replied

    Hi, Temper

    Thanks for reaching out to us

    -

    We don't have a built in option for this at this time.

    But i can offer custom CSS for you,  and you can completely hide the "profile " section from employees.

    .am-cabinet-profile-dropdown .el-dropdown-menu__item:first-of-type {
     
        display: none !important;
    }
    

    Custom code needs to be applied to the page where the Employee Panel is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways. 

    If you need help with adding custom CSS to the page, please take a look at this article.

    -

    3187565860.png

    This will just leave the "Logout" button for them in that section.

    Let me know if that helpssmile.pngThank you

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  3
    Temper replied

    Hello Milos
    Thank you for your helpful reply.
    All the booking are made via the back end of the site. Currently i dont have a booking form page for front end viewing (customer dont make booking for themselves) However I could make such a page and set it to private or unpublished.

    Thank you for the code and the article. Ill try to work it out.

    Regards
    Oliver

    ***if all public support tickets were created by the community with more accurate Ticket subject lines then it would be a greater resource for everybody. Subject lines such as "functionlity', 'Amelia' and 'Customers' to name a few are pointless. ***

  •  3
    Temper replied

    Hello Again Milo
    Just on update.... I am using Kadence theme.  I applied that CSS you gave me to Theme customiser > Additional CSS. It has worked for me.

    It did not work when i put the custom css into the css setting for the block containing the employee panel shortcode  (in the page created just for that shortcode)

    If you think what i have done is not recommended, please do let me know.

    Thank You
    Oliver

  •   Miloš replied privately