| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5721|Reply: 2
Collapse the left

Auto update copyright date

  [Copy link]

 Algeria

Post time: 2012-01-04 06:03
| Show all posts |Read mode
Edited by Mourad at 2012-1-4 07:21

Quition: why we need it ?
Answer: you don't need to edit your footer every year

to do this go on:
template/default/common/

Then open this file: "footer.htm" with a text editor and search for " © "

For example: © 2009-2011

replace "2011" with this code " <?php echo date(Y) ?> "

if you done right you should now see this copyright text:

Every year it will auto update the new year.
Hope it can help someone


This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Palestine

Post time: 2012-01-05 20:47
| Show all posts
great idea

 Russia

Post time: 2012-01-06 17:55
| Show all posts
Good idea.
I usually use this in all my projects.
Added for X2ML too.
http://code.google.com/p/discuzx-en/source/detail?r=291
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 03:05 GMT+3 , Processed in 0.043356 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list