Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apps that use the root system from the beginning of phpfox v4 only show with ajax navigation on position 2 #2932

Open
turha71 opened this issue Jul 29, 2020 · 2 comments

Comments

@turha71
Copy link

turha71 commented Jul 29, 2020

What's happened?

On v4.8 all apps that were created using the root system from the beginning of phpfox v4 only show on position 2 if you navigate using ajax. On any other position they don't show and you need to refresh the page for them to show.

Steps to reproduce:

  1. Install this free app: https://store.phpfox.com/apps/weather-widget-cespiritual
  2. By default, the app creates a block on position 2 with the weather widget. Everything works ok when you navigate to the index page with ajax mode enabled.
  3. If you change the position of the block to 1 or 3 or another, the block no longer shows navigating with ajax, and you need to refresh the page for it to show.

What's expected?

on 4.7.10 all worked just fine, but something changed on v4.8 that is preventing apps on all positions except the 2 to load when navigating with ajax enabled. There is nothing wrong with apps because on position 2 they load perfectly well.

Can you check what was changed on v4.8 that is causing the problem? Is this a bug, or did you deprecated some code that creates this? And why in position 2 works well but not on other positions?

REMEMBER: this only happens with apps that are coded using the root system from the beginning of phpfox v4

phpFox version

4.8

@harrison05
Copy link
Contributor

Hi @turha71

We have many changes in phpFox 4.8.0, so this issue occurs might because 3rd apps don't compatible with it. You should contact with app's owner and make sure their app is up to date and compatible with phpFox 4.8.0.

Regards.

@turha71
Copy link
Author

turha71 commented Aug 3, 2020

Hi,

I have written to the developer, and it's not only one developer that have this issue, and he told me that there is nothing he can do as phpfox removed compatibility with apps that use the root system on some positions, and so the blocks no longer load using ajax in those positions. One of the solutions was for him to convert all his apps to the new system, but he told me that's totally impossible for him as it will take several months of coding and he doesn't have the time and resources. The other solution was to disable site wide ajax on my website and this solves the problem but is not a solution because it will impact the photo mode that will not show the thumbs of photos for us to navigate.

So, my question to you is: why phpfox is removing compatibility with apps that uses the root system in the end of life of v4? Shouldn't you do this only on v5? Can you considerer revert this back on 4.8.1 to make the system compatible again?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants