Skip to content

[NEW] Forum: Order the forums and sub-forums arbitrarily

Loïc Yabili requested to merge lyabs243/tiki:tiki-forum-order into master

Description

As detailed in Support Forums ( https://tiki.org/forumthread68978-Can-I-reorder-the-forums ) the current Forum structure, while allowing to sort by most recent, alphabetic, etc. does not have the ability to sort individual forums arbitrarily.

Depending on the forum type, you want to have the forum owner to be able to sort by forum's importance. This may differ from most recent, alphabetic, etc., and may have to be set arbitrarily (e.g. by assigning a forum number to each forum, which is generally not visible in the Forum view but provides the sorting order).

Steps to test

For forums:

To start, you must change the ordering mode of the forums in tiki-admin_forums.php click on 'forum ordering' and choose from the drop-down list which will display 'Arbitrary (asc)' or 'Arbitrary (desc)' then...

  1. Create forums in tiki-admin_forums.php
  2. In the 'Order' field of the table in admin forum, make changes according to the order you want.
  3. In tiki-admin_forums.php on the drop-down list below the table, select 'Reorder forum' and press 'OK'

For Sub forums: '

  1. Select a forum that contains sub forums in tiki-forums.php
  2. Click on 'Admin'
  3. In the 'Order' field of the table in admin forum, make changes according to the order you want.
  4. In tiki-admin_forums.php on the drop-down list below the table, select 'Reorder forum' and press 'OK'

Expected result

You can see the arbitrarily ordered forums on the list of forums.

Merge request reports