Sign in link in footer

Permalink 1 user found helpful
Hi,

I have tried following the instructions posted on here to remove the sign in and the built by, links in the footer, unfortunately I am having no success, tried deleting the code in the elements folder in file manager, and tried adding css to the themes, still nothing changes.

I am using a default greek yogurt theme and all I have changed in the themes is the colours, can anyone suggest anything which might help.

Thanks

Mark

 
Brainakazariua replied on at Permalink Best Answer Reply
Brainakazariua
In the footer.php there is this code:

<div class="clear"></div>
   <div id="footer">
      <div id="footer-inner">
         <p class="footer-sign-in">
         <?php  
         $u = new User();
         if ($u->isRegistered()) { ?>
            <?php   
            if (Config::get("ENABLE_USER_PROFILES")) {
               $userName = '<a href="' . $this->url('/profile') . '">' . $u->getUserName() . '</a>';
            } else {
               $userName = $u->getUserName();
            }
            ?>
            <span class="sign-in"><?php  echo t('Currently logged in as <b>%s</b>.', $userName)?> <a href="<?php  echo $this->url('/login', 'logout')?>"><?php  echo t('Sign Out')?></a></span>


Remove all of that and save it. That should be enough to remove the login and everything else from the footer.
Ofcourse you can also replace it with this code to make it an editable area:
<div id="footer">
   <div class="footer">
   <?php
          $voet = new Area('footer');
         $voet->setBlockLimit(1);
            $voet->display($c);
        ?>
</div>
rawhyde replied on at Permalink Reply
Resolved, I was in the main directory and not the sub directory of the site I wanted to edit, thanks again
WUB replied on at Permalink Reply
Where do I find the footer.php?
rawhyde replied on at Permalink Reply
Many thanks, I tried this in one of my sites in theme "dark chocolate" and it worked great, I then went to another site in "green yogurt" and it did not make any difference.

I am struggling to make sense of this, unless I am changing the wrong footer.php

Thanks again for your help