Jump to content

previous & next button in pages database


Saurabh Jain

Recommended Posts

Posted

I agree to the feature request. Having database records that should be read and linked in order is not the case for all uses, but for A LOT of uses. Think of a Tutorial database for example where each record represents a step. How would you access the next step once you are on the record page?

  • The “next unread” option that is there is of not much use in this case. It’s not about read/unread, it's about the previous/next item based on the database ordering. 
  • The prevItem/nextItem variables available in the code also don’t work since they also don’t use the database ordering. 

A related problem is the missing option to reorder uploads to a multi-upload field. 

So in both cases, with individual records or items of an upload fields, it is too tricky to set up, order and guide users through the entries. 

Posted
1 hour ago, opentype said:

Think of a Tutorial database for example where each record represents a step. How would you access the next step once you are on the record page?

Ironically, that's a problem in IPS's own Guides section. I always find it a headache having to negotiate to the next step, especially because the relevant category list used to access the record collapses when it loads.

Posted
2 hours ago, Meddysong said:

Ironically, that's a problem in IPS's own Guides section. I always find it a headache having to negotiate to the next step, especially because the relevant category list used to access the record collapses when it loads.

Amen.  

@opentype Im thinking very creatively (aka making stuff up), but doesn't IP.Pages include custom fields that can be linked to each other?  Therefore, you can ... 

1. Define a custom field.  Call it chapters in a book, so you'll have Chapter 1 2 3 ... 488.  

2. Then you can relate or link one record to another.  So chapter 5 can be linked to chapters 4 and 6.  

Maybe? I feel like it's a very hacky method but also not, because you can customize the order ... 

Posted

Yeah, try doing that with 1000 records and when you add something inbetween you always have to update the neighboring records as well. 

The recording listings already have the proper order the admin wants. That just isn’t available on the record view. I know how to manually retrieve it with custom database queries, but a stock feature would make a lot of sense, either directly usable in the template or at least as variable accessible without custom database queries. 

Posted

how you can see the next page option /  next record option.......

 

I have 488 pages of a book and I want user to go on next page or previous page...just as a book

Should I place it manually ?

I have to deliver .. what is the best way  

Posted
On 2/28/2018 at 11:28 PM, Joel R said:

Amen.  

@opentype Im thinking very creatively (aka making stuff up), but doesn't IP.Pages include custom fields that can be linked to each other?  Therefore, you can ... 

1. Define a custom field.  Call it chapters in a book, so you'll have Chapter 1 2 3 ... 488.  

2. Then you can relate or link one record to another.  So chapter 5 can be linked to chapters 4 and 6.  

Maybe? I feel like it's a very hacky method but also not, because you can customize the order ... 

This looks a very good idea 

I have 488 pages

 

on page 1 I have created a new field URL   which will be named   next page

https://vidyasagar.guru/mookmati/mahakavya/khand-1/page-1/

I have added url

image.thumb.png.ae659b9f5fa35cfe3ffa3a962b803878.png

It is showing the complete url

I need a formatting .. Custom formatting  

please advise

 

Posted

Thanks once again...

it was working well .. just the display was an issue...

let me try with the other field

image.thumb.png.71723b05be68ecdedee33ec24b21c1c9.png

 

I have changed the field type to db relationship

but now what to add in this field...

How to fetch the record

Posted

image.thumb.png.aa368d718cb445c2385e5ffdf036be30.png

 

Previous page and next  page not looking good 

If previous page can be in left and  the next page can be in right most position

may be like page options....

can this be done ?

a little increase in font

 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...