Providing a way to add new columns to forum and topic lists

Discuss requests for comments/changes posted in the Issue Tracker for the development of phpBB's style.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB or modifying styles of released phpBB versions. If you need support for phpBB please visit the Support Forums on phpbb.com.

If you have questions regarding creating styles please post in Styles Support & Discussion to receive proper guidance from our staff and community.
Post Reply
User avatar
Flerex
Registered User
Posts: 6
Joined: Sat Dec 10, 2016 8:07 pm

Providing a way to add new columns to forum and topic lists

Post by Flerex » Thu Mar 01, 2018 9:46 pm

Currently the template events available in forumlist_body.html and viewforum_body.html don't provide any way to add new columns (like, for example, the number of posts and topics that a forum has) to the lists. Adding a new template event doesn't quite solve the problem because prosilver's CSS doesn't consider the possibility of having more than the default columns.

As a new style is being developed, making changes to prosilver right now might not be worth it. It would be great to consider for the next phpBB style the possibility of having new columns added by extension developers by adding new template events and using some kind of technology like Flexbox to avoid hardcoding the column number.

What do you guys think?

User avatar
hanakin
Infrastructure Team
Infrastructure Team
Posts: 822
Joined: Sat Dec 25, 2010 9:02 pm
Contact:

Re: Providing a way to add new columns to forum and topic lists

Post by hanakin » Fri Mar 02, 2018 2:46 am

There will be no columns in the new theme! Anyway instead it will be a list for topics under the title and for forums it will not be a table but instead a card by default you can look at the current work. I will be working putting this in an easier to find place more prominent place when I get some time, but for now you can see this post for examples viewtopic.php?p=303566#p303566

Post Reply