You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

reset_counter()

Usage

reset_counter(int)

Description
Resets the counter for the given level. See Counters for an explanation of counters in Structr.

Note: The level has to be numeric.

Example

${reset_counter(1)}

results in

<no output>

Search results for "reset_counter()"

reset_counter()

Resets the counter for the given level.

reset_counter(level)