Page 6 of 7

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Tue Feb 23, 2016 5:37 pm
by Harm10
The export of extrafields does not export fields defined as type gallery hence the warning.
That is to say I only experimented with ACF plug-in for WP and this plug-in does not support that type.
If Bolt does support this type perhaps the code has to change?

You can export galleries for other WP plug-ins like described in the documentation.

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Tue Mar 08, 2016 11:44 pm
by winters
I get the following output with the export from pivotx

Code: Select all
<item>
<!-- Item for old id 1105 to post_id 1405 -->
<title>Kaasfondue</title>
<link>http://www.test.com/dat/?e=1105</link>
<pubDate>Sat, 26 Dec 2015 00:04:00 +0000</pubDate>
<dc:creator><![CDATA[admin]]></dc:creator>
<category><![CDATA[Default]]></category>
<category domain="category" nicename="default"><![CDATA[Default]]></category>
<guid isPermaLink="true">http://www.test.com/dat/?e=1105</guid>
<description></description>
<image></image>
<excerpt:encoded><![CDATA[]]></excerpt:encoded>
<content:encoded><![CDATA[<p>Kan ik alvast mijn wens doorgeven </p> ]]></content:encoded>
<wp:post_id>1405</wp:post_id>
<wp:post_name>kaasfondue</wp:post_name>
<wp:post_date>2015-12-26 00:04:00</wp:post_date>
<wp:post_date_gmt>2015-12-26 00:04:00</wp:post_date_gmt>
<wp:comment_status>closed</wp:comment_status>
<wp:ping_status>closed</wp:ping_status>
<wp:status>publish</wp:status>
<wp:post_parent>0</wp:post_parent>
<wp:menu_order></wp:menu_order>
<wp:post_type>post</wp:post_type>
<wp:post_password></wp:post_password>
<wp:postmeta>
<wp:meta_key>pivx_extrafield_intro_wordcount</wp:meta_key>
<wp:meta_value><![CDATA[15]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_pivx_extrafield_intro_wordcount</wp:meta_key>
<wp:meta_value><![CDATA[field_5467c15f00012]]></wp:meta_value>
<!-- Warning! Extrafields key not found! galleryimagelist. Value: 2015-12/2015_12_20_12_38_16.jpg
2015-12/2015_12_26_10_37_53.jpg
2015-12/2015_12_20_12_13_13.jpg
2015-12/2015_12_20_12_14_08.jpg
2015-12/2015_12_20_12_37_59.jpg
2015-12/2015_12_20_12_49_19.jpg
2015-12/2015_12_26_12_17_47-2.jpg
2015-12/2015_12_26_11_04_27.jpg
2015-12/2015_12_26_16_49_18.jpg
2015-12/2015_12_26_11_17_04.jpg
2016-01/img_20151226_162557504.jpg######
 Extension inactive? Check code to find fields. -->
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>pivx_extrafield_achtergrond</wp:meta_key>
<wp:meta_value><![CDATA[3524]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_pivx_extrafield_achtergrond</wp:meta_key>
<wp:meta_value><![CDATA[field_5467c15f00005]]></wp:meta_value>
</wp:postmeta>
</item>
<item>


extrafields is working fine does someone know what the problem could be that the error Extension inactive? Check code to find fields. --> shows up
and the

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Wed Mar 09, 2016 7:31 am
by Harm10
As the warning says:
Code: Select all
<!-- Warning! Extrafields key not found! galleryimagelist. Value:
this means that key galleryimagelist was found attached to this entry/page but this key does not exist in Extrafields definition itself.
As you say you have extension active so another conclusion could be that you once had this field in Extrafields and no longer have it defined?
Old keys remain in the database with the entry/page that once used it and you remove it from Extrafields.
If so you can disregard the warning.

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Wed Mar 09, 2016 7:43 pm
by winters
hi Harm

galleryimagelist is still active and working and connected with the Gallery Extension

what would you do to transfer this field over bolt

thanks!

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Wed Mar 09, 2016 10:24 pm
by Harm10
I have not coded the export/import into Bolt, I only did the WP part. In WP you cannot import galleries as extrafields. That is why there is a separate export coded for it.
Perhaps Bolt also has its own post type for galleries?

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Thu Jun 23, 2016 6:40 pm
by winters
would it be possible that in the export script

galleryimagelist

should read gallery_imagelist

as this is the same name used in the pivotx extension http://extensions.pivotx.net/entry/39/gallery

<!-- Warning! Extrafields key not found! galleryimagelist. Value: 2016-05/skipnationals2016.jpg
2016-05/nationals-banner-30x96-1024x320.jpg######
2016-05/img_0607.jpg######
Extension inactive? Check code to find fields. -->

would it also be possible that the following goes wrong with a image field export that only exports a number instead of the filename

<wp:postmeta>
<wp:meta_key>pivx_extrafield_achtergrond</wp:meta_key>
<wp:meta_value><![CDATA[3632]]></wp:meta_value>
</wp:postmeta>
<wp:postmeta>
<wp:meta_key>_pivx_extrafield_achtergrond</wp:meta_key>
<wp:meta_value><![CDATA[field_5467c15f00005]]></wp:meta_value>
</wp:postmeta>

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Fri Jun 24, 2016 4:15 pm
by Harm10
If I have some time I will look into it.............. Remind me when it takes too long!

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Tue Jul 05, 2016 9:23 pm
by winters
will do harm, thanks for having a closer look
bc

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Wed Jul 20, 2016 9:25 pm
by winters
hi harm, I am wondering if you already had a look at it

thanks and have a nice evening!

Re: Importing entries and pages from PivotX to Bolt

PostPosted: Thu Jul 21, 2016 3:58 am
by Harm10
Not yet............... :?