inherit
250354
0
Apr 20, 2022 10:16:53 GMT -8
sef1268
158
November 2017
sef1268
|
Post by sef1268 on Dec 2, 2017 9:01:22 GMT -8
Forum URL: spousecaregiver.proboards.comCrap. I was trying to change the settings on my Shoutbox so that it only appears on the main page of my forum and not anywhere else. Saw a thread from 2014 here with the same question and tried to follow it; botched it, of course. I deleted $[shoutbox] from the Wrapper and tried to put it under Home, but couldn't find the right location and now it's not showing up at all. Help? I really need to stop tinkering with the code before I blow up the entire thing. Thanks.
|
|
#e61919
Support Staff
224482
0
1
May 17, 2024 16:18:36 GMT -8
Scott
23,384
August 2015
socalso
|
Post by Scott on Dec 2, 2017 9:05:59 GMT -8
sef1268, where exactly would you like the shoutbox to be on the main page?
|
|
inherit
250354
0
Apr 20, 2022 10:16:53 GMT -8
sef1268
158
November 2017
sef1268
|
Post by sef1268 on Dec 2, 2017 9:37:40 GMT -8
At the bottom, where it was originally located, but I was hoping to hide it on all the other pages. Is there a way I can do this and not botch up the layout? Thanks.
|
|
#e61919
Support Staff
224482
0
1
May 17, 2024 16:18:36 GMT -8
Scott
23,384
August 2015
socalso
|
Post by Scott on Dec 2, 2017 9:59:25 GMT -8
At the bottom, where it was originally located, but I was hoping to hide it on all the other pages. Is there a way I can do this and not botch up the layout? Thanks.
Shouldn't be an issue, but before I looked further, just wanted to know for sure what you were trying to achieve. brb...
|
|
inherit
250354
0
Apr 20, 2022 10:16:53 GMT -8
sef1268
158
November 2017
sef1268
|
Post by sef1268 on Dec 2, 2017 10:01:32 GMT -8
Thanks! Greatly appreciate it.
|
|
#e61919
Support Staff
224482
0
1
May 17, 2024 16:18:36 GMT -8
Scott
23,384
August 2015
socalso
|
Post by Scott on Dec 2, 2017 10:10:32 GMT -8
sef1268 , Go to Admin > Structure > Layout Templates, Home template. Find lines 24/25 and add the shoutbox variable between them. So i should look like this: {/if} $[shoutbox] {if $[show_stats]} Since you have the info section disabled, this will put the shoutbox at the bottom of the page and only on this page.
|
|
inherit
250354
0
Apr 20, 2022 10:16:53 GMT -8
sef1268
158
November 2017
sef1268
|
Post by sef1268 on Dec 2, 2017 10:35:55 GMT -8
PERFECT! Thanks again!
|
|
#e61919
Support Staff
224482
0
1
May 17, 2024 16:18:36 GMT -8
Scott
23,384
August 2015
socalso
|
Post by Scott on Dec 2, 2017 10:41:50 GMT -8
You're welcome.
|
|