I was trying to migrate specific 2sxc pages to other environments. I've tried the export and import pages feature in DNN but the content/apps has not been imported.
DNN version: 08.04.02
2sxc version: 12.18.0
Error shows:
System Exception Data: content/apps has not been imported yet
This is the default behavior. By exporting/importing a site, the 2sxc Data is not included, as the internal data model can't reliably survive the Dnn data model format.
So after doing this, you should export any Apps (incl. the Content App) and select the checkbox to preserve content-blocks. Then import them again. It's described in detail https://2sxc.org/en/learn/copy-duplicate-an-entire-site
Related
I have a local WordPress site running on MySQL. I wanted to move it to a server for testing and deployment. In addition to migrating new/changed code and media files, I exported the database from my local machine to a .sql file using Sequel Pro on Mac. Then I changed all URLs in the export to match the URL of the server. Then I imported it to the server database.
Everything's fine. No errors. Except the menus I created on my local machine are not showing up on the server. I'm seeing recommendations for plugins to export menus and import them on the server. But that seems silly to me. Aren't menus defined in the database? Isn't everything defined there in terms of content, options, settings, etc.? Why would I need to export/import menus and nothing else?
When you export and import the database of the wordpress site, the menus also include in it.
You just need to check in your admin panel the menu will be there. You just need to assign that menu for appropriate menu location like primary or which you have created, like this screenshot https://prnt.sc/1wp2gvd
The answer was that I was using a Pantheon.io-based upload/import feature to upload and import my .sql file. When I instead used Sequel Pro on MacOS to export my local database, connect to and import it to Pantheon.io, everything came through.
I have a MySQL database file from my older WordPress website, and I want to import just the content to my new website. Right now, I don't have access to cPanel. Can I import the content using wp importer, or a plugin?
If you have wordpress data then creating a plugin is not good idea.
Simple open your old admin dashboard,
Export the data for either post or pages.
Import in new website using WP Importer.
We are setting up different sites as portals in DNN. Some content will be shared across the different portals.
I'm using the following method to render 2sxc data in a page
http://2sxc.org/en/blog/post/using-2sxc-in-webforms-custom-webapi-or-other-razor-hosts-300
However, now i want get the same data in another page of a different portal.
Can any one help with the code so i just put in the source portal id and it can be rendered in a different portal?
Yes, this can be done :)
There's an App Data DataSource, where you can specifiy the portal and app-id (in 2sxc 8.5+). Use this in a visual query or in your code.
http://2sxc.org/en/Docs-Manuals/Feature/feature/9266
I have a website live on the web. I've been working on the re-design for the site. I duplicated the entire site and database and worked on a test site. Now the test site is ready to go live. However, the current live site has been up for the last few weeks and content has been added as usual. How do I upload my new look for the site, with the changes I've made in the test database but at the same time not overwrite any content changes made in the current live database that were made over the past few weeks?
I want to keep the site content in the database but overwrite any module or theme data with the data from the test database.
My site is built on drupal
Thanks!
1) Upload new theme - this will apply themes changes and keep content in the live DB
2) If you have added any new content types, blocks, fields etc to your dev site then install the features modules. This will allow you to export your new features to a module, and then you can add this module to the live site to import your new features.
See this post for further discussion on the topic.
I used https://drupal.org/project/data_export_import it seems to be working well.
I have built a website in Liferay using eclipse IDE.
Please tell me the step by step procedure for export/import or publishing website from development machine to deployment machine. .
Thanks
There are two options available to you:
1) Backup your development database & restore it on your production database (make sure all additional portlets are deployed on the production box as well).
2) use Liferay's export / import functionality found
Go to Control Panel
Go to the community you want to export
Click actions -> Manage Pages
Go to Export / Import
Select all options for Export
Save the resulting LAR file somewhere convient
Upload the LAR file to your production server
Follow the previous steps but go into Import
Select any options you require
Click "Import"
Voila, you're done!
For the record in Liferay 6.1 the export in control panel under "site pages".