× If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html

next record

12 years 4 months ago #621 by
next record was created by
Is posible to add "next record / previus record" button or link in single view?
Thanks

Please Log in to join the conversation.

  • mike11
11 years 9 months ago #973 by mike11
Replied by mike11 on topic Re: next record
This is an excellent component...

I'm also very much interested in a Next / Previous Record Button / Link for the Single View pages.

I have been trying to implement it myself, but I am not proficient enough in PHP and MySql to be able to understand how the component works.

I can imagine how the MySql code would look, but don't know how or which file to implement it in.

Any help would be appreciated!

Please Log in to join the conversation.

More
11 years 9 months ago #974 by joest
Replied by joest on topic Re: next record
Hi,
our next Proversion (coming soon) will have this aditional funktion to make it very easy to add next / previous button to jump to next / previous singel view page.
(Little bit tricky - cause you have to take care of your ordering. Just jumping to the next id - of single entry - won´t always show the expectet next or previous view).

Please Log in to join the conversation.

More
11 years 5 months ago #1183 by lars.butveit
Replied by lars.butveit on topic Re: next record
Hi,
Is the "next record / previus record" button now implemented in Pro?
I can't find them, and would very much like to have them :-)

Great component, btw!

-Lars

Please Log in to join the conversation.

More
11 years 5 months ago #1187 by Dirk
Replied by Dirk on topic Re: next record
Currently we don't have the time to implement new functions.

Maybe next week. So please stand-by.

Even if such a function would be easy to implement. The Problem is to detect what's the next or previous record because you don't know how your collection is sorted if you are in single record view.

Please Log in to join the conversation.

More
11 years 5 months ago #1188 by lars.butveit
Replied by lars.butveit on topic Re: next record

dirk wrote: Currently we don't have the time to implement new functions.

Maybe next week. So please stand-by.

Even if such a function would be easy to implement. The Problem is to detect what's the next or previous record because you don't know how your collection is sorted if you are in single record view.


Sounds good!
I only need next and previous record according to the database ID's.
In other words two more variants of {joodb id}:
{joodb prev_id} = Current ID minus 1
{joodb next_id} = current ID plus 1

Thanks,
Lars

Please Log in to join the conversation.

Moderators: Dirkjoest