Using Page Counters by Keith OustaletAdding Counters to PagesNow 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:
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. Selected blog articles : 3D Objects on HTML pages, CSS Transition Visibility, and CSS Transition Display. © 1996-2025 H.E.I. All Rights Reserved. |
![]() |