Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Please Read This First:

This is a community-driven self-help category to ask questions about designing or developing your own Kunena template. Please be aware that there are rules that apply to topics posted in this category:

Do not use this category for:
  • asking questions about how to make simple changes to a template designed by the Kunena project team (use K 3.0 Templates instead);
  • advertising your own template designs.

Topics that do not meet the above guidelines may be removed without notice.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question Tree view in template

More
1 year 10 months ago - 1 year 10 months ago #231541 by limabravo
Hello,
I am migrating a VBulletin 4.2 forum to Kunena 6.3. In the VBulletin forum we used the tree view. While migrating I noticed that the database table messages contains a column called parent and there is also Default Topic Layout in the Configuration -> Frontend but which doesnt work in Aurelia.
Is "indented" for Default Topic Layout offering a treeview? If so, how can I activate this feature in the template? I am mostly interested in sorting of messages of one topic meaning that a child messages should be displayed below its parent messages although chronologically there are several posts between the parent and the child message.
While browsing through the source code, I've seen this snippet of code (template -> aurelia ->layouts -> topic -> item -> default.php, line 119):
Code:
foreach ($this->messages as $id => $message) { echo $this->subRequest('Topic/Item/Message') ->set('mesid', $message->id )->set('location', $id); }
Has  (location, $id) something to do with the sorting of the messages?
Thanks for your support!
Last edit: 1 year 10 months ago by limabravo.

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #231554 by rich
Replied by rich on topic Tree view in template
Sorry, Aurelia does not offer this feature. The setting option has not been removed so that 3rd template authors can access it.

Important! Always create a backup before you make any changes to your website!

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #231574 by limabravo
Replied by limabravo on topic Tree view in template
Thank you rich! But does the setting option supply sorting of the messages as a tree view or flat view or is it just a css class that is activated and could be used by 3. template author (or me making my special Aurelia template) for designing the indentation of a message? Is there any function in Kunena, I can use to sort messages of one topic as flat view or tree view?

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #231606 by rich
Replied by rich on topic Tree view in template
I'm not a developer, so I can't answer your question completely.
Decades ago it was possible to change the view with these settings. I think with these settings only the parameters were passed to the template with which it is called. But maybe I'm wrong. A developer could probably give you a more helpful answer, unfortunately I don't have the knowledge.

Important! Always create a backup before you make any changes to your website!
The following user(s) said Thank You: limabravo

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago #231621 by limabravo
Replied by limabravo on topic Tree view in template
Thanks, rich!
It would be cool, if a developer could answer this issue :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.291 seconds