Maxxamillion
Well-Known Member
is there any way to get the recent posts into the sliding canvas and replace the new posts with recent posts in the buttons on the bottom of the screen in mobile view?
{xen:link 'find-new/posts'}
{xen:link find-new/posts, '', 'recent=1'}
<li class="navTab xbOffCanvasExtraLink">
<a href="{xen:link find-new/posts, '', 'recent=1'}" rel="Menu" class="navLink NoPopupGadget">{xen:phrase recent_posts}</a>
</li>
Works great russ, however how would i add the recent posts under the forums offcanvas menus rather than at the bottom of the menu itself?So in xb_mobile_bar
Replace:
Code:{xen:link 'find-new/posts'}
with
Code:{xen:link find-new/posts, '', 'recent=1'}
Then in xb_offcanvas_helper_bottom we have a template you can add new links, add this to the very top
Code:<li class="navTab xbOffCanvasExtraLink"> <a href="{xen:link find-new/posts, '', 'recent=1'}" rel="Menu" class="navLink NoPopupGadget">{xen:phrase recent_posts}</a> </li>
Should get you sorted if I understand correctly.