elgg_Topbar won't change

I am stumped. Iedited the topbar.php in the views/default/page_elements folder to remove the elgg logo, everything went fine.

then I removed the dashboard link and added the words "My Profile" to the profile link and nothing changed! I cleared caches, disabled simple cachin, etc. still nothing. if I look at the page source for the page it shows as if I made no change.

the first change is still there, but its like some phantom thing is switching back to the old topbar. I have editted other parts of default elgg theme no problem. I'm racking my brain! I checked everywhere for another topbar.

Please take pity on me!

elgg 1.6.1, default theme, no topbar extension plugin

  • 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...