Contact | Privacy | Datenschutzerklärung | Impressum

Using Page Counters by Keith Oustalet

Adding Counters to Pages

Now that you understand the basics of defining your own Tags and Page Layout (or Templates), we'll show you how to add counters to your pages using the Counter Application Component. The result will be a dynamic page.

Now let's modify our SampleLayout page to include the counter. Here is how it should look:

Example:

Sample.hei with Page Counter

<HTML>
<HEAD>
<include name="mylayout.hei"/>
<include name="cocounter.hei"/>
</HEAD>
<BODY>
Anything else you want to do with this
Web Page should be placed here.
<P>

This page has been called <Counter name="SamplePage" /> times.
</P>
</BODY>

You can place the <Counter name="SamplePage"> statement anywhere you like on the page, so long as it appears between the <BODY> and </BODY> Tags.

In fact nothing else happens when you click a counter component on a page using RADpage. Each component is in fact a user-defined tag that can be edited using RADpage.

You might want to look at the source code of the counter library. Calling the <Counter> Tag retrieves the appropriate counter (in this case "SamplePage") from the webcount SQL Table and automatically increments it.


This page was dynamically generated by the web application development tool RADpage of H.E.I. H.E.I. provides support, tools, and services like Webdesign in Mannheimm, the HTML/CSS 3D WebGL Animation Library taccgl, 3D Webdesign, and 3D Product Configurator (3D Produkt Konfigurator in German).

Selected blog articles : 3D Objects on HTML pages, CSS Transition Visibility, and CSS Transition Display.


© 1996-2024 H.E.I. All Rights Reserved.



Homepage
Intro/Features
Component Guide
Programming
  Language Guide
    Modular Pages
    Dynamic Pages
      Browser Data
      Page Counters
    Interactive Pages
  Language Ref.
  Component Ref.
  Class Library
  User Components
  Tutorial
  New Features
  heitml 1
User Guide
Services
Privacy
Datenschutz
 
Contact / Impressum