Reuse the same code over and over again on your site with the [include] context.
numero = 124<body>[include file=/header_file.inc]<table><tr><td>[include file=/navigation_links_file.inc]</td><td>{the body of content would go here}</td></tr></table>[include file=/footer_file.inc]</body>The example above shows the include files saved to the root directory of your website. You could organize a bit easier by saving them in an /includes/ directory. Doing so would change the code to look like this:
[include file=/includes/navigation_links_file.inc]Reusing your same code over and over again on many pages within your website is a snap. The best examples would be to have an include file with your page header, navigation and page footer. Then from every page of your website you can insert the same files. This especially makes management of navigation links a snap because you only need to keep one text file up to date.
<body>
[include file=/header_file.inc]
<table>
<tr>
<td>
[include file=/navigation_links_file.inc]
</td>
<td>
{the body of content would go here}
</td>
</tr>
</table>
[include file=/footer_file.inc]
</body>
[include file=/includes/navigation_links_file.inc]
DOWNLOAD WEBDNA NOW!
A compilation of some user's questions...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
Download WebDNA ApplicationsWebDNA applications...
Tips and TricksA list of user-submitted tips ...
WebDNA LibrariesA list of available libraries for WebDNA...
WebDNA ModulesA list of the currently available modules...
I have a project where I'm allowing several people to upload images...
Spaghetti codeHow to get rid of very long search strings...
reCAPTCHA codereCAPTCHA helps prevent automated abuse of your site (such as comment spam or bogus registrations) by using a CAPTCHA to ensure that only humans perform certain actions...
Hideif on IP rangeThis will show or hide stuff according to the IP...
Annoying character on writefileHow do I get rid of or convert the line feed character during a writefile?...
Using a simple Array of Variables with [interpret]The [interpret] context is very powerful command in the hands of a skilled WebDNA programmer...