I’m looking for a simple and direct way (if any) to quickly let users click an element to remove the limit from a channel.
That is, I want to set a limit to begin with, but something quick and easy like a “Read More” button would remove the limit, thus expanding the channel to show all entries. In this case, a trade history list compiled from user entries.
I want it to be very easy to view all entries at once, but I don’t want to paginate since I am using an ordered list to get the numbering, which is necessary for the type of data I want to display;
(and since numbering natively doesn’t seem to be possible since entries are filtered by author, which apparently is either not possible to do natively from the channel:entries tag, or doesn’t co-operate with the count function anyway - either way, I cant number the entries using count).
Basically, I don’t want it to be a drawn out process for the user to view the whole list at once quickly, but I don’t want to display it completely to begin with for layout reasons - a “Read More” button being my best option.
Here’s the channel:entries tag.
<h2>
History of this trade-up.
</h2>
<p> <ol><br />
{exp:channel:entries channel="trades" sort="asc" limit="8" paginate="bottom"}<br />
{if segment_2 AND "{author}"=="{segment_2}" OR "{segment_2}"=="" AND "{author}"=="busdriver_jow"} <br />
<li><br />
<a href="#" rel="noopener .{url_title}" title="{title}" target="_blank">_ {trade_time} > _ <span class="{item_quality} thc">{if item_quality!="unique"}{item_quality} {/if}{if effect!="none"} {effect} {/if}{title} </span>_ </a><br />
</li><br />
{/if}<br />
{/exp:channel:entries}<br />
</ol><br />
<a href="#" title="Read More" class="read_more_button">Read More</a>