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
Is there any way to adjust the max number of characters for topic titles?
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 22, 2015 - 4:14 am

To save losing it in future then yes - the child theme. Copy the appropriate template into the same position in the child theme and it will be used in place of the parent version.

andy-signature.png
YELLOW
SWORDFISH
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Dec 22, 2015 - 12:44 pm

kvr28 said
....this would have to be in the child theme correct?

Only if you have a modified copy of spForumView*.php in you Child Theme templates folder(s).

*Desktop and/or Mobile

This works for us (to limit count to 100 char.), when added to the array:

$addTopicForm = array(
'tagClass'                =>   'spForm',
'maxTitleLength'      =>   100,
etc...

@Ike Please correct me if I'm wrong. And FYI: That For Reference link throws a 404...
For reference

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 22, 2015 - 1:36 pm

Thanks jim, that's spot on wink

I think that link existed before we merged the Codex with the site.. Although possibly not. Either way it was a reference to theme template changes for 5.5.6 so outdated.. It's all on this page now.

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