Resource icon

[bd] Widget Framework 2.6.6

No permission to download
Works great thanks -
Is there a way to customize the container that feed reader uses without effecting the sidebar widgets?
You can edit the template, adding a few CSS classes, etc. I don't really understand your question actually :P
 
You can edit the template, adding a few CSS classes, etc. I don't really understand your question actually :p
Well it is wrapped in the widget-container class, so if I edit the css such as .widget-container h3, that change also effects the sidebar widgets
 
Well it is wrapped in the widget-container class, so if I edit the css such as .widget-container h3, that change also effects the sidebar widgets
Do you really need to change that <div />? You may get better result changing ".WidgetFramework_WidgetRenderer_FeedReader"...
 
Is it also possible to show the feeder only to usergroups x,y,z and only template forum_view via the hook system?
User group is possible using conditional like what you did. If you use hook position, you can choose a hook which only exists in forum_view?
 
i clicked this link and now ALL of my pages load with the add widget button. i can't seem to find a way to get rid of them.

Look up in the moderator bar, should be able to click on the Disable Widget Reveal Mode (Widget Framework) button and exit out of it.
 
I display the feed reader widget under a forum using hook:page_container_breadcrumb_top
1) Which condition to use if I only need to display it under a specific forum
2) Can the feed reader be displayed in 2 columns when using this hook. It makes sense to show 1 column if it's on sidebar but for other hook locations that are wider, it may be better to have more than 1 column.

Thanks a lot.
 
I display the feed reader widget under a forum using hook:page_container_breadcrumb_top
1) Which condition to use if I only need to display it under a specific forum
2) Can the feed reader be displayed in 2 columns when using this hook. It makes sense to show 1 column if it's on sidebar but for other hook locations that are wider, it may be better to have more than 1 column.

Thanks a lot.
1) For that hook position, there no available information to limit to some forum. Sorry.
2) You can't to that now. But that's a good idea...
 
1) For that hook position, there no available information to limit to some forum. Sorry.
2) You can't to that now. But that's a good idea...
Understand.
In the meantime, I will put it on the sidebar and use condition to put it under forumid instead.
Thank you.
 
What would be the equivalent expression for this conditional that I am using in an XF template?

<xen:if is="!{xen:helper ismemberof, $visitor, 9,17}">

Thanks!
 
What would be the equivalent expression for this conditional that I am using in an XF template?

<xen:if is="!{xen:helper ismemberof, $visitor, 9,17}">

Thanks!

You can use this:

PHP:
XenForo_Template_Helper_Core::helperIsMemberOf($visitor, 9, 17)
 
Thanks for the quick reply! What would be the code to do a NOT ismemberof on that expression?
Ah, I overlooked that exclamation mark. You can use it with the function like this:

PHP:
!XenForo_Template_Helper_Core::helperIsMemberOf($visitor, 9, 17)

Or to make it clearer, do it like this

PHP:
XenForo_Template_Helper_Core::helperIsMemberOf($visitor, 9, 17) == false
 
Back
Top Bottom