Quantcast
Viewing all articles
Browse latest Browse all 2182

Extensions for Joomla! 5.x • Re: JCE editor stripping PHP date code

If there is not much of processing to be done for displaying the footer, the footer module text could be changed using language override as shown below:

Original language sting:

Code:

MOD_FOOTER_LINE1="Copyright &#169; %date% %sitename%. All Rights Reserved." ; Note : %date% will be auto replaced by current year! Don't translateMOD_FOOTER_LINE2="<a href=\"https://www.joomla.org\">Joomla!</a> is Free Software released under the <a href=\"https://www.gnu.org/licenses/gpl-2.0.html\">GNU General Public License.</a>"
Overridden language sting:

Code:

MOD_FOOTER_LINE1="Copyright &#169; %date% Example Pty Ltd. All Rights Reserved. All Rights Reserved." ; Note : %date% will be auto replaced by current year! Don't translateMOD_FOOTER_LINE2=""
Note:
I thank you for your reply but this does not seem relevant to being able to add PHP code to custom footer module.

Statistics: Posted by stuffdone — Wed Jan 01, 2025 6:42 pm



Viewing all articles
Browse latest Browse all 2182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>