Welcome to Geeklog, Anonymous Thursday, May 02 2024 @ 12:03 am EDT

Geeklog Forums

Limiting Character in Subject


Status: offline

lestat

Forum User
Chatty
Registered: 11/15/03
Posts: 64
I have a template that is smaller than usually, not 100%, that I'd like to limit the amount of characters one can use as a subject line. Is there a way to do this?

The reason behind it is, if someone uses more than n characters, the height I defined for my table doubles and changes the whole page.

Thanks.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You can limit the length of the title in the template files: submit/submitstory.thtml for stories submitted by users and admin/story/storyeditor.thtml for stories submitted by the Admin.

Search for "maxlength".

bye, Dirk
 Quote

All times are EDT. The time is now 12:03 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content