Forum Discussion
martinmichniak
Contributor
Thank you very much for your quick answer. I am afraid that this will not solve my problem, or I am doing something wrong or I don't understand it in the right way. I have tried to change the code a little bit (to display threads marked as solved only), but it was not successful...
I need to have this inside lithium, so this functionality would replace all the threads displayed originally, only solved threads will be displayed, with all info - author, date, number of replies, pagination, etc.
I was not successful with changing your suggested code... I don't need to have this on external page, just right in lithium...
I need to have this inside lithium, so this functionality would replace all the threads displayed originally, only solved threads will be displayed, with all info - author, date, number of replies, pagination, etc.
I was not successful with changing your suggested code... I don't need to have this on external page, just right in lithium...
xorrkaz
14 years agoGenius
My example is an in-Lithium solution. It creates a custom widget to display threads. My widget displays threads that have not been solved or that have no replies. You could reverse the logic to show those threads which are closed. However, that widget doesn't replace the default Lithium thread display widget. You could rebuild that widget if you wanted, though. You can use the Freemarker and REST calls to extract the per-thread data and list the attributes you describe (i.e. author, date, number of replies). My widget does not do that. It is quite simple. See the attached screenshot.
Related Content
- 9 months ago
- 2 years ago
- 11 years ago
- 7 years ago