@pitaj I did some testing today with /categories 404'd. Seems as though things continued to work fine. I'm not disabling the functionality, just access to the page.
Creating a Page and Altering Templates
Im using the custom page template, i created a about.tpl (the page is called about) also im modifying the categories.tpl.
Once I restart my nodebb install, the about.tpl is removed and categories.tpl is pushed back to its original.
Is this suppose to happen? Or Do i need to put the files somewhere else?
Regarding the custom-pages plugin: I fixed that in a fork https://github.com/rbeer/nodebb-plugin-custom-pages/tree/tplCopyIssue.
For the categories.tpl: Do you edit it in the public/ folder? If so, then is the reset by design. The public folder holds - let's say - runtime files, that are compiled at startup, i.e. deleted and newly created.
To make your changes permanent, you'd have to locate the categories.tpl in your theme (e.g. node_modules/nodebb-theme-persona/templates/partials/categories).
ya just figured that out, im also looking to remove the global header widget from the custom page, but cant seem to find out where that is
That would be in the plugin's own templates folder. NodeBB takes those folders and compiles them into the mentioned public/ folder. In case of the header-widget in custom-pages, that would be https://github.com/rbeer/nodebb-plugin-custom-pages/blob/tplCopyIssue/templates/custom-page.tpl#L3 - I think. I'm not all too familiar with the widgets. In a nodeBB install, this also would be in node_modules/nodebb-plugin-custom-pages/templates.
ya i got the custom page ok, just looking for a global widget template so it doesnt show the widget i have set for the rest of the site, and use some sort of if the page is a certain name dont show it
i decidede to fork the recent cards plugin, and modify it to have the html markup i want only on the category page.