Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

custom copyright

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hallo

I try to use a php function at the copyright custom field but it´s doesn´t work (<?php echo date("Y"); ?> ). How can I use year there without need to change every year?

sheshatravel.it-bereich.com

Bets Regards
Ricardo
  • ricardos's Avatar
  • ricardos
  • LIfetime Developer - Big Bamboo
  • 297 posts
  • Karma: 0
The administrator has disabled public write access.
HI

The best way to do this is to add the code to the template directly.

This is probably the best resource on the code to add.

css-tricks.com/snippets/php/automatic-copyright-year/

Then go to tpls/blocks/footer.php and add your code there.

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
yes

echo date("Y")

solve the problem as well

Thanks to the help
Ricardo
  • ricardos's Avatar
  • ricardos
  • LIfetime Developer - Big Bamboo
  • 297 posts
  • Karma: 0
The administrator has disabled public write access.
You're welcome and thanks for the update

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers