Portlet Factory, Version 6.1.2


 

Customizing the paging buttons

You can alter the appearance of the paging buttons by making a copy of the HTML page that controls the appearance of the paging links. You can find this file in servable_content_root/factory/pages/data_paging_buttons.html. The following HTML is the default code for the data_paging_buttons.html file:

<span name="wrapper">
<table class="bst_dp_btn" cellspacing="0" cellpadding="0">
<tr>
<td height="19">
<span height="19" border="0" vspace="0" hspace="0" class="bst_dp_btn" name="firstbtn" />
</td>
<td height="19">
<span height="19" border="0" vspace="0" hspace="0" class="bst_dp_btn" name="prevbtn" />
</td>
<td height="19" valign="bottom">
<span name="displayed_pages" class="bst_dp_btn">
&nbsp;&nbsp;<span name="range" /> of <span name="total" />&nbsp;&nbsp;
</span>
</td>
<td height="19">
<span height="19" border="0" vspace="0" hspace="0" class="bst_dp_btn" name="nextbtn" />
</td>
<td height="19">
<span height="19" border="0" vspace="0" hspace="0" class="bst_dp_btn" name="lastbtn" />
</td>
</tr>
</table>
</span>

Be sure to leave the named <span /> tags in place; the Paging Buttons builder uses tags as the locations for the various builder calls it uses to implement the paging links control.

Parent topic: Paging Buttons builder


Library | Support |