Support for Envato Buyers › Forums › Mostore › Missing Slider REST endpoint
- This topic has 5 replies, 2 voices, and was last updated 5 years ago by FocuxTheme Support.
-
AuthorPosts
-
-
November 14, 2019 at 4:29 pm #26457ftdParticipant
I’m just evaluating this plugin and it looks like the home_slider setting and related REST endpoint are not included in the latest WP plugin download.
The ‘APP Home Slider’ field on this page https://mostore.mofect.io/configure-app/manage-app-slider does not exist and if I amend the code to add it the related call:
WordPressApiInstance().get('mofect-slider/'+MF_CONFIG('home_slider'))
is served by a 404.
Please can you confirm what is going on?
Edit: OK I worked out why the 404 – because i wasn’t using ID. I’ve fixed this but can you confirm why the ‘APP Home Slider’ field is not shown in the ‘Mobile configuration’ plugin admin screen.
-
November 15, 2019 at 10:09 am #26476FocuxTheme SupportKeymaster
Hi
Please go to Mofect Mobile > Mobile Web App page, check if the App is not activated.
Also, what the version of your Mofect mobile plugin and Mostore app?
You can check the app version from https://yoursite.com/mobile/config/info.json
Thanks
-
November 15, 2019 at 10:43 am #26478ftdParticipant
Hi
Mofect WP Plugin version is 1.1.0
App version is 1.1.1 according to changelog and info.jsonThe app is authenticated. I’m using a custom url so the page you mention is not available. However the app is connecting and pulling products/categories correctly and i can administer the menu.
-
November 17, 2019 at 4:27 pm #26550FocuxTheme SupportKeymaster
Could you send me your backend link and Login details via the private reply? I’m not sure the reason so I have to check some related settings.
Thanks
-
November 19, 2019 at 11:43 am #26614ftdParticipant
Hi – Unfortunately this is running locally only.
However if I search through the WordPress plugin code for ‘home_slider’ – which is the option that is being loaded via the homeActions for the react app via MF_CONFIG – there is nowhere that it is being added/registered via $mobile_options->add_field or similar.
Can you confirm I am running the latest plugin/app versions?
-
November 21, 2019 at 6:28 pm #26674FocuxTheme SupportKeymaster
You are running the latest version of app and plugin.
The slider field and some other fields are dynamically loaded from mobile/config/options/ folder,
the plugin read the json files like home.json, preloading.json (These are the option configuration files)So, if the option doesn’t display, the only reason is that the plugin can’t read the option json files from your local custom URL. Can you read the options file via https://your-custom-url/config/options/home.json?
I think if you deploy the app folder online, the option will be displayed.
Thanks
-
-
AuthorPosts
- You must be logged in to reply to this topic.