Small Admin Panel Hack: Show category in content list view

Post Reply
User avatar
CrazyBread
Master Bludit
Posts: 73
Joined: Tue Jan 19, 2016 9:51 pm
Location: Germany
Has thanked: 4 times
Been thanked: 5 times
Contact:

Because of I didn't find anything for my issue I've done a small improvement which I want to share with you:
I wanted to see the category of the content in the listview, so I expand the table a little bit:
>> Open "bl-kernel\admin\views\content.php".
>> Then insert the following code after line 64:

Code: Select all

echo '<th class="border-0 d-none d-lg-table-cell" scope="col">'.$L->g('category').'</th>';
>> Finally, insert the following code after line 93, 171:

Code: Select all

echo '<td>'.$page->category().'</td>';
Maybe someone finds this as useful as me. :)
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Thank you for sharing! Perhaps something for the core.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply