Skip Navigation

[Resolved] Export / import Layouts

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Nigel 1 year, 2 months ago.

Assisted by: Nigel.

Author
Posts
#2645321

Hi,

I'm trying to export a backup (zip file) with all the layouts from a website in order to import them in a website under development.
The zip seems to be complete, the import runs well (no error) but only one layout is imported.

I had no issue so far exporting and importing Types and Views.

Thank you for your help,

Thomas

#2645533

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2023-09-20 at 08.35.53.png

Hi Thomas

I just tested this on a local test site (had to dust off the Layouts plugin) and I found the same.

The site I was exporting from had two layouts, and the import log on the second site showed both layouts being imported (screenshot), but when I go to Toolset > Layouts I find only one of them available.

I need to look into this further, so bear with me while I do some debugging, and I'll get back to you.

#2646453

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Sorry, I haven't forgotten you. I spent a couple of hours on this and I can see where the process is going wrong, which I'm sharing with the developers, but I'm trying to come up with a workaround so that you don't have to wait for a plugin update for a solution.

I'm actually off today, so I'll hopefully be able to share a solution with you on Monday.

#2647637

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I still don't have a solution for the problem importing the zip file, but there is a simple workaround you can employ so that you are not stuck with this issue.

Expand the zip file, and then import the individual .ddl layout files individually. Importing them one at a time will work, just doing them all in one go via the zip file is problematic at the moment.

#2647941

Hi Nigel,

Thank you for the workaround. I did import the layouts individually and it worked fine.