Do you hate updating the copyright notice at the bottom of all your pages?
It's January 1st and you have to update the copyright notice at the bottom of all your websites...
numero = 128
interpreted = N
texte = You could use the [include] context and create a footer.inc file and simply edit that single file, but there's an even better way by using the [date] command.Perhaps you copyright says(c) Copyright 2008 - 2013 WebDNA Software Corporationand you want to change it to(c) Copyright 2008 - 2014 WebDNA Software Corporation(such a tedious change every year, but yet so important)But with the simple, yet powerful WebDNA language all you need to do is this:(c) Copyright 2014 - [date %Y] WebDNA Software CorporationYou will NEVER AGAIN have to worry about changing the copyright notice!There are many other ways to format and display the current date automatically; to find out more read the Technical Reference manual for both the
[date] and
[format] contexts.
You could use the
[include] context and create a footer.inc file and simply edit that single file, but there's an even better way by using the
[date] command.
Perhaps you copyright says
(c) Copyright 2008 - 2013 WebDNA Software Corporation
and you want to change it to
(c) Copyright 2008 - 2014 WebDNA Software Corporation
(such a tedious change every year, but yet so important)
But with the simple, yet powerful WebDNA language all you need to do is this:
(c) Copyright 2014 - [date %Y] WebDNA Software Corporation
You will NEVER AGAIN have to worry about changing the copyright notice!
There are many other ways to format and display the current date automatically; to find out more read the Technical Reference manual for both the
[date] and
[format] contexts.
Matthew Perosi - Psi Prime
DOWNLOAD WEBDNA NOW!
Top Articles:
WebDNA Modules
A list of the currently available modules...
WebDNA reference
...
F.A.Q
A compilation of some user's questions...
Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
WebDNA Libraries
A list of available libraries for WebDNA...
Download WebDNA Applications
WebDNA applications...
Related Readings:
Setting a 30-minute Cookie
Configuring the expires time for a short-term cookie is tricky...
Handling credit card numbers
Encrypting the credit card numbers does the job quite nicely...
ImageMagick
Use ImageMagick to manipulate images when you upload them...
How to keep the text variable after a function has finished
By default...
Find duplicate records
Find duplicate records and do something with them...
Annoying character on writefile
How do I get rid of or convert the line feed character during a writefile?...