By Peter on Friday, 02 May 2014
Posted in General
Replies 5
Likes 0
Views 1K
Votes 0
Why can't wordpress pages convert over to EB since they are just static post? Tried exporting wordpress pages as separate xml but doesn't do anything.
Hi,

EasyBlog does not have "static pages" as wordpress do and as such static pages are not imported over.
·
Friday, 02 May 2014 14:37
·
0 Likes
·
0 Votes
·
0 Comments
·
EB should import both and here is the reason why:

they are both considered posts and for joomla, they are both considered article. the only very minor difference is the post type.

just like EB has blog article with different blog article type.

If you can let me know which file detects this, we can ask for this to be changed for our use so we can get things migrated.
·
Friday, 02 May 2014 22:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Peter,

I am sorry for the delay of this reply.

If you are referring to 'Wordpress for Joomla' migrator, then take a look at this file 'JOOMLA/administrator/components/com_easyblog/views/migrators/view.ejax.php' and look for the function name '_processWordPress' and you should find the below code at line 1571:

$query  .= ' AND `post_type` = ' . $db->Quote( 'post' );


The above is where we limit the migration on 'post' type only.


As for 'Wordpress XML Import', in the same file, take a look at line 1014:


if( ($post['post_type'] != 'post') && ($post['post_type'] != 'attachment') )
continue;


The above is how we limit to have the 'post' type import on xml file

Hope this help and have a nice day
Sam
·
Thursday, 08 May 2014 11:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Was able to include both posts and pages. Thanks for your help Sam!

Is there a way to configure EB posts settings to exclude the avatar, date/time, etc. in the header of the post? I want to only apply that for the wordpress "pages" that were converted over and not the wordpress posts.
·
Friday, 09 May 2014 06:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Peter,

I am sorry for the delay of this reply and glad to hear you managed to import both posts and pages into EasyBlog

Is there a way to configure EB posts settings to exclude the avatar, date/time, etc. in the header of the post? I want to only apply that for the wordpress "pages" that were converted over and not the wordpress posts.


I am afraid this will be tricky because after you imported to 'pages' into EasyBlog, you actually lost the information which post in EasyBlog is actually from a page May i know how does it look like in EasyBlog after you imported the page? If we can have some sort of identifier in EasyBlog, then this will be possible

Please advise.

Hope this help and have a nice day
Sam
·
Friday, 09 May 2014 16:24
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post