Limiting the number of docs returned

Permalink Browser Info Environment
I'd like to limit this in certain instances - e.g. have a block that ONLY presents the most recent file, with no pagination.

I know I can set it as 1 file per page, but then I get the pagination bits that mess up the display.

Type: Discussion
Status: Archived
JadedPerson
View Replies:
EvanCooper replied on at Permalink Reply
EvanCooper
Hi JadedPerson,

The document library doesn't support removal of pagination through the block edit interface. However, you could style the pagination to be hidden like so:

.documentLibraryWrap .pagination {
 display: none;
}


Depending on if you use doc library elsewhere with pagination, you might not want to include that universally in your theme. You could always include the style in an html block on a per page basis, enclosed in a style tag.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.