Pagination of content

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
thomsonson
Forum Members
Forum Members
Posts: 39
Joined: Wed Aug 24, 2011 9:47 am

Pagination of content

Post by thomsonson »

Hello,

Does anybody know of an efficient way to paginate between actual pages (as opposed to bits of content on one page)? I have a number of albums made from the Album module, and I want each one on a separate page. An example from my existing static site is here:
http://mummeryschnelle.com/pages/oriselector0.htm - pagination below the submenu on the right

The pagination also needs to be able to "cycle" as it does in this example, rather than stop at the first and last pages.

If this is not possible, can one insert albums into the News module and use the build in pagination to achieve the same solution?

thanks!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Pagination of content

Post by Dr.CSS »

I'm going to assume each one of those is a whole/single album...

In a page content box...

<div>{album call for one/single album}</div>
<div>{album call for another single album}</div>
<div>{album call for another single album}</div>
<div>{album call for another single album}</div>
etc.
etc.

Then use the jQuery cycle plugin to cycle thru them...
thomsonson
Forum Members
Forum Members
Posts: 39
Joined: Wed Aug 24, 2011 9:47 am

Re: Pagination of content

Post by thomsonson »

That seems to be a good solution, except for an odd problem with the pagination within the individual albums. Here is the page:
http://lindaaloysius.com/index.php?page=test

When you advance to the second album with the jquery cycle selector, than try and advance to the 2nd pic in the 2ns album, it jumps back to the 1st pic, 1st album.

I am little stumped with this.. have tried putting each album into an individual category but this does not solve the problem.

This is what i have in the page content:

Code: Select all

<div class="slideshow">
<div>{Album albums='test1'}</div>
<div>{Album albums='test2'}</div>
<div>{Album albums='test3'}</div>
</div>
<br /><br />
<div class="nav">
<a id="prev2" href="#">Prev</a> 
<a id="next2" href="#">Next</a>
</div>
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Pagination of content

Post by Dr.CSS »

I would build both of them to use the cycle plugin, there is a chance that the next/prev. of the album template is messing with the cycle...

You may want to look into cleaning the html on that page, it can effect cycle...
thomsonson
Forum Members
Forum Members
Posts: 39
Joined: Wed Aug 24, 2011 9:47 am

Re: Pagination of content

Post by thomsonson »

Yes, I have also tried using a pagination tag developed from Dynamic Drive, but with the same result.. obviously the Album pagination links cannot handle multiple Albums on the same page.. :-?

I would much prefer to use Album than nested jquery slideshows as in this instance it will be far easier for the client to manage (also much better for managing captions).

The only good solution I can see would be to have each Album on a separate page.. would it be possible to create a menu template with pagination to navigate between the pages, rather than a horizontal or vertical list of page links?
Post Reply

Return to “Layout and Design (CSS & HTML)”