Elxis CMS Forum

Support => Administration => Topic started by: perseas on November 04, 2015, 15:14:23

Title: Increase column width of the content manager
Post by: perseas on November 04, 2015, 15:14:23
Good afternoon to all members of the forum

I would like to permanently raise the width (from 270 px to 500 px) of the column "title" in the content manager (administration panel) to display more text of the title of each post.

Also in the same column I would like to appear (permanently) at least 50 instead of the defult 30 characters in each line .

Thanks in advance for your answers.
Title: Re: Increase column width of the content manager
Post by: webgift on November 04, 2015, 17:22:14

Hello @perseas
You could permanently increase the width of title's column at component content in back-end by
simply editing the file: /components/com_content/views/aarticle.html.php on line: 72. Analytically:
Change: $grid->addColumn($eLang->get('TITLE'), 'title', 200, true, 'auto');
To: $grid->addColumn($eLang->get('TITLE'), 'title', 500, true, 'auto');

In case for more than 30 characters in title then you have to edit the file which is located at
/components/com_content/controllers/aarticle.php on line: 195. In particular you have to
Change: if (eUTF::strlen($title) > 30) { $title = eUTF::substr($title, 0, 27).'...'; }
To: if (eUTF::strlen($title) > 50) { $title = eUTF::substr($title, 0, 47).'...'; }

Of course you could 'play' with the width and the number of characters since the time you will
find the desired results.
Title: Re: Increase column width of the content manager
Post by: perseas on November 04, 2015, 18:42:15
Thank you very much