Using topic_prev_group

The topic_prev_group command returns a link to the "Previous X" message links in a topic. The number of messages is set by topic_num_to_list_default variable.

The command accepts the text to display in the link as its only parameter. This command may only be used in a page that is processing a Topic request ( see topic_list_msg ).

Example

<!-- #topic_prev_group "Prev 10" -->

Produces

Prev 10

On the page.

 

If there are no prior messages in the topic list to show, the command returns nothing. See the "topic.spml" template file for a sample of this command in actual use. This template file is located in the "Web Space:Templates" folder.