nawDsign { Design With Style }

Changing the Title Maxlength in Expression Engine

Mar 06, 2008 | Nor Sanavongsay | Comments (2)

Are you writing articles that involve non-roman characters in the title and find that it does not fit the max 100 character length? For example, one of my client wanted to write an article in Lao, but it turns out that they needed more than 100 characters for their title. Because of the accent marks and other characters that make up a word, it was difficult to fit in into the title textfield. Well, I have found a workaround, but it is not pretty. Here we go…

  1. Modify your MySQL table

    • Use a database management software (I use phpMyAdmin) to get to your EE data. most web hosting services will have this installed already.
    • Select the database table that you name for your EE installation. (*_EE)
    • Look for *_weblog_titles on the left side panel and click on it. (* just means whatever you set the database table to when you installed EE. Mine was called EE_weblog_titles)
    • Edit the "title" field type. I used LONGTEXT with a length of 500. Add more if you need more.
  2. Modify your EE php files

    • Go into your file system where your EE was installed. yoursite.com/system/cp/
    • Look for and edit the cp.publish.php file.
    • Do a search for "publishTitleCluster" within the cp.publish.php file.
    • Look for the line 2569 "$DSP->input_text('title', $title, '20', '100', 'input', ..." and change the 100 to the length you desire. In my case 500.
    • Save it and you're done.

That's it! If you have any questions, please email me. Thank you for reading.

Blog Index | Previous Entry Next Entry
gravatar

1

mogya Mar 6, 2008 at 08:29 pm

Thanks! I got working fine by this.

And I have mentioned this workaround in Japanese on my blog.

gravatar

2

economic development May 27, 2008 at 05:35 am

Would it be possible for the module to check to see if a file is being linked to from within EE before it deleted it?

Share your thoughts:

Add a Smiley :)

Remember my personal information

Notify me of follow-up comments?

Submit the word you see below:

10 Recent Entries

Archive

Authentic Jobs ~ Cameron Moll

Come in, we're hiring

Full-time and freelance job opportunities available at
Authentic Jobs:

Post a job and reach web professionals everywhere.

Advertisement

Resell Web Hosting

Resellers Panel. It's fast, profitable, and FREE!

Places to find me

MyBlogLog

nor sanavongsay