Hello,
how can i display the current year in the footer-copyright "update-safe" and without a thirt-party extension?
Thank you!
fap
- fap
-
- Commercial Templates
- Sunday, 29 October 2023
- Subscribe via email
@FrancW: Thank you for your Answer!
This Field is empty for me.
what I have to enter there for the current year?
fap
This Field is empty for me.
what I have to enter there for the current year?
fap
- more than a month ago
- Commercial Templates
- # 2
Hello
To add the current year dynamically you can use the following in the copyright field..
Ciaran
To add the current year dynamically you can use the following in the copyright field..
<span><script>document.write( new Date().getFullYear() );</script></span>
Ciaran
- more than a month ago
- Commercial Templates
- # 4
Hi Ciaran
what about prefilling this little script into the copyright field of your templates (as a little service
)?
Regards
Rolf
what about prefilling this little script into the copyright field of your templates (as a little service

Regards
Rolf
- more than a month ago
- Commercial Templates
- # 6
I used to have a template where you would replace the current year with a "hook" like '(c)' and it would automatically replace that with the current year. So, for exmple, you could have
'Copyright: Bears Photography 2003-(c) all rights reserved'
and it would display
'Copyright: Bears Photography 2003-2023 all rights reserved'
all by itself. Was a wonderful feature.
'Copyright: Bears Photography 2003-(c) all rights reserved'
and it would display
'Copyright: Bears Photography 2003-2023 all rights reserved'
all by itself. Was a wonderful feature.
- more than a month ago
- Commercial Templates
- # 7
Hello
Thank you for the suggestion. Based on this, we are currently looking into the possibility of creating a shortcodes plugin for Joomla which render such content based on bracketed text (eg. [currentYear]). I will keep you posted
Ciaran
Thank you for the suggestion. Based on this, we are currently looking into the possibility of creating a shortcodes plugin for Joomla which render such content based on bracketed text (eg. [currentYear]). I will keep you posted

Ciaran
- more than a month ago
- Commercial Templates
- # 8
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »