|
|
Creating A Dynamic What's New Page In FrontPage - Database
Driven! Using The FrontPage
Database Results Wizard - DRW.
|
|
| When we are done we will have a Dynamic What's New page
that is completely updatable with just a web browser. |
- You will need to have IIS installed on a Win 2000pro or XPpro or
connect to your hosted web site (Link =Future
Article to be posted) to create these pages.
- First we create a new folder in FrontPage called Whats_New.
- Then we create a namethis.asp page and save it. I prefer default or
index as the main page because these are the default pages for
directories, there is no need to put the full path to the page. i.e.
frontpagewiz.com/directoryname/whats_new.asp
frontpagewiz.com/directoryname/default.asp
<or>
frontpagewiz.com/directoryname/ will pull the default.asp, index.asp,
default.htm, index.htm (if you have one in that directory).

- Now we want to create a form page. The form page will be how we add
new content to the What's New page and create the database that will
store all of our postings.
- Create a new page and call it whats_new_post.htm. I recommend you
password protect this page. I have found it is very much easier for
administration pages to be posted into one
password protected
directory instead of adding the code to all pages. If you host your
own site ask your system administrator how to PW protect a directory, if
you have your site hosted just create a admin (name it anything you
want) folder and ask them to pw protect it, then place all your "content
management" pages in there.
- On the whats_new_post.asp page click
>Insert
>Form
>Form


- Now put your cursor in front of the submit button and hit the space
bar.

- Now hit the enter key a few times. It is important to keep all form
elements within the form border.

- Now click on >Insert > Form >Text Area

- Your form should now look like this:
Look Like 1
- Now double click on the Text Area box. Change the name of the Text Box
to whatsnewcontent (always "AllOneWord") change the width to 45 and
number of lines to 10.

- Now click on >Validate >click the check box "Required" and min length
50 and max length 2000, this is minimum an maximum amount in
characters you require the user to input. Display name >WhatsNewContent
>Data Type > No constants. Click OK 2 times.

- Now right click on the form field and select > Form Properties.

- I prefer to save all my administration pages
to 1 password
protected directory such as "edit or admin", then apply a directory
password. Your hosting provider may already have one set up for you. If
not just ask them to set one up.
>Continued on Page 2 -Creating A Dynamic
What's New Page In FrontPage - Database Driven! |
|