WebSite X5Help Center

 
John U.
John U.
User

Copyright  en

Автор: John U.
Просмотрено 1353, Подписчики 1, Размещенный 0  

How can i make the Copyright © 2016 auto-update every year.. I want the 2016 to auto update to 2017 by next year and so on.

Размещено
11 Ответы - 1 Полезно
John U.
John U.
User
Автор

I will try it to see if it works. Its writer in German so i am trying to translate it.

Читать больше
Размещено От John U.
Jamie B.
Jamie B.
User

Please use the amended code below:

<script language="Javascript">
//Script created by x5tuts
var mydate=new Date();
var year=mydate.getYear();
if (year < 1000) year+=1900;
[removed]('<span style="font-family: Verdana, sans-serif; font-size: 13pt;">&copy; 2014 - '+year+' Copyright x5tuts &nbsp;&nbsp;All rights reserved.</span>')
</script>

this code works with evo 9 to evo & pro 12

regards

jamie

Читать больше
Размещено От Jamie B.
JJ. JUAG
JJ. JUAG
User

bestthey shallaskx5tutsscriptsdirectly tothissupport.


JJ.

Читать больше
Размещено От JJ. JUAG
Jamie B.
Jamie B.
User

Hi

this code is simpler to use and modify, it also only requires one piece of code which you place in a html widget on your footer, I will add this to x5tuts.com as x5 answers have removed a bit of the code.

regards

jamie

Читать больше
Размещено От Jamie B.
John U.
John U.
User
Автор

Thanks Jamie I will implement it.

Читать больше
Размещено От John U.
John U.
John U.
User
Автор

This code does not work on professional 12..

Читать больше
Размещено От John U.
John U.
John U.
User
Автор

However, i find another code that is working correctly.. 

Читать больше
Размещено От John U.
Jamie B.
Jamie B.
User

Hi

thats because x5 answers have removed a part of the code I am currently adding it to the x5tuts tutorials today.

regards

jamie

Читать больше
Размещено От Jamie B.