Jump to content
zitu4life

Having Mission and Vision displayed to staff on admin interface

Recommended Posts

Hello There

Today¬† ¬†I facing¬† ¬†a case¬† ¬†where¬† ¬†a staff¬† ¬†did¬† ¬†not complete¬† ¬†a important¬† task, because¬† ¬†in their mind¬† that task¬† ¬†were¬† ¬†not urgent important¬† ¬†(financial task) and could be done¬† later¬† ¬†(in their¬† ¬†mind a great target time¬† could be 15 days¬†ūü§Ē ¬†¬†ūü§Ē).
Our   company mission   and vision   clearly   answer   staff   doubts   and points   the way   we should  work to achieve  our goals,   so  I have an idea   to have   our mission  and   vision   on  top   of admin badges   just in case,   to   make sure   spirit   of  company   will   be   all the time   clearly on everybody mind, at least   until  I  think it is not necessary   anymore.

What   options   I have to  make it happens:

1-  Hooks   to displays    text?

2 - Duplicate¬† ¬†native badges and modify it¬† ¬†to¬† ¬†¬†make¬† ¬†it only to display¬† ¬†texts¬† ¬†with¬† some¬† font¬† awesome¬† ¬†to make¬† ¬†it more friendly ūüėć?

3 -   There is   any ready module   out there   that   can already   do something  like that idea?

4 - Fire up that employee¬† ¬†ūü§£¬† ¬†(can not¬† ¬†be done).

image.png.82b9c155bfb1889cbcb83e3bbda9f8e7.png

Edited by zitu4life

Share this post


Link to post
Share on other sites
15 hours ago, zitu4life said:

Today¬† ¬†I facing¬† ¬†a case¬† ¬†where¬† ¬†a staff¬† ¬†did¬† ¬†not complete¬† ¬†a important¬† task, because¬† ¬†in their mind¬† that task¬† ¬†were¬† ¬†not urgent important¬† ¬†(financial task) and could be done¬† later¬† ¬†(in their¬† ¬†mind a great target time¬† could be 15 days¬†ūü§Ē ¬†¬†ūü§Ē).

I would have gone straight to option 4. ūüĒ•ūüôā

15 hours ago, zitu4life said:

1-  Hooks   to displays    text?

AdminHomepage would probably be the simplest hook if you want them on the homepage as you can just paste your HTML into the hook...

MuBi84A.png

15 hours ago, zitu4life said:

2 - Duplicate¬† ¬†native badges and modify it¬† ¬†to¬† ¬†¬†make¬† ¬†it only to display¬† ¬†texts¬† ¬†with¬† some¬† font¬† awesome¬† ¬†to make¬† ¬†it more friendly ūüėć?

possibly easier if you've already modified badges.php as per your previous thread - it's just going to be another div row in the output.

15 hours ago, zitu4life said:

3 -   There is   any ready module   out there   that   can already   do something  like that idea?

none that I can think of off-hand, but either 1ÔłŹ‚É£ or 2ÔłŹ‚É£ should be ideal for your needs.

Share this post


Link to post
Share on other sites
3 hours ago, brian! said:

AdminHomepage would probably be the simplest hook if you want them on the homepage as you can just paste your HTML into the hook...

Hello  Brian!  Would   you mind to share   your hook  for that.   I usually prefer  hooks because   update   would not affect   it, but create  hooks   looks to be    too much   for me, for the next   2 years of learning. My post  was print picture edited manualy.

Edited by zitu4life

Share this post


Link to post
Share on other sites
13 hours ago, zitu4life said:

Would   you mind to share   your hook  for that.

no worries - all I did was quickly take the example AdminHomepage hook from the docs, copied the <div> from the badges.php widget and tweaked the output a little (removed icons, classes and added some inline CSS)... ūüôā

<?php
add_hook('AdminHomepage', 1, function($vars) {
    return '<div class="row home-status-badge-row">
    <div class="col-sm-6">
        <div class="health-status-block status-badge-cyan clearfix">
            <div style="color:black; font-size: 20px; text-align: center;">
                Mission: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
            </div>
        </div>
    </div>
    <div class="col-sm-6">
        <div class="health-status-block status-badge-cyan clearfix">
            <div style="color:black; font-size: 20px; text-align: center;">
                Vision: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
            </div>
        </div>
    </div>';
});
13 hours ago, zitu4life said:

I usually prefer  hooks because   update   would not affect   it, but create  hooks   looks to be    too much   for me, for the next   2 years of learning. My post  was print picture edited manually.

I think I have more belief in you being able to write this type of hook than you do yourself.¬†ūüėé

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated