Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:25 pm EDT

Geeklog Forums

Increase story title length?


Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
I'm nearly done with the setup of a new site using GL, and I'm pretty excited to have gotten most of it done by myself. I do have one question regarding maximum length of story titles.

My clients are wordy. LOL They have a couple of press releases with extremely long titles, and the full story title is not displaying - I'm running out of characters.

Where do I go to increase the maximum length of story titles? TIA.

- Don
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The story title is defined as a VARCHAR( 128 ) in the database. You could go up to 255 characters if you change that and all the templates. If you need even more, you would have to change it to a TEXT type.

bye, Dirk
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
Quote by: Dirk

The story title is defined as a VARCHAR( 128 ) in the database. You could go up to 255 characters if you change that and all the templates. If you need even more, you would have to change it to a TEXT type.

bye, Dirk



I just went into the story editor files in the Professional theme and changed the vaules for story title there, and that seems to have done the trick.

Text Formatted Code
<input type="text" size="48" maxlength="400" name="title" value="{story_title}">


The full title I needed to display is now showing in full. I doubt they'd ever get to a 400-charater story title, but I want to be prepared. Smile

Thanks, Dirk. I'll make the appropriate change to the database as well.

- Don
 Quote

All times are EDT. The time is now 10:25 pm.

  • 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