Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 13Mar 13 Hello, Is there a way to create sub-forum specific widget? Currently, if I add a widget in one sub-forum, it's visible on all forums.
March 13Mar 13 Community Expert There isnt a way in which to add widgets only to a specific subforum at present. They a related to a page type, rather than a specific page
March 13Mar 13 Author I want to add a Topic feed widget which is limited to that sub-forum. Please consider it for the future version. Edited March 13Mar 13 by R G
March 13Mar 13 Community Expert I want to add a Topic feed widget which is limited to that sub-forum. Please consider it for the future version.I will move this to the feedback area for you
March 16Mar 16 I'm also interested in this!When you configure the widget, it could list sth like "where to show", such as "who can se". Edited March 16Mar 16 by Ibai
March 16Mar 16 Community Expert You can accomplish this by creating the widget in your ACP -> Pages -> Blocks. There you can modify the block template and enclose the entire thing in an {{if \IPS\Request::i()->id == 2}} or whatever the forum ID is. You'd then use that custom widget on your page instead of the default topic feed.
March 17Mar 17 Author You can accomplish this by creating the widget in your ACP -> Pages -> Blocks. There you can modify the block template and enclose the entire thing in an {{if \IPS\Request::i()->id == 2}} or whatever the forum ID is.You'd then use that custom widget on your page instead of the default topic feed.Thanks. This worked. I couldn't figure out a way to change the row layout to minimal, any tips on this?
March 17Mar 17 Community Expert Thanks. This worked. I couldn't figure out a way to change the row layout to minimal, any tips on this?Off the top of my head... you should have something in your template that says ipsData--table or ipsData--{$layout}. Change that to ipsData--minimal.