To have the current date displayed on your pages you can use any of the dynamic languages that are available. Placing the coding within Fusion is accomplished in exactly the same way regardless of whether you are using ASP, PHP, ColdFusion, or JavaScript.
Step 1:
Double click within the text box or table cell where you wish the date to appear to enter edit mode
Step 2:
Press CTRL + T to bring up the HTML dialogue box
Step 3:
Paste the following code within the HTML insertion dialogue box input area
<% response.write FormatDateTime(Now(),1) %>
Step 4:
Press F11 to bring up the Page Properties palette
Press the Custom Names button to bring up the Custom Names Properties palette
Set the File extension to ASP from the drop down selection
This single page will be generated with the file extension of ASP. If you wish the date to show on all of your pages you should set the default site extension in Publish View to ASP
This tutorial will show you where this setting is located
Did you find this tutorial useful? Do you want to keep this resource online? Make a donation to keep gotFusion alive
This page was written by and is maintained by turtle
|
|