New Free Module - Annika (Live Wall)

paul
@paul
9 years ago
4,326 posts
Checkout my blog post here - https://www.jamroom.net/paul/blog/69/annika - then the Marketplace - https://www.jamroom.net/the-jamroom-network/networkmarket/252/annika

:-)


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 08/07/15 12:07:42AM
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
Does pagination work with this module? Been trying for a while now and cant seem to get it too work, click on next page and it offers a json file for download.

<div class="block">
        <div class="title">
            <h2>Recent Activity</h2>
            {if jrCore_module_is_active('jrFeed')}
                <div style="float:right">
                    {jrCore_module_url module="jrFeed" assign="furl"}
                    {jrCore_module_url module="jrAction" assign="murl"}
                    <a title="Update Status" onclick="jrCore_window_location('{$jamroom_url}/{$_user.profile_url}/timeline/')" href="{$jamroom_url}/{$_user.profile_url}/timeline/">
                        <span class="sprite_icon sprite_icon_20"><span class="sprite_icon_20 sprite_icon_20_img sprite_icon_20_plus">&nbsp;</span></span>
                    </a>
                    <a href="{$jamroom_url}/{$furl}/{$murl}/{$profile_url}">{jrCore_icon icon="rss" size="20"}</a>
                </div>
            {/if}
        </div>

        <div class="block_content">
            <div class="item">
                <div id="timeline">
                    {if isset($_post.p)}
                        {jrCore_list module="jrAction"  order_by="_item_id numerical_desc" pagebreak="5" page=$_post.p pager=true}
                    {else}
                        {jrCore_list module="jrAction"  order_by="_item_id numerical_desc" pagebreak="5" page="1" pager=true}
                    {/if}
                </div>
            </div>
        </div>
</div>
paul
@paul
9 years ago
4,326 posts
Hadn't considered pagination as I envisaged that a 'live wall' would only be used for latest items.
If pagination is really needed (a live update of page 2 of a list???) the page number (and page break) info would need to be passed to the template via the {jrAnnika_live_wall . . .} call.
hth


--
Paul Asher - JR Developer and System Import Specialist
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
I believe I tried that too and found it didn't work, you don't have a working example lying around?
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
Hey Paul,
that sounds great. Thanks for your time!
One question ... when i scroll down, does the timewall automaticly load new content - like facebook does? Thanks!
Stefan ;)
paul
@paul
9 years ago
4,326 posts
SelfmadeClub:
Hey Paul,
that sounds great. Thanks for your time!
One question ... when i scroll down, does the timewall automaticly load new content - like facebook does? Thanks!
Stefan ;)

No - That might be something to think about for a future release though.
Thanks


--
Paul Asher - JR Developer and System Import Specialist
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
Still unable to get pagination to work, it means that replacing the default profile timeline isn't currently an option with this.
paul
@paul
9 years ago
4,326 posts
Have been working on this module today and now have a means to add pagination. Just now trying to make sure that its not too 'clunky' to use. Give me another day or two.


--
Paul Asher - JR Developer and System Import Specialist
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
Thanks Paul, I've been that bogged down lately with clients websites that I have little time to work with Jamroom currently.
paul
@paul
9 years ago
4,326 posts
Version 1.1.0 release that includes a mechanism to dynamically update live wall parameters (with which one can do pagination).

Documentation at https://www.jamroom.net/the-jamroom-network/documentation/modules/2703/annika

Download from https://www.jamroom.net/the-jamroom-network/networkmarket/252/annika#c12829 or from your ACP Marketplace.


--
Paul Asher - JR Developer and System Import Specialist
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
Thanks Paul, tried this quickly and at first look all appears good :) Have to run now to meet a potential new client but hopefully I can get back to my jamroom site in a big way soon.
Bandwerkstatt
Bandwerkstatt
@bandwerkstatt
9 years ago
224 posts
paul:
SelfmadeClub:
Hey Paul,
that sounds great. Thanks for your time!
One question ... when i scroll down, does the timewall automaticly load new content - like facebook does? Thanks!
Stefan ;)

No - That might be something to think about for a future release though.
Thanks

Hi Paul!

That would be awesome. I´ll miss this function generally in jamroom, for example by comments and so on.

Hope you can do this, i cross my fingers for you ;-)
Many thanks!

Stefan

Tags