Merge command: [strnews-boxnrpages ]
Merge variable/item: nrPages
Comments:
This calculates the number of news boxes that could be generated (browsed through) depending of the total number of available documents and the number of documents per box.
Formula:
@If(nrTotal<=nrOnpage;1;@Round((nrTotal/nrOnpage)+0,49));
Merge variable/item: nrPages
Comments:
This calculates the number of news boxes that could be generated (browsed through) depending of the total number of available documents and the number of documents per box.
Formula:
@If(nrTotal<=nrOnpage;1;@Round((nrTotal/nrOnpage)+0,49));