Looking to Xenporta 2 Random Media Block


Active member
Hoping to get help on getting a Xenporta 2 Random Media Block like it is set up here on xenforo:
With two images side by side, media titles and Left/Right scan arrows. Looks great.
Anyone have any luck with it?

Thanks much!!!


Active member
Martok, I am still trying to figure this out.
I follow your interactions for both xp2 and widget framework and the results are the exact same~
I get the random side by side
The header isn't wide enough
and there are no left or right scroll arrow!!!
Thanks for help.

Happy New Year.

Screen Shot 2015-01-01 at 10.59.40 AM.png

Chris D

XenForo developer
Staff member
It's worth noting that the left/right arrows are Font Awesome icons. If you have Font Awesome switched off then they won't appear. If your style already includes Font Awesome, and you haven't switched it off, then there's likely a clash between two simultaneous calls of Font Awesome so in that case you'd likely need to turn it off in the Gallery Options.


Active member
Fine sir, what would sidebar block setting be to make it look like mine?
Or where would I obtain that info?
<xen:set var="$isSidebarBlock">1</xen:set> // Sets the styling so it will look like a sidebar block
Thanks a lot!!!
Screen Shot 2015-01-02 at 4.53.38 PM.png

Chris D

XenForo developer
Staff member
To be honest, you would probably be best getting support for the styling specific stuff from the author of the style.


Well-known member
It's not a style issue, the block is simply loading sectionMain there instead of secondaryContent:

{xen:if '{$isSidebarBlock}', ' secondaryContent', ' sectionMain'}
So it's not treating it like a sidebarblock.