3

A purely cosmetic change, but just wanted to know if its possible to change the menu item for Entries to something like Content? From a client point of view, I just know some will beg me to change this :)

Would also be handy to remove the Dashboard altogether as well for some cases.

3

Explain to your clients politely that the whole CMS controls 'Content' and that the entries tab controls a specific type of content called 'Entries'!

| improve this answer | |
  • 2
    Or you could create a craft localization called 'clients' (cl) with a translation file to translate everything into terms they can understand. ;) – Douglas McDonald Oct 28 '14 at 14:18
  • The localization approach might be interesting! Any way I can make things easier for clients who think their browser is 'Google' is appreciated :) – crawf Oct 28 '14 at 22:05
  • Careful. I think 'cl' is actually Chile. hmmm... maybe 'us-en-cs' (US-English-Client-Speak) – Douglas McDonald Oct 28 '14 at 22:30
  • Should be a standard language! heh ;) – crawf Oct 28 '14 at 22:36
3

For custom "cosmetic" changes on the Control Panel there's these two Plugins by Lindsey DiLoreto:

.

You can do both, hiding and renaming of menu items with CSS:

#nav-dashboard {
  display: none;
}

#nav-entries a,
#nav-entries a:hover,
#nav-entries a:active {
  color: transparent;
  word-spacing: -9999px;
  letter-spacing: -9999px;
}

#nav-entries a:after {
  content: "Content";
  color: #d7d9db;
  word-spacing: normal;
  letter-spacing: normal; 
}

#nav-entries a:hover:after,
#nav-entries a:active:after {
  color: #fff;
}
| improve this answer | |
  • Yeah aware of those two excellent plugins - however hiding/renaming stuff has a noticeable delay as jQuery seems to load. Sure, hiding through CSS is easy - but renaming is a little trickier! – crawf Oct 28 '14 at 13:47
  • @crawf yes, it's tricky and feels even more dirty then using JS for it, but it works. – carlcs Oct 28 '14 at 15:05
1

I know this is old but I've managed to remove the dashboard (from the navigation at least) with the following in a plugin's primary class. I guess there is nothing stopping you having a plugin that only does this!?

public function modifyCpNav(&$nav) {
    $newNav = array();
    foreach ($nav as $navKey => $navItem) {
        if ($navItem['label'] !== 'Dashboard') {
            $newNav[$navKey] = $navItem;
        }
    }
    $nav = $newNav;
}

You will need to set the postCpLoginRedirect config value to something otherwise it will still go to the dashboard page after login.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.