Support Forum

How to Set Forum Listing to CLOSE as Default

GQ GQ
GQ
Member

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.

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

its closed, not close…  for the argument… per:  http://codex.simple-press.com/codex/api/template-functions-and-the-api/display-template-functions/group-view/sp_groupopenclose/

GQ GQ
GQ
Member

Thank you so much Mr. Papa.  I changed it to “closed”  and it’s working.

YS Yellow Swordfish
Yellow Swordfish
Member

Good to hear you have it as you want it.