Web Page

Web Pages in NetForum CMS are a collection of one or more Page Details. The Page itself is really just a container for Page Details.

Managing Data

Pages have their own top-level attributes that can be accessed and edited by clicking the corresponding pencil icon from the Pages panel.

Key attributes include:

  • Description - The contents of this field will appear in the pages list.
  • PageCode - This is the URL-friendly identity of a page and can be used to create hard-coded HTML URLs. Be sure that the Webcode is unique for the site. If you have multiple pages with the same webcode, the content from all of these pages will be displayed when this webcode is referenced.
  • Page Name - This value refers to the framework page that renders the contents of a page to the browser. It will almost always be DynamicPage.aspx. One exception would be StartPage.aspx and is used to identify the home page of a site.
  • Page Title - This value will appear in the browser's title bar of the rendered page. You can use parsed values in the title, e.g. {evt_title} Cancellation.
  • Requires Login - This checkbox simply requires the user to be logged in to access. A user will be directed to a login page when attempting to access a page with this attribute checked.
  • Exclude Defaults - Similar to Section attribute, checking this attribute will remove all default panes from the rendered page.
  • Metatag Keywords - if desired, enter any keywords into this section. They will appear in a meta tag in the header. Parsed values can be used. An example of this is the Web Page with the WebCode of ProdDetailAdd. For this page, the keyword is {prd_name}. When the page is loaded, the value of {prd_name} will be added as shown below, with the <head/> tags, if Member Directory is the product name:
<meta name="keywords" content="Member Directory" />
  • Meta Description - The description entered in this field will be displayed on a search engine results page when this page is surfaced during an internet search. You should provide a concise, yet informative, description of this page to help entice users to view it.

Editing a Web Page

To edit a Web page, complete the following steps:

  1. Open the CMS module.
  2. Click the Web Page group item to view the list of available actions.
  3. Use the Find or List feature to locate the Web page you wish to edit.
  4. Click the Goto icon next to the name of the Web page you wish to edit.

    This will open the Edit - Website Page page.

  5. Expand the page details child form.
  6. Click the Goto icon next to the specific page details you wish to edit.

    This will open the Edit - Website Page Detail page.

    You can edit the following attributes of the Web page:

    • website page - the website page being edited.
    • position - the position on the Web Site where the Web page content will be visible.
    • content type - is very critical.  This setting determines the foundation of the page detail.  Please view the Web Page Content Types help topic for information on the available content types.
    • form - The form identifies the object related to the SQL query in the Content Information box. A form is also selected here if you have chosen Form as the content type.
    • control/file - If the content type selected is a Control or external File, the file path will be entered here.
    • content path - This field is used to specify the URL to iframe content.  It is also used to enter text attributes for the above Control element.
    • destination - If the content type is a Find control and results in a form submission, the destination must be specified with this drop-down. This list displays a listing of existing pages in the website you are working on.
    • wizard - If the content type is a wizard, the wizard must be specified in this drop-down.
    • Content Information - Depending on the content type and your HTML editor selection in your user preferences, you will see a Rich Text Editor, a WYSIWYG HTML editor, or just a text field. You will enter the content in this box.
    • Layout and Visibility Information - The arrangement, size and other attributes are specified in this area that determine position and placement of the page detail within the content area of the page.
  7. Click the Save button to save your edits.

Viewing Changes to the Web Page

The log child form provides an easy way to view changes that have been made to the Web page.  Expanding the log child form will display the following information:

  • Field - Denotes the field that was modified.
  • New Value - Shows the newly added content, including the applicable tags.
  • Old Value - Provides a side-by-side comparison with the New Value to illustrate what has changed.
  • User - Specifies who made the changes.
  • Date - Displays the date the changes were made.
  • Time - Displays the time the changes were made.

Note: The use of HTMLEncode allows for the HTML tags to be displayed in the log child form without being executed.

Uses

Suppress Headers

To suppress the header on a web page (i.e., override the site default panes), either:

  • Include a &printerfriendly=yes querystring parameter on the URL
  • Check the exclude defaults checkbox.

Printer Friendly Page

As stated above, an eWeb page will be displayed in a printer friendly format if the following is added to the querystring:

&printerfriendly=yes

For example, a printer friendly hyperlink could be created with the following HTML:

<A href="/EWEB/DynamicPage.aspx?Site=client_site&WebKey=00000000-0000-0000-0000-0000000000&printerfriendly=yes">Printer Friendly </A>

URL Patterns

If you need to hyperlink to a page, use the combination of site and WebCode in the URL querystring.

Incorrect (do not use &amp;):

https://members.zzz.org/eweb/DynamicPage.aspx?site=ZZZ&amp;WebCode=IndDirectory

Correct:

https://members.zzz.org/eweb/DynamicPage.aspx?site=ZZZ&WebCode=IndDirectory

While use of & may not be technically correct, it is required when the query string includes a column name from the event registrant table, for example the reg_evt_key & reg_evt_key=... Internet Explorer parses the ampersand reg_evt_key to the copyright symbol_evt_key. Firefox does not have this issue. (CArnold)