Annika

Dazed
Dazed
@dazed
9 years ago
1,022 posts
Hey Paul - I found a few minutes today and started playing around with this module. I have two things I wanted to ask about. I added the "advanced usage" code from here - https://www.jamroom.net/the-jamroom-network/documentation/modules/2703/annika

#1 - There is an onclick link to show members. How do we an another to get it back to default view without refreshing? Ultimately I would just like the link to change on click from members to artists.

#2 - On the news section the page forward is not working for me.

ex. http://www.mixposure.com/dazed/audio

Thanks for the help and nice work on this mod.
updated by @dazed: 09/26/15 05:31:39AM
paul
@paul
9 years ago
4,326 posts
You'll need to create two sets of variables using the jrAnnika_encode smarty call, one for your members and the other for your artists, then have two 'onclick' links using these variable sets that define what is shown in the specified 'Live Wall'.


--
Paul Asher - JR Developer and System Import Specialist
Dazed
Dazed
@dazed
9 years ago
1,022 posts
Thanks Paul. What about #2?
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
The pagination you using for the news section is different.
michael
@michael
9 years ago
7,715 posts
Dazed:
Thanks Paul. What about #2?
The code on the NEXT button is:
jrLoad('#site_news_div','http://www.mixposure.com/site_news/p=3');

That code reads "change the div with the id="site_news_div" to show the second page of news". But your news div does not have id="site_news_div" on it so the code doesn't know where to change. So it doesn't change.

add id="site_news_div" to the place where you have that max-height:500px and your navigation will work.

it should look like this:
<div style="max-height: 500px; overflow: auto; height: 100%; opacity: 1;" class="item" id="site_news_div">