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 list of available libraries for WebDNA...
Tips and TricksA list of user-submitted tips ...
F.A.QA compilation of some user's questions...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
WebDNA ModulesA list of the currently available modules...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
How to pass variables to ImageMagick using a [shell] context?...
ImageMagickUse ImageMagick to manipulate images when you upload them...
Find duplicate recordsFind duplicate records and do something with them...
Check the Federal Government's Social Security databaseThe script on the page will check the federal government's social security database...
Export data to ExcelHere's a handy way to export your data to a text or Excel file...
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...