This forum is now Read-Only. The Magento Community Forum is scheduled to close permanently on December 31, 2025. Please save any necessary information before this date. Join us on Slack for continued engagement!
Perhaps I'm missing something here. I've got <?php echo date("Y"); ?> in the copyright section of the footer but it's not displaying the year. Does anyone know why this php statement isn't being executed?
If you are using the copyright field the in admin, the PHP statement wont be evaluated. This would pose a really big security risk to your entire setup if you could write executeable code from the admin of Magento. You need to add this through the template. Properly in the footer.phtml file, it will most likely be in your template under: template/page/html/footer.phtml or somewhere close.