Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
How to Set Forum Listing to CLOSE as Default
Avatar
GQ
Rookie
Free Members
sp_UserOfflineSmall Offline
Mar 19, 2014 - 9:15 pm

How can we set Group Forum Listing to Close as default.  spGroupView.php

I made changes to the following line in spGroupView.php, but its not working.  It keeps opening the Group Forum list.   I am not sure if I need to make changes at any other place.  I would appreciate any help

Original:     sp_GroupOpenClose('tagClass=spIcon spRight&default=open', 'Open forum listing', 'Close forum listing');

Changed Default to close:     sp_GroupOpenClose('tagClass=spIcon spRight&default=close', 'Open forum listing', 'Close forum listing'I would appreciate your help.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 20, 2014 - 12:58 am

its closed, not close...  for the argument... per:  http://codex.simple-press.com/.....openclose/

Avatar
GQ
Rookie
Free Members
sp_UserOfflineSmall Offline
Mar 20, 2014 - 2:52 pm

Thank you so much Mr. Papa.  I changed it to "closed"  and it's working.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 20, 2014 - 3:54 pm

Good to hear you have it as you want it.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626