thanks for the quick reply but I checked that file. I can change the name of the dashnoard there, but I am trying to delete the whole link code from the topbar, and add words after the profile pic.
this is the relevent section of my elgg_topbar.php file in the default theme folder and yet the dashboard link shows up and theres no "My Profile"
<?php
if (isloggedin()) {
?>
<div id="elgg_topbar">
<div id="elgg_topbar_container_left">
<div class="toolbarimages">
<a href="<?php echo $_SESSION['user']->getURL(); ?>"><img class="user_mini_avatar" src="<?php echo $_SESSION['user']->getIcon('topbar'); ?>" />My Profile</a>
</div>
<?php
echo elgg_view("navigation/topbar_tools");
?>
<div class="toolbarlinks2">
<?php
//allow people to extend this top menu
echo elgg_view('elgg_topbar/extend', $vars);
?>
<a href="<?php echo $vars['url']; ?>pg/settings/" class="usersettings"><?php echo elgg_echo('settings'); ?></a>
<?php
// The administration link is for admin or site admin users only
if ($vars['user']->admin || $vars['user']->siteadmin) {
?>
<a href="<?php echo $vars['url']; ?>pg/admin/" class="usersettings"><?php echo elgg_echo("admin"); ?></a>
<?php
}
?>
</div>
</div>
I'd swear it was loading a different elgg_topbar.php file. I'd think it was the cache but no.
Well I did take your advice I think. for now I just deleted the word "Dashboard" from the en.php file, not the best fix but I do not plan on using the dashboard. logged in users with no refer dest. are sent to their profile, so the dashboard is gone!! ya! still not to comfortable with not being able to edit the topbar.php, but for now...
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.