XF 1.x Zipped 1.5.9 recent posts

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?
 

Russ

Pixel Exit Staff
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.
 

Maxxamillion

Well-Known Member
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.
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?
 

Russ

Pixel Exit Staff
Edit the template: xb_offcanvas_menu

You can find all the forum sub-links underneath this portion:

Code:
<xen:hook name="navigation_tabs_forums">
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.