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:
Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
WebDNA Libraries
A list of available libraries for WebDNA...
F.A.Q
A compilation of some user's questions...
WebDNA Modules
A list of the currently available modules...
Tips and Tricks
A list of user-submitted tips ...
AWS Raw WebDNA LAMP-Plus WebServer
Amazon Web Services (AWS) README for Machine Image ID...
Related Readings:
How to keep the text variable after a function has finished
By default...
random password-generator code
Generate a random alpha-numeric string...
WebDNA Google Map Mashup
Generate a Google map with pins on your database addresses...
How to setup CODA to work with WebDNA?
This page will show graphically how to setup CODA as a WebDNA partner :-)...
Hideif on IP range
This will show or hide stuff according to the IP...
How to create a RSS feed
How to create a RSS feed from yourdatabase on formation...