PiRSquared17 / mp3-browser

Automatically exported from code.google.com/p/mp3-browser
GNU General Public License v2.0
0 stars 0 forks source link

Pagination - For a large MP3-List #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you have a folder with let's say 200 files, you cannot list all of them on a 
single page, so a pagination (Next Site, Last Site, ...) is very appreciated.

Original issue reported on code.google.com by sijos...@gmail.com on 20 Feb 2014 at 3:56

GoogleCodeExporter commented 9 years ago
Pagination is "sort of" supported already.

http://code.google.com/p/mp3-browser/wiki/Pagination

Please mind that this is a plugin and not a component. As a plugin it is 
embedded in other content (e.g. an article). There pagination is a 
responsibility of the content/article. The plugin can't do much about that. 
However, using "page breaks" you can break up your content/article so that it 
is paginated. On each page you can then put a {music} tag, such as {music 
pageNumber="0"} on the first page, {music pageNumber="1"} on the second page, 
et cetera.

This is thus "manual pagination" of sorts. If your music collection grows 
beyond the pages that you have foreseen in the content/article, some music 
items will not be accessible to your visitors. And you will thus have to 
manually keep (paginated content/article good enough for the number of music 
items in your collection.

For some administrators, that may be far from ideal, and I do appreciate that 
this might be a "show stopper" for some of you, but that is just what the 
design of this plugin is. It is designed for a particular purpose, and it does 
that well.

You can see a working example of paginated content/article with {music} tags 
here:

http://www.veronicaanders.net/en/sound-tracks/76-commercials

Original comment by sanderverh on 21 Feb 2014 at 5:16

GoogleCodeExporter commented 9 years ago

Original comment by sanderverh on 21 Feb 2014 at 5:16