• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Looking to Xenporta 2 Random Media Block

whitetrash

Active member
#1
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!!!
 

whitetrash

Active member
#4
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
but
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
#9
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.
 

whitetrash

Active member
#11
Martok,
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
#12
To be honest, you would probably be best getting support for the styling specific stuff from the author of the style.
 

Russ

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

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