Next Article Code

4 posts by 2 authors in: Forums > CMS Builder
Last Post: June 13, 2012   (RSS)

By ILLUME-MEDIA-LABS - June 12, 2012

I wanted to include a next arrow on the article page so when users click on it, they will be taken to the next article that follows.

Is there sample code I can look at?

Thanks

Re: [Illume Magazine] Next Article Code

By Jason - June 12, 2012

Hi,

You can use the getPrevAndNextRecords() function. There's an example here:

http://www.interactivetools.com/forum/gforum.cgi?post=93578#93578

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Illume Magazine] Next Article Code

By Jason - June 13, 2012

Hi,

Yes, the function will return the next, previous, first, and last records. You don't have to use all of what it returns.

Please let us know if you have any other questions.

Thanks,
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/