Export/Copy pages.
Permalink 1 user found helpful
Hi all, sorry if this is the wrong forum, I'm a hobbyist and new to C5. (Or if there's a more active forum let me know)
I have created my site but have not added any pages of content yet. I have a live host, a home dev LAMP and a portable offline WAMP.
- Is it possible to Export pages and their associated files and paths and import them from one website to another?
I'd like to work offline on my site and then copy just my newly created pages of content to the home PC version of my site, or ultimately to the live version of my site when online.
I've read an old post regarding exporting the table for the page I've created and importing it via PHPmyAdmin, and copying it's associated files to their correct location (and permissions?). And I also found an depreciated Add-On for <v7 C5.
I've also looked at using GIT but that seems overly complicated for me as a hobbyist.
I currently delete cache, copy whole site, export DB, reimport DB. This takes AGES and has varying degrees of success for me.
- Alternatively, is there a quick way of keeping 3 instances of the same site in sync?
Thanks.
I have created my site but have not added any pages of content yet. I have a live host, a home dev LAMP and a portable offline WAMP.
- Is it possible to Export pages and their associated files and paths and import them from one website to another?
I'd like to work offline on my site and then copy just my newly created pages of content to the home PC version of my site, or ultimately to the live version of my site when online.
I've read an old post regarding exporting the table for the page I've created and importing it via PHPmyAdmin, and copying it's associated files to their correct location (and permissions?). And I also found an depreciated Add-On for <v7 C5.
I've also looked at using GIT but that seems overly complicated for me as a hobbyist.
I currently delete cache, copy whole site, export DB, reimport DB. This takes AGES and has varying degrees of success for me.
- Alternatively, is there a quick way of keeping 3 instances of the same site in sync?
Thanks.
Thanks, I'll take a look at that migration tool add-on. I've turned off the caching, and will ensure I delete any that couldn't be when I do the transfers.
My idea it to knock up a few content pages offline (alongside things at work) using my USB WAMP, take them home check they're good on my home PC LAMP and then upload to my hosting.
Once I've streamlined my workflow, I will create some content, honest....... :)
(But tinkering is fun.)
My idea it to knock up a few content pages offline (alongside things at work) using my USB WAMP, take them home check they're good on my home PC LAMP and then upload to my hosting.
Once I've streamlined my workflow, I will create some content, honest....... :)
(But tinkering is fun.)
The main 'gotcha' to watch out for is database case sensitivity. You need to make sure the database is configured to be case sensitive. That is unlikely to be an issue for LAMP which will be case sensitive by default, but is often an unexpected glitch using this strategy with Windows based dev systems.
I remembered your 'gotcha' when I did it and found a add-on to take care of the case issue each way. It's all good now, sticking with the copying and DB export import.
What would be nice is a "copy page to clipboard", "export clipboard (with assets)" option, and of course import back with assets to correct path.
Only appeals to me tinkering though, I guess the whole point of a CMS is to do it on the live site.
Thanks again.
What would be nice is a "copy page to clipboard", "export clipboard (with assets)" option, and of course import back with assets to correct path.
Only appeals to me tinkering though, I guess the whole point of a CMS is to do it on the live site.
Thanks again.
There was an addon for pushing pages from stage to live. However, AFAIK there was not enough sales volume to make it worth maintaining in the marketplace.
There has been some discussion of including a page pushing capability in the core. Don't hold your breath.
There has been some discussion of including a page pushing capability in the core. Don't hold your breath.
When you import the database and application/files directory make sure you empty the application/files/cache directory as those cached files could cause you some trouble.
You could use the Migration Tool https://github.com/concrete5/addon_migration_tool... but as you have said it's a bit complicated to setup and it's not as straightforward to export/import pages as one would like (not to mention it doesn't update existing pages).