How to develop an uploadable theme template function? #12370
Unanswered
the-content
asked this question in
Q&A
Replies: 1 comment
-
Cool project!!! You can take inspiration of the multi-tenant template/plugin of payload. For setup, create a kind of global where you define the settings of a tenant. Where can we follow your progress? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am developing an e-commerce system for a client. How can Payloadcms design a backend that can switch the front-end theme template, just like the theme switching of WordPress. The backend can directly change the front-end template theme. For example, the backend creates a theme switching configuration page, and then you can upload the packaged front-end nextjs build code and upload it. It also includes a theme configuration file, such as

theme.json
, which contains the theme thumbnail preview and theme name. The backend can display all the information of this theme, just like WordPress displays a thumbnail and an installation button, and then clicks on the installation and use, the front-end theme will change. How to design such a function, and how can the front-end dynamically switch according to the theme selected by the user? I found a website that seems to have implemented similar functions, but it is not open source: https://cornerrr.comBeta Was this translation helpful? Give feedback.
All reactions