Vue - Switch between two different templates - vue.js

I've been developing a new Vue project to control the connected devices from one point, I've been working on an admin template and it's all good but there is something that I want to learn and implement to this application.
Let's say I want to change the whole frontend template (the admin template that I'm using now) and use a new design, how can I implement the whole existing application to a new template? For example, when you start creating a Wordpress page, it gives you different templates and you choose some of them and start designing the website... Maybe after six months you want to change that design and you simply click and switch to a new template and all the existing content will be migrated to the new template. That is exactly what I want to do with Vuejs.
I have to do this project, which I prepared with the existing theme, dynamically, as if I will pass it to another theme in the future. When switching my existing project to a new theme, instead of copying all the components and their related scripts, I want to be able to switch just like in Wordpress by simply throwing the theme file into the project. How can I add this functionality to the project?

Related

How to add new custom fields in checkout using checkout-sdk-js of bigcommerce?

How to add new custom fields in checkout using checkout-sdk-js of bigcommerce?
SDK:       https://github.com/bigcommerce/checkout-sdk-js
Example: https://github.com/bigcommerce/checkout-sdk-js
After fields add data of custom fields will be stored? How?
P.S. - I did a lot of search about it, but didn't get it that's why I've created this questions.
About storing the custom fields' data -- this depends on which framework you build your checkout with. If you decide to go with React, for example, you will store this 'new data' in the react state. To continue this example with React in mind, you can add new custom fields to the .jsx file depending on where you are needing these form fields to be located. However, the checkout SDK is written in vanilla JS, meaning it is completely framework-agnostic. So you can build your checkout in React, Angular, Vue, or even just plain HTML and JavaScript–whichever frontend framework you prefer to build in.

how to add autocomplete function to a column in oracle apex tabular form report

i want to add an autocomplete function to work in one of my column suppose name.It is easy to do using items.but how can i do it in the report.
Since a report doesn't contain Apex items, you can't do this with the built in features. Ignoring any possible plugins that may already be available, you can do this with jQuery UI, specifically the Autocomplete widget. Apex already includes some of the jQuery UI suite, but you may need to download the Autocomplete widget from the jQuery website.
This will need some custom work on your end. This really isn't that hard if you know how to use jQuery.
Download the jQuery UI Autocomplete widget and include it on your page. You can put just the .js file for that in your Application Shared Items. I have the whole jQuery UI library in a separate place on the webserver because I use different parts for different projects.
Source in that widget in the page properties.
You'll need to create text items with apex_item.text in your report.
You'll need an On Page Load dynamic action to attach the Autocomplete widget to your text items.
For the autocomplete source, if it's short, you can just use a Javascript variable that you put on the Apex page. If it's longer or you need to find the list at run time, you can use a function that calls apex.server.process.
If your report has Partial Page Refresh turned on, make sure the DA in step 4 has Dynamic scope, not Static.

Easy digital downloads - Form custom (add / remove / hide fields)

I want to create an e-commerce shop with : WP, Easy digital downloads and Frontend submissions.
To do so, I need to customize forms. As an example: I need to add & remove (or hide) fields on the fes_registration_form without breaking functions behind it.
I don't have a good vision of how the easy digital downloads plugin works so I don't know where to do my updates (don't want to break everything).
Could you please tell me how to proceed to add and remove fields on the fes_registration_form ?
I need to do the same job on the profile form and on the new product ones.
thank you
You can easily add and remove form fields for the profile and product submission via the built in form builder. There is a simple drag and drop system.
https://docs.easydigitaldownloads.com/article/962-frontend-submissions-form-builder
For further custom work you would need to get your hands dirty. I have just completed a major project in totally changing some functions within the forms. This involves a combination of hooks, filters and extending some of the classes provided by the FES extension.

How to create admin panel for yii 1.x framework, also integrate a custom theme such that gii crud auto-generate and auto-integrate css in views?

As my question say, I need to create an admin panel for yii 1.x framework, also I have a custom theme I downloaded for yii 1.x. I want to integrate it such that gii CRUD when generate views theme will auto-integrate css in views.
I want the above to work only with the admin panel? Or if there's another way, it's also welcome.
There's a catch, my front end website is already completed with a different UI. It was a theme but I didn't used crud for it. I have created every thing manually to get better command on it. For admin panel I want to use CRUD.
I checked this question, creating admin panel in stackoverflow search, my problem is slightly different.

How do I switch the theme used on a Sitefinity based website?

We have a Sitefinity 3.2 site in production and the users want a whole new look and feel. Upgrading is not an option.
I have created new templates for them but they will need to go into the site and create all new pages using the new templates. This is a problem because they want the current site to remain unchanged until they are done - then they want to instantly switch over.
One problem that I see already is that pages will not show up in the menu control until they are published.
I am very new to Sitefinity. Is there a standard practice for doing this?
You don't need to re-create all of the pages to change the look and feel; simply change the template assigned.
This video shows how to work with themes and templates.
I'd think that changing the theme of all the templates late at night should be "instantly" enough for most people. :)