Keyword

Prev/Next Categories?

  • Dave Star
  • Dave Star's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago #101343 by Dave Star
Prev/Next Categories? was created by Dave Star
Hi guys,

Brand new to K2! I have successfully managed to create the view I was missing from Joomla.

Like this:

<category1 title>
<category1 description>
<category1 article1>
<category1 article2>
<category1 article3>

<category2 title>
<category2 description>
<category2 article1>
<category2 article2>
<category2 article3>

<category3 title>
<category3 description>
<category3 article1>
<category3 article2>
<category3 article3>

I achieved it with the 'Latest Items' menutype and instead of selecting the parent category, selecting the all child categories.

However, what I'd like to achieve now goes like this:

<category1 title>
<category1 description>
<category1 article1>
<category1 article2>
<category1 article3>

<next link to category2>

I know there are several ways to achieve something similar to this, the reason I need to do it like this is because I'm trying to use masonry and infinite scroll:

masonry.desandro.com/demos/infinite-scroll.html

It works by defining a 'next' link which gets pulled in via ajax.

I've tried searching around but not coming up with anything. Any help gratefully received :)

Dave

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum