Grizzly Adam
Active member
Glad it worked for you. Took me several hours of searching examples to figure that out.AND that's how you use two expressions. Your little tidbit should be in the FAQ.
Glad it worked for you. Took me several hours of searching examples to figure that out.AND that's how you use two expressions. Your little tidbit should be in the FAQ.
Depends where but for album or media view the position needs to be xengallery_media_view or xengallery_album_viewIf I wanted a widget to show on a Xen Gallery page, what's the expression I would use?
I have found it works better to set everything in multiples of ten, have had lots of issues with widgets not showing at all if they aren't a multiple of ten.Hi
Don't know if anyone can help or not. I've created a Widget page to use as a homepage. I've got a 'Recent threads' widget as position '0' and a xen media gallery widget in position '1' However, the galley always displays above the recent threads. (see screen shots below) Any ideas?
![]()
![]()
It explains how to do this within a widget. There's an example below the Expression box.Short version: I set up a usergroup called "preorders," how do I make a widget show only to them?
Long version: We are starting to sell merchandise on our site to help cover the costs of our hosting and we are being very careful to make sure that pre-orders get the first chance to order. The widget will be a banner steering them towards the order page which is open only to them.
XenForo_Template_Helper_Core::callHelper('ismemberof', array($visitor,3)) -- means: show the widget for users of user group #3 only.
Hi
Don't know if anyone can help or not. I've created a Widget page to use as a homepage. I've got a 'Recent threads' widget as position '0' and a xen media gallery widget in position '1' However, the galley always displays above the recent threads. (see screen shots below) Any ideas?
If I wanted to have a widget display on the Gallery, Album and Media pages only, how would I configure that?Depends where but for album or media view the position needs to be xengallery_media_view or xengallery_album_view
It's based off of the template name. If you were using xfr I could tell you the template names.If I wanted to have a widget display on the Gallery, Album and Media pages only, how would I configure that?
@thejackarmy listed them as "xengallery_media_view" and "xengallery_album_view"It's based off of the template name. If you were using xfr I could tell you the template names.
That's the actual template. How would I position it in a specific position, say, in the sidebar if there's no specific hook for that on the template? Only a template edit?Then just drop them into the position field with a coma and probably a space Inbetween.
We use essential cookies to make this site work, and optional cookies to enhance your experience.