We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Remove "My Account" Tab Extension

Development and Programming

Cocoaholic's avatar
Cocoaholic
445 posts
16 years ago
Cocoaholic's avatar Cocoaholic

I wanted to make the Control Panel as clean as possible for a client, and created a simple extension to hide the “My Account” tab using javascript. Now my client only has two tabs: ‘publish’ and ‘edit’.

You can choose to keep the tab for Super Admins if you want. (check out the ‘settings’ link)

Cheers.

[EDIT] updated “Remove My Account Tab” extension to version 1.2 [EDIT] added “Remove Sites Tab” Extension

Download links: Remove My Account Tab Remove Modules Tab Remove Sites Tab

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

Excellent idea for an extension. Too many times when we want to let non-super admins in to add entries, we don’t want to let them fiddle around while they are in there. Thanks!

       
jtnt's avatar
jtnt
137 posts
16 years ago
jtnt's avatar jtnt

Yes, awesome. Many thanks!

       
jtnt's avatar
jtnt
137 posts
16 years ago
jtnt's avatar jtnt

It appears that this does not play nice with the following two extensions by Mark Huot: File and Live Search.

With this extension enabled, the live search does field does not show up. Worse, when using the File extension, upon saving an entry with a file field, it spews at least a score of errors. (Sorry, I didn’t copy them and I’m too rushed to go back and recreate the problem.)

Just a heads up.

       
Cocoaholic's avatar
Cocoaholic
445 posts
16 years ago
Cocoaholic's avatar Cocoaholic

Thanks jnt,

I forgot to add the $EXT->last_call variable to my extension.

You can find the fixed version in my original post.

So… Live Search works again, but the problem you are having with the File extension is a separate issue AFAIK. I am seeing the same errors, even when no other extensions are installed.

While writing this I updated my 1.0.3 version of Mark’s File extension to 1.0.9 and it seems to work fine now 😊 What version are you using?

       
jtnt's avatar
jtnt
137 posts
16 years ago
jtnt's avatar jtnt

Thanks for the quick reply!

I’m on 1.0.9, but haven’t tried re-enabling your extension yet. I’ll report back…

       
municipal's avatar
municipal
165 posts
16 years ago
municipal's avatar municipal

Thank you for this extension! Very handy! One quick question…when I click on “Settings” in the Extensions Manager so that I can keep the tab enabled for Super Admins, I get an error and can’t proceed:

Unable to load the following language file: /lang.remove_my_account_tab.php

Am I missing a language file?

       
Cocoaholic's avatar
Cocoaholic
445 posts
16 years ago
Cocoaholic's avatar Cocoaholic

Oops, sorry about that.

Please download again :cheese:

       
Rob Quigley's avatar
Rob Quigley
236 posts
16 years ago
Rob Quigley's avatar Rob Quigley

I was wondering if you could also make a combined or seperate extension that takes out the module tab in the same way for non super-admins.

I personally go in and add whatever Module non-super admins need as its very own tab that appears between the “Edit” tab and the “Modules” tab in the CP. So, already having individual tabs for the one or two modules that our users need access to makes the “Modules” tab itself useless for those people.

       
Cocoaholic's avatar
Cocoaholic
445 posts
16 years ago
Cocoaholic's avatar Cocoaholic

Should be possible, I’ll look into it some time this week.

       
Rob Quigley's avatar
Rob Quigley
236 posts
16 years ago
Rob Quigley's avatar Rob Quigley

That would be super cool. Thanks!

       
Cocoaholic's avatar
Cocoaholic
445 posts
16 years ago
Cocoaholic's avatar Cocoaholic

I updated this extension to also remove the “New Tab” link that takes you to the “My Account” page.

I also made an extension to remove the Modules Tab, you can find it at the top of this thread. The link to the Modules page in the breadcrumb of will still take you to the Modules page, but it’s a start.

       
Rob Quigley's avatar
Rob Quigley
236 posts
16 years ago
Rob Quigley's avatar Rob Quigley

That’s terrific!! Nice work!

       
joshuajabbour's avatar
joshuajabbour
7 posts
16 years ago
joshuajabbour's avatar joshuajabbour
I updated this extension to also remove the “New Tab” link that takes you to the “My Account” page.

Users can still get to the My Account section by clicking the “New Quicklink” icon (the leftmost icon at the top right of the screen, looks like a chain link with a pencil superimposed). Any chance you can update this extension to hide that too?

       
Cocoaholic's avatar
Cocoaholic
445 posts
16 years ago
Cocoaholic's avatar Cocoaholic

Yeah, I also found some other ways to get to that page.

I’m looking into a different way to ‘disable’ the page altogether.

I’ll get back to you when I have something.

       
1 2

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.