pagination does not work after reaching a certain entry

pagination does not work after reaching a certain entry

by Çağlar MERSİNLİ -
Number of replies: 3

i give a link about this issue 

http://mersinlihoca.com/mod/dataform/view.php?d=12&view=144&eids=805

pagination does not work as seen

i think so  ;   eids=[ [ entryid] ]   code  is preventing work

how can i fix this issue

Regards...

Average of ratings: -
In reply to Çağlar MERSİNLİ

Re: pagination does not work after reaching a certain entry

by Itamar Tzadok -

Yes, it is currently work in progress. It's not a simple fix. I will try to include that in the upcoming release. smile

In reply to Itamar Tzadok

Re: pagination does not work after reaching a certain entry

by Barbara Braun -
Is there any solution yet? I installed dataform version 3.0.4 and pagination seems to be a problem. I use the entryid pattern as I need a unique identifier for my entries. Thanks a lot.
In reply to Barbara Braun

Re: pagination does not work after reaching a certain entry

by Itamar Tzadok -

It is usually possible to obtain a reasonable workaround with a bit of javascript. For example:

  1. Create a designated view for the pagination.
  2. In the view template of this view add the view url hidden with css. E.g.
    <div class="hide">
    <div class="viewurl">##viewurl:Single##</div>
    <div class="viewentries">##entries##</div>
    </div>
    <div class="paginationcontent"></div>
  3. Set the entry temlate to generate a list of all the entry ids separated by space or comma. E.g. (note redundant space in the square brackets)
    [[entryid] ],
  4. In the activity JS tab add a bit of javascript that takes the inner html of the viewentries element and generate the list of entry ids from it; then it takes the Single view url from the viewurl element and creates a link to each entry; with a bit more javascript you can add previous and next links and highlight the current active link.

A more robust solution is still work in progress.

hth smile