Can't get footer to change

Forum
Last Post
Threads / Messages
Well, you can open the file template.tpl in your theme(main is the default) folder, and find this part:

PHP:
</td></tr>
<tr><td colspan="2" id="footer">{$footer}</td></tr>
Add HTML to the left or right side of {$footer} will append or prepend your custom footer information to Mysidia's default footer. An example is provided below:


PHP:
</td></tr>
<tr><td colspan="2" id="footer">
{$footer}
<br>
My own footer information
</td></tr>
Alternatively you can change the file /classes/class_footer.php directly, by modifying this method:

PHP:
    protected function setCredits(){
        $mysidia = Registry::get("mysidia");
        $this->credits = new Paragraph;
        
        $this->credits->add(new Comment("★ Powered by ", FALSE));
        $creditsLink = new Link("http://www.mysidiaadoptables.com");
        $creditsLink->setText("Mysidia Adoptables v".Mysidia::version);
        $this->credits->add($creditsLink);
        $this->credits->add(new Comment("★"));
        $this->credits->add(new Comment("Copyright © 2011-2013 Mysidia RPG, Inc. All rights reserved."));
        
        $this->setDivision($this->credits);    
    }

It is not the desired approach though, and you need to make sure to keep Mysidia's credit information unchanged.
 
I intend to have the "powerd by" part in place. just not the copyright info.
 
I see, in this case, simply remove this line:

PHP:
$this->credits->add(new Comment("Copyright © 2011-2013 Mysidia RPG, Inc. All rights reserved."));
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,130
Members
1,603
Latest member
Monako
BETA

Latest Threads

Latest Posts

Top