How to Hide Widget from Forum Main Page?

hogmot

Member
Registered
Joined
Dec 12, 2019
Messages
5
Points
3

Reputation:

Hi all, any help is appreciated

I want to hide a widget only from the forum list page (I want it display everywhere but the forum main page)
I couldn't find a solutions so in the widget conditional section i used:

Code:
$xf.reply.containerKey
but this is not the best option as I want it to appear in more places
is there a widget conditional just for forum_list?

thanks in advance!
 

lucius

[Your Local Welcoming Committee]
Moderator
+Lifetime VIP+
V.I.P Member
Collaborate
Registered
Joined
Apr 29, 2020
Messages
126
Points
43

Reputation:

Hi all, any help is appreciated

I want to hide a widget only from the forum list page (I want it display everywhere but the forum main page)
I couldn't find a solutions so in the widget conditional section i used:

Code:
$xf.reply.containerKey
but this is not the best option as I want it to appear in more places
is there a widget conditional just for forum_list?

thanks in advance!
ACP>Appearance>Widgets
Find your widget and click on it, it will have all the view options, unclick where you don't want it, click where you do want it :)
 

hogmot

Member
Registered
Joined
Dec 12, 2019
Messages
5
Points
3

Reputation:

sorry the default options doesn't work for this purpose, the clicking don't stop it from displaying the forum home page

got any experience in conditionals?
 

Fusio

Collaborate
Collaborate
Registered
Joined
Apr 25, 2020
Messages
64
Points
18

Reputation:

Hi all, any help is appreciated

I want to hide a widget only from the forum list page (I want it display everywhere but the forum main page)
I couldn't find a solutions so in the widget conditional section i used:

Code:
$xf.reply.containerKey
but this is not the best option as I want it to appear in more places
is there a widget conditional just for forum_list?

thanks in advance!
simple. in appearance »widgets you open the widgets by clicking on the name and there you will see a list of options where you can mark or unmark the places where you want or not to display said widget. Remember to guide you through the numbers of the other widgets so that you position it correctly (this last comment as a tip) I hope it helps you.
 

lucius

[Your Local Welcoming Committee]
Moderator
+Lifetime VIP+
V.I.P Member
Collaborate
Registered
Joined
Apr 29, 2020
Messages
126
Points
43

Reputation:

I also directed him to do this, I believe that he wants it "Style" specific for a style itself, which means how to change the code and functions to remove it completely from that specific style, versus using the regular options in the ACP panel
 

hogmot

Member
Registered
Joined
Dec 12, 2019
Messages
5
Points
3

Reputation:

I doesn't work because I will have duplicate of the widget.
this is my situation:

Widget: Live Statistics
- I have live statistics at the top of my forum list
- I want live statistics on my footer of all other pages
- But this means I will have 2 Live statistics on top and bottom of my forum list
- So I need a conditional in the widget options to exclude forum list from displaying live statistics on the footer
 

thomsa

Well-known member
Registered
Joined
Jun 22, 2019
Messages
234
Points
73

Reputation:

what widget name ?
 

hogmot

Member
Registered
Joined
Dec 12, 2019
Messages
5
Points
3

Reputation:

Live Statistics

This is my situation:
- I have live statistics at the top of my forum list
- I want live statistics on my footer of all other pages
- But this means I will have 2 Live statistics on top and bottom of my forum list
- So I need a conditional in the widget options to exclude forum list from displaying live statistics on the footer
 
Top