I thank you for your reply but this does not seem relevant to being able to add PHP code to custom footer module.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:Overridden language sting:Code:
MOD_FOOTER_LINE1="Copyright © %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>"
Note:Code:
MOD_FOOTER_LINE1="Copyright © %date% Example Pty Ltd. All Rights Reserved. All Rights Reserved." ; Note : %date% will be auto replaced by current year! Don't translateMOD_FOOTER_LINE2=""
- Probably there could be a css created to hide the class footer2.
- Review of the document https://docs.joomla.org/Help4.x:Languages:_Overrides would be of help in understanding how to create overrides.
Statistics: Posted by stuffdone — Wed Jan 01, 2025 6:42 pm