topics.tpl Missing in Extend - Widget Section



  • Hello,

    My site is on Persona Theme (the default theme).

    Here at Extend - Widgets, I could only see

    global and groups/details.tpl

    However, the thread at
    https://community.nodebb.org/topic/8790/categories-tpl-category-tpl-topics-tpl-and-motd-in-persona

    says .....there are Categories.tpl, category.tpl, topics.tpl

    How can I get the topic.tpl in the widgets section.

    Actually ...I would like to have

    1. Suggested Topics at the end of the post

    2. Recent Topics in the home page (header area). Installed the recent cards plugin and activated it only to get Internal Server Error . How should I get the recent Topics?

    Please do guide me.



  • @srinik

    Atlast after deactivating and then reactivating the theme ...the topic.tpl appeared in the widget section.

    Is there any quick fix to get the title "suggested topics" or any custom title for the topics?

    I dragged the jumbotron into the container option ...and thus could get the box for the 8 topics but the title is still missing.

    The Recent topics issue is still pending to be resolved.

    Any help?



  • The title is just an input box on the widget.

    0_1537890156477_352472af-8329-4ad8-893f-a302e2b0fb93-image.png



  • @baris Entered the title in the input box but didn't work.

    Just copied the html code in the container (as specified in your image) ...and it worked out.

    After going through the code ...i came to know that

    <div class="panel-heading"><h3 class="panel-title">{{title}}</h3></div>
    

    was missing in that ....thus there was no title.

    Thanks 😄

    BTW ... Is there any fix for the Recent Topics issue?



Suggested Topics

  • 1
  • 13
  • 3
  • 3
  • 2
| |