Remove "My Account" link
2 posts by 2 authors in: Forums > CMS Builder
Last Post: September 22, 2010 (RSS)
By (Deleted User) - September 22, 2010
Hi,
Is there a way to remove the "My Account" link? The reason for this is because we created a special username and passwrod as a "Public" username for site visitors to be able to add a listing (which is by the way set by default to hidden and needs an admin to remove the hidden to make the listing live).
See attachement...
Is there a way to remove the "My Account" link? The reason for this is because we created a special username and passwrod as a "Public" username for site visitors to be able to add a listing (which is by the way set by default to hidden and needs an admin to remove the hidden to make the listing live).
See attachement...
Re: [RapidWeb] Remove "My Account" link
By Jason - September 22, 2010
Hi,
Yes, you can remove this by going into the source code.
If you go into cmsAdmin\lib\menus\sidebar.php and look for this line (it should be around line 24):
If you comment out or remove this line, then the My Account link won't appear on the side menu anymore.
NOTE: If you upgrade CMS Builder, it will override this change and you'll have to make it again.
Hope this helps.
Yes, you can remove this by going into the source code.
If you go into cmsAdmin\lib\menus\sidebar.php and look for this line (it should be around line 24):
if ($CURRENT_USER) { $headerLinks .= "<a href='?menu=_myaccount'>" .t('My Account'). "</a>"; }
If you comment out or remove this line, then the My Account link won't appear on the side menu anymore.
NOTE: If you upgrade CMS Builder, it will override this change and you'll have to make it again.
Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/