Limit length of auto-generated “URL Title” in control panel? 
Posted: 15 May 2008 12:17 PM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  141
Joined  03-05-2008

How do I limit the length of “URL Titles” as they are auto-generated in the control panel?

A forum search was unsuccessful.

Profile
 
 
Posted: 15 May 2008 12:27 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  13102
Joined  05-15-2004

Some discussion there:
http://expressionengine.com/forums/viewthread/34416/

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 15 May 2008 01:20 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
RankRank
Total Posts:  141
Joined  03-05-2008

Thank you. Helpful post. Three thoughts.

1. There already is a character limit on the URL Title; after pasting a long Title, it was truncated at 75 characters in the URL Title. Why not allow that length to be customized?

2. I’d like to be able to rename “Title”—into something like “Brief title,” perhaps—so I can use a custom field name like “Excruciatingly-long vanity title”.

2. I’d like control of how the URL is generated, including the ability to use an alternative field altogether. I used to use this.

So, I guess these are for the feature requests forum.

Profile
 
 
Posted: 15 May 2008 01:26 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  13102
Joined  05-15-2004

Ad 1: Why not indeed? Currently it’s hardcoded, but there’s no reason this couldn’t become a configurable option. Feel free to make the appropriate FR.

Ad 2: You can simply rename it in the language files. Just change “Title” to whatever you like.

For the last point you’d probably need an extension, though.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 61038 Total Logged-in Users: 35
Total Topics: 73818 Total Anonymous Users: 15
Total Replies: 398210 Total Guests: 504
Total Posts: 472028    
Members ( View Memberlist )
Newest Members:  kirriewanweiRichard DyckArania JainEspenshawnblancid3abonnieshulldkrapejleijenaar