NoIs there a way to make a widget show in the Media gallery Left hand Sidebar?
Try Extra PortalI was thinking is there a way to have a widget with selected threads? Somehow I would select threads to feature and they would be displayed. While "Popular" is good to have, sometimes the popular threads are ugly and it would be nice to have a forum approved list of current good threads.
Interesting. Eventually I would like to have a portal, but I'm thinking of taking a smaller step first. What I was looking for was just a sidebar widget with "promoted" threads. I don't see that as an option in Extra Portal but maybe I'm missing it.Try Extra Portal![]()
Come over to xfrocks.com and register an account, I will let you download a new add-on of mine that allows you to do just that.Interesting. Eventually I would like to have a portal, but I'm thinking of taking a smaller step first. What I was looking for was just a sidebar widget with "promoted" threads. I don't see that as an option in Extra Portal but maybe I'm missing it.
Which gallery add-on? Normally it is not possible but if the add-on has a hook there (or you add a hook yourself), you can put a widget right on the spot.Is there a way to make a widget show in the Media gallery Left hand Sidebar?
It is possible with the HTML no wrapper widget and you put your <script /> tag in it. The expression will work just like usual. It cannot change existing <script /> tags in the template though.Is it possible to wrap a condition around a javascript file in the page_container_js_head template that will only render the javascript file when the page with the ID of 495 is loaded? I have run a few searches but the answer is eluding me.
Which pages are you looking to exclude? The most easy way is to use this in your expression:I have a sidebar on ALL but i need to know how to exclude it on a 'few' Pages we have, how can I do this?
$_WidgetFramework_positionCode != 'thread_view'
What if more than one page?Which pages are you looking to exclude? The most easy way is to use this in your expression:
PHP:$_WidgetFramework_positionCode != 'thread_view'
Lets say just Pages I create in Xenforo so it would be site.com/pages/(name of page here)Which pages are you looking to exclude? The most easy way is to use this in your expression:
PHP:$_WidgetFramework_positionCode != 'thread_view'
Q: I'm using Jake Bunce's use nodes as tabs, each category is a tab and I've set the option in Node & Forum list to create pages for Categories so when you click on a tab it will will only show the category and forums for it. That's where I can't seem to get the framework working.
A: You can use "category_view" as one of your positions.
$forum['parent_node_id'] == <category-id>
I'm betting the WF doesn't take notice of the {$xenCache} variable which we use like this:
Error Info
ErrorException: Undefined variable: forum - library/WidgetFramework/WidgetRenderer.php(498) : runtime-created function:1
Generated By: Max Bacon, A moment ago
Stack Trace
#0 /home/bacon/www/www/library/WidgetFramework/WidgetRenderer.php(498) : runtime-created function(1): XenForo_Application::handlePhpError(8, 'Undefined varia...', '/home/bacon/www...', 1, Array)
#1 [internal function]: __lambda_func(Array)
#2 /home/bacon/www/www/library/WidgetFramework/WidgetRenderer.php(502): call_user_func('?lambda_1', Array)
#3 /home/bacon/www/www/library/WidgetFramework/WidgetRenderer.php(588): WidgetFramework_WidgetRenderer->_executeExpression('$forum['parent_...', Array)
#4 /home/bacon/www/www/library/WidgetFramework/Core.php(397): WidgetFramework_WidgetRenderer->render(Array, 'category_view', Array, Object(XenForo_Template_Public), '')
#5 /home/bacon/www/www/library/WidgetFramework/Core.php(316): WidgetFramework_Core->_renderWidgetsFor('category_view', Array, Object(XenForo_Template_Public), '')
#6 /home/bacon/www/www/library/WidgetFramework/Listener.php(126): WidgetFramework_Core->renderWidgetsFor('category_view', Array, Object(XenForo_Template_Public), Array)
#7 [internal function]: WidgetFramework_Listener::template_post_render('category_view', '???????????<ol ...', Array, Object(XenForo_Template_Public))
#8 /home/bacon/www/www/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#9 /home/bacon/www/www/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'category_view')
#10 /home/bacon/www/www/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#11 /home/bacon/www/www/library/XenForo/ViewRenderer/HtmlPublic.php(123): XenForo_Template_Public->render()
#12 /home/bacon/www/www/library/XenForo/FrontController.php(618): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#13 /home/bacon/www/www/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#14 /home/bacon/www/www/index.php(13): XenForo_FrontController->run()
#15 {main}
Request State
array(3) {
["url"] => string(65) "http:/----.com/categories/staff-section-forum-servers.55/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Thanks. Do you have any idea why it might not be working?I doubt that, We do it in the same way like you and it works. But we're still at 1.3 if that matters.
We use essential cookies to make this site work, and optional cookies to enhance your experience.