solved need help with pager

mountaintop
@mountaintop
5 years ago
76 posts
not sure what I do wrong
we have artist promotion manager, which manage numerous artist
like to show on their homepage all the individual artist managed.

it works in principle however the pager seem not to behave as expected

{jrCore_list module="jrProfile" search1="_user_id = {$_user_id}" search2="_profile_id != {$_profile_id}" pagebreak="12" pager="true"}

it show 12 artist and indicates there are 3 more pages of artist, however when selecting the next page is always jumps back to page one

the url shows always https://frc-all-music.com/e-s-e-eventagentur-september-entertainment/p=2

happy for any suggestions

thank you


--
jesan
FRC All Music

updated by @mountaintop: 08/04/19 05:00:28AM
paul
@paul
5 years ago
4,325 posts
You need to include the page parameter in your jrCore_list call -

{jrCore_list module="jrProfile" search1="_user_id = {$_user_id}" search2="_profile_id != {$_profile_id}" pagebreak="12" page=$_post.p pager="true"}

hth


--
Paul Asher - JR Developer and System Import Specialist
mountaintop
@mountaintop
5 years ago
76 posts
Thank you it works

tried the page=$ before but did not have the right syntax


thank you for your quick help


--
jesan
FRC All Music