Hello...
Let's say i have this repeatable region:
and in the frontend, i want to display the values as tabular data:
Because i will be have hundreds of rows, i don't want to display them in a single page, that's why i need a pagination.
I can't use cms:paginator, can i ?
I know there are 'k_count' and 'k_total_records' variables so i could search on google for a snippet to show pagination in the frontend,
but what about in the backend? how if i have to click "Add a Row" a hundred times ?
Let's say i have this repeatable region:
- Code: Select all
<cms:repeatable name='addresses' >
<cms:editable type='text' label='Name' name='name' />
<cms:editable type='text' label='City' name='city' />
<cms:editable type='text' label='Zip Code' name='zip' />
</cms:repeatable>
and in the frontend, i want to display the values as tabular data:
- Code: Select all
<table>
<thead>
<tr>
<td>Name</td>
<td>City</td>
<td>Zip Code</td>
</tr>
</thead>
<tbody>
<cms:show_repeatable>
<tr>
<td><cms:show name /></td>
<td><cms:show city /></td>
<td><cms:show zip /></td>
</tr>
</cms:show_repeatable>
</tbody>
</table>
Because i will be have hundreds of rows, i don't want to display them in a single page, that's why i need a pagination.
I can't use cms:paginator, can i ?
I know there are 'k_count' and 'k_total_records' variables so i could search on google for a snippet to show pagination in the frontend,
but what about in the backend? how if i have to click "Add a Row" a hundred times ?