Resource icon

[bd] Widget Framework 2.6.6

No permission to download
You're making it too hard. When you make or edit a widget there is a position field-- put your template names in there. Once you save the widget will appear in the sidebar of that page. You do not have to edit th
Let's say, one of the hooks I want to place an rss feed widget is hook : age_container_content_title_bar. But, I want it to only show in the Xen Media Gallery pages.

Just using the general hook doesn't work.
 
Oh, I think I've got you. You are trying to set it in a specific spot on a specific page. I haven't tried that yet, but I do know if you don't set it for a specific hook it will go to the sidebar by default-- which is where I have wanted it. Report back if you figure it out, others will want to know.
 
Oh, I think I've got you. You are trying to set it in a specific spot on a specific page. I haven't tried that yet, but I do know if you don't set it for a specific hook it will go to the sidebar by default-- which is where I have wanted it. Report back if you figure it out, others will want to know.
Now you got it. The Xen Media Gallery Pages don't have specific hooks for the page so you're left with a general location "page_container_content_title_bar" which will put it everywhere.
 
Looks like that code goes in the expression box, you would replace the stuff in the array with you template and then set the position for your hook location?
 
As can be clearly seen from the screenshot, the avatar for the last poster displays the default avatar and not the members actual avatar.

EDIT: Also, how do you style/change color of the tabs you get when you create a tab group?

Anyone?
 
@LurkerLou the only places you can add a sidebar widget for XMG is in the 2 positions I gave you, if you want to add a widget to anywhere else within XMG you would have to use one of the hook positions which will also display then on other parts of your forum not just XMG.

If you go into 'Add Widget' then click....
upload_2014-10-13_16-55-39.webp

You will be able to see every position available to add your widget, bare in mind that most positions will be site wide not just for a specific page.
 
@Bob_R Tab styling can be done in Style Properties: PageNav, Link Groups and Tabs, but this will style ALL your tabs not just the ones in your widget group, to style those separately from other tabs on your forum you would need to do it via EXTRA.css template.
 
Maybe not an ideal solution but you could always just add this to your EXTRA.css and remove those avatars

.WidgetFramework_WidgetRenderer_Threads .lastPostInfo .avatar { display: none; }

Thanks Gemma. Until someone can expalin how to put the correct avatar in there, this is more than OK. Again, thanks.
 
@xfrocks Hello there, just noticed there seems to be an issue with full thread view when viewed on mobile - the post text aligns in a narrow column to the right, left side is empty - it's the same in Firefox responsive viewer - http://www.frostmourne.co.uk. Would be grateful for any insight on what may be causing this. Thanks :)
 
Last edited:
Hello
Can someone please explain to me in SIMPLE terminology how to install this Widget Framework addon? I've tried everything I know and when I upload the xml file, I get an error saying no files were found. Okay, so there are two foldeers in the upload folder, js and library, so do upload these folders separately or together via FTP and do I drag and drop them to where. The instructions say to upload the contents of the upload folder to the root of xenforo. Folks, I'm a newbie but I've installed many addons but for some reason I just can't figure this one out. I know I'm all around it but I'm obviously uploading the js and library to the wrong place. Where do I drag and drop these two folders to make this add on work. Any help on this would be greatly appreciated. I spent 4 hours on it last night with no luck. :(

Thanks
 
Hi ge66
So combine js and library folders together from the addon file with js and library on the right side (server) separately or together?

Thanks
 
The important thing is that what’s inside js on the addon on your computer gets inside js on the server and the same with library.
 
Back
Top Bottom