Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2252

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

$
0
0
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 2252

Trending Articles