|
|
[ IDs - Reference ]
Using IDs allows you to use the same Dynamic Tools many times on your
website
Without distinguishing the tools with IDs, they would interfere with each other. All your counters would use the same "count.txt" file to store their values. Your two discussion boards would use the same data directories and templates, and would be indistinguishable from each other.
With IDs, your counters can each have their own file to store their
values, so they won't interfere with each other. Your discussion forums
can have their own data directories and templates.
Every time you make a link to a dynamic tool, you must specify an ID value. For example, to create a guest counter with an ID of "45", use:
The dynamic tool appends the ID to the name of any data files it uses. So, the Guest Counter usually stores its value in a file called "count.txt", but this one will store its value in "count45.txt".
The standard data file will be created automatically on first use, however
each of these extra ID files must be created by you and uploaded to your
webiste before they can be used. This can be acheived using a simple
text editor like Notepad, and your ISP should provide details of
how to place files in your website.
This is mainly to stop users of your site from arbitrarily creating extra
counters, discussion forums, etc, and generally filling up your web space
with files that you don't need.
For example, suppose you have two discussion forums (IDs of "45" and "46"). The discussion forum with ID "45" will store its data in a folder called "forum45", and look for templates called "<template-name>45.html". If these templates are not present, it will fall back to the system default templates. | |||
![]() |
![]() |