How can we show all our TPL pages in the widgets in ACP dashboards?
I can see only few pages in ACP widgets, like topic.tpl, categories.tpl , etc.
How can i see all the other pages in my widgets in ACP such as /recent page, /profile page, /popular page, notifications page etc.
because when we see a page in widget we can easily add more content/html inside the header, sidebar and footer of those individual pages, this is a great thing but how can i see all my pages in ACP so i can have access to their sidebar and header footers etc ?
Theme needs to add those pages as supported widget areas, https://github.com/NodeBB/nodebb-theme-persona/blob/master/library.js#L38 and the tpl files in theme has to add the required markup.
@baris Any idea why we don't see topic.tpl on the latest version of nodebb i.e 1.7.4?
Theme is same (Persona)
However, I am seeing topic.tpl on another instance (1.6.1)
Not sure it could be plugin that is intefering. Disable all except core plugins and try again?
@baris Had no success even after disabling additional plugins. Anything else I could try?
Or any other way i could show recent topics widget via overwriting the topic.tpl file?
@baris Updated to 1.9 today. Still face the same issue. Here are my active plugins.
@julian Any ideas? One of our forum is stuck at this point for couple of months. Tried rebuilding, resetting and disabling extra plugins.
Try disabling custom pages as well, and switch to persona if not already done. This is what it looks like on this forum.
@baris After disabling custom pages here is what i see.
Makes me wanna band my head against the wall
@baris It finally worked. Here is what I did that solved. (For some other poor soul facing similar issue)
- Deactivated Custom pages
- Rebuilt templates (Didn't work)
- Removed Build folder and rebuilt (Still didn't work)
- Changed the theme to some other except person and rebuilt
- Activated Custom Pages
- Changed theme to persona
- Removed Build folder and rebuilt (Finally started seeing the damn tpl files)
One of the strangest issues i've ever faced.