How to Add Php to footer

identicon
How to Add Php to footer
03101cbf Tuesday 15th May 2018, 04:30:31

Wanted to add this 
© <?php echo '1992 - ' . date('Y') ?>

to my footer but cannot seem to figure out how to do it. 
Tried changing 'Powered' in lang file but didn't work.  Also tried adding to admin>>config>>footer text but that didn't work either.  Any ideas?
Last modified: Tuesday 15th May 2018, 08:54:11

Replies 3
identicon
740a537a  Tuesday 15th May 2018, 07:17:40

Got it to work adding the php into the footer.tpl.php file.  Not sure about future theme updates however.

Fred_4346f29d
Fred  Tuesday 15th May 2018, 09:00:16

For each theme change, I recommend duplicating the theme folder and giving it another name.
Select it in the configuration and you will be able to make the desired changes while being able to go back or case!

Then it is the file given by   that must be modified.
Attention to the next update that will undergo a big update of the theme, based on Bootstrap v4.1.1.

Before ask a question, read the documentation.
Sorry I'm busy right now
Please like in alternativeto.net 👍🏻
╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!


identicon
934d893d  Wednesday 16th May 2018, 23:59:34

Except that there are a few changes that I've made to the core files like auth.php to change the reference to Flatboard in the h4 empty title class.  I guess I could just keep track of my changes but that seems like a lot of redundant work to me.