impresspages-plugins / ImportExport

Import or export data between ImpressPages installations
0 stars 0 forks source link

ImportExport 3x plugin #5

Open wannaco opened 7 years ago

wannaco commented 7 years ago

After installing the plugin I get the menu options but clicking export doesn't do anything. image

The network tab in devtools does not show any errors nor my server logs. It just redirects back to the main page. This is an ImpressPages 3.9 installation. @marijusimpresspages any help is appreciated

jankus commented 7 years ago

Have you checked the "readme.md"? If you used master branch, it's suited for v4.x version. For v3.x version you need to use 3.x branch of this repository.

wannaco commented 7 years ago

I did, I don't think 4.x would even let me install it https://github.com/impresspages-plugins/ImportExport/tree/3.x

wannaco commented 7 years ago

I have been going through the code but I am not familiar with 3.x plugin dev. checking on other plugins and the structure I see that there is a manager.php that renders management tools but this plugin uses a view already still does not render the view index.php it just loads the site again. I edited the return view to returnJson and it is empty.

Looks like the data is not being passed to the view

wannaco commented 7 years ago

never mind I got it working by echoing the view