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

Random Media block and Widget Framework

imthebest

Formerly Super120
#1
Hi,

I'm using Widget Framework (2.5.9) and I have enabled the display of the Random Media block on my forum index sidebar:

sffs.png

However the block isn't appearing on my forum index sidebar.

On the Widget Framework I have the following widgets on forum_list:

- Clear Sidebar
- Threads (1)
- Threads (2)
- Users Online Now
- Forum Statistics

I expect the Random Media block to appear before the Users Online Now widget.

Is this easily doable?

Thanks,
Super120
 

Brogan

XenForo moderator
Staff member
#2
Support for the WF add-on must be posted in the add-on thread.

The fact that you have 'Clear Sidebar' selected could have something to do with it.
 

imthebest

Formerly Super120
#4
Chris, just one question.

Regarding the guide you linked (which was very helpful), what value should I put in this line:

Code:
<xen:set var="$slideWidth">x</xen:set>
It says 160 by default on the guide however looking at xenforo.com/community I can see that each thumbnail is 110px x 110px so should I put 160 or 110?
 

Chris D

XenForo developer
Staff member
#5
The default is 160 too, it's also a style property @xengallerySlideWidth

The value is more like "maximum slide width". It is mostly overridden by the responsive nature of the slider, hence they will usually appear much smaller than 160. If the slider was to get bigger, however, the slides shouldn't get any wider than 160, at that point the space between each slide gets bigger, instead.

Long story short: What you're seeing here is the default value of 160 so there should be no need to change that.