Is it possible to export just a branch and move it to a dev site or even another store? Or does it still have to be the whole framework?
Announcement
Collapse
No announcement yet.
Export a Branch
Collapse
X
-
Export a Branch
Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: X | Facebook | Pinterest
Tags: None
- 1 like
-
lesliekirk Exporting a branch is the same thing as exporting a framework. You would go to User Interface then select the branch you want to export and navigate to the frameworks section then save the framework. All the branch specific settings and templates are exported in the framework, is there something else you are looking to export?Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
- 1 like
-
Okay, that is what I've done. I'm having issues getting it to import - 504 error from Cloudflare. I did open a support ticket.Originally posted by Nick View Postlesliekirk Exporting a branch is the same thing as exporting a framework. You would go to User Interface then select the branch you want to export and navigate to the frameworks section then save the framework. All the branch specific settings and templates are exported in the framework, is there something else you are looking to export?Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: X | Facebook | Pinterest
Comment
-
Question Nick - does the branch you want to work on from the live site need to be in the dev site? In other words, does the import create the branches that are from the live site, or would I have to create the branch first in the dev site, then import the Framework to that branch?
For example, I created a Framework with a Branch called "Fish Food", but the dev site doesn't have a branch named "Fish Food," so I imported the Framework into a branch called "Cat Food". The layout in "Cat Food" does not look at all like the layout of the live site branch called "Fish Food". Did I need to create a branch called "Fish Food" in the dev site and then import the Framework there?Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: X | Facebook | Pinterest
Comment
-
lesliekirk Template branches are completely agnostic to frameworks, meaning you can import a framework on any branch. My assumption is that the framework you exported has a hardcoded CSS resource that was not included in the framework. Frameworks will only include the CSS resources that are added to the CSS Resource section within Miva. Have you checked the browser console for missing files?Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
Comment
-
I have not yet. So if there is custom CSS in the "Fish Food" branch, it will not carry over. I still think there needs to be a way to export just the branch. Some sites may have completely different templates in one branch that another may not have.Originally posted by Nick View Postlesliekirk Template branches are completely agnostic to frameworks, meaning you can import a framework on any branch. My assumption is that the framework you exported has a hardcoded CSS resource that was not included in the framework. Frameworks will only include the CSS resources that are added to the CSS Resource section within Miva. Have you checked the browser console for missing files?
I'm thinking that for what I need to do, I should just have a copy of the live site applied to the dev site...Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: X | Facebook | Pinterest
Comment
-
lesliekirk "Some sites may have completely different templates in one branch that another may not have", That is correct but still does not make any sense for what you are trying to do. A framework is an export of the templates in a branch. So adding a framework to a branch all the templates on the branch will be updated to include the templates from the framework
All sites have custom CSS but if the CSS file is not included in the CSS resources then the framework will not include the CSS.
I think you are over thinking this and need to check if the template you have has CSS that is not in the CSS resources.
What is not included in a framework are Global Store settings, for example, customers, payment settings, shipping settings (anything NOT in User Interface).Nicholas Adkins
Technical Training Specialist / Miva, Inc.
[email protected]
https://www.miva.com/mivalearn
Comment
-
Thanks, Nick, for getting me to go back and dig into the javascript. There is some very custom javascript used in the PROD page layout, BUT this particular developer puts ALL the code on the template page. It has always driven me crazy until today - I knew I had all of the code, but it turned out to be missing pieces that were from the product itself, which are needed to display/trigger portions of the layout. Once I put those in place for the sample product I'm working with, everything was there.Leslie Kirk
Miva Certified Developer
Miva Merchant Specialist since 1997
Previously of Webs Your Way (aka Leslie Nord leslienord)
Email me: [email protected]
www.lesliekirk.com
Follow me: X | Facebook | Pinterest
Comment
Comment