Usage:  {tag_name}


The following tags are available for use within the following Next/Prev template files:

next_prev.html

next_prev_bottom


Tag

Description

lang_VARIABLE

Displays the corresponding lang variable from the Open-Realty® lang file.

nextprev_num_rows

The number of search results (search result rows)

nextprev_page_type

Displays the lang variable for "next_prev_listing".

nextprev_meet_your_search

Displays the lang variable for "listings_meet_your_search".

nextprev_listing_num_min

Displays the beginning number of the range of listings that are being displayed on the search results.

nextprev_listing_num_max

Displays the ending number of the range of listings that are being displayed on the search results.

nextprev_guidestring_no_action

Displays the search string without the GET action or session id for use in a link to save searches or refine a search.

Example:

<a href="index.php?action=save_search{nextprev_guidestring_no_action}" >{lang_save_this_search}</a>

nextprev_guidestring

Displays the full search string with the GET action for use in a link to additional pages of the search results.

Example:

<a href="index.php?cur_page={nextprev_prevpage}{nextprev_guidestring}" class="bt_pages">  <<  </a>

nextprev_prevpage

Displays the number of the previous page of the search results, can be used in a link to the previous page of the search results.

Example:

<a href="index.php?cur_page={nextprev_prevpage}{nextprev_guidestring}" class="bt_pages">  <<  </a>

nextprev_disp_count

Displays the number of the page out of the block of 10 pages that we are currently viewing.

nextprev_count

Displays the number of the page out of the block of 10 pages that we are currently viewing. This is for use in a link to the page you want to go to. The link must also include the {nextprev_guidestring}.

Example:

<a href="index.php?cur_page={nextprev_count}{nextprev_guidestring}" class="bt_pages">{nextprev_disp_count}</a>

nextprev_nextpage

Displays the number of the next page of the search results, can be used in a link to the next page of the search results.

Example:

<a href="index.php?cur_page={nextprev_nextpage}{nextprev_guidestring}" class="bt_pages">  >>  </a>

nextprev_next10page

Displays the number of the first page of the next group of 10 pages, can be used in a link to the next 10 pages (next 100 listings).

Example:

<a href="index.php?cur_page={nextprev_next10page}{nextprev_guidestring}" >{lang_next_100}</a>

nextprev_prev10page

Displays the number of the last page of the previous group of 10 pages, can be used in a link to the previous 10 pages (next 100 listings).

Example:

<a href="index.php?cur_page={nextprev_prev10page}{nextprev_guidestring}" >{lang_previous_100}</a>



Blocks

Template tag Blocks are template tags that will have a starting and ending tag. ALL Code inside a block will be displayed or hidden depending on if the block's conditions are met. Starting tags will be listed below. Blocks must be closed with {/TEMPLATE_TAG_block}. Several of the blocks have a negative switch (!) that will have the opposite condition than its non-negative version. The following template tags are block options:

nextprev_num_of_rows_is_1_block

Block that will be displayed IF there is only one search result row being displayed.

!nextprev_num_of_rows_is_1_block

Block that will be displayed IF there more than one search result row being displayed.

nextprev_show_save_search_block

Block that will be displayed IF this is the search results page to display the save search option. This will not be displayed on other pages that use the next/prev function such as the site log.

nextprev_show_refine_search_block

Block that will be displayed IF this is the search results page to display the refine search option. This will not be displayed on other pages that use the next/prev function such as the site log.

nextprev_is_firstpage_block

Block that will be displayed IF this is the first page of the search results.

!nextprev_is_firstpage_block

Block that will be displayed IF this is NOT the first page of the search results.

nextprev_page_section

Block for the 10 page result set selection. Items in this block will be repeated ten times to create the 10 pages of the search results. There are two blocks that are used inside of this block: nextprev_page_current_block and nextprev_page_other_block, see below for details of these blocks

nextprev_page_current_block

Block that is displayed in the {nextprev_page_section} block if, the page number of the search results is the one that we are currently viewing. This is used with the normal template tag, {nextprev_disp_count} to maintain the count and display the count of the page we are on.

nextprev_page_other_block

Block that is displayed in the {nextprev_page_section} block if, the page number of the search results is NOT the one that we are currently viewing. This is used with the normal template tag, {nextprev_disp_count} to maintain the count and display the count of the page we are on.

nextprev_lastpage_block

Block that will be displayed IF this is the last page of the search results.

!nextprev_lastpage_block

Block that will be displayed IF this is NOT the last page of the search results.

nextprev_prev_100_button_block

Block that will be displayed IF we are on a page past the first 10 pages.

!nextprev_prev_100_button_block

Block that will be displayed IF we are NOT on a page past the first 10 pages.

nextprev_next_100_button_block

Block that will be displayed IF there are more than 10 pages left to be displayed.

!nextprev_next_100_button_block

Block that will be displayed IF there are NOT more than 10 pages left to be displayed.

nextprev_clearlog_block

Block that will be displayed IF this is the Admin View Log page and if the user is an admin.