Wappler Version : Pro 6.8.0
Operating System : Windows 11
Server Model: PHP, using routing
Database Type: Maria
Hosting Type: Self
Expected behavior
I've created a site using routes.
When someone clicks a nav-link (Class = nav-item and nav-link) it should send them to proper page.
Actual behavior
As long as the nav-link Class is active, it tries to send the person to the actual webpage instead of the link.
For instance, on this particular project:
If someone clicks "Song-List" it should send them to link.com/WorshipSongList
But instead, it sends them to link.com/layouts/mainpages/WorshipSongList and results in a "NOT FOUND"
How to reproduce
Here's a quick video. Please note this using routes with php .
Teodor
September 30, 2024, 8:01pm
2
Can you check if it’s the same issue and test the update posted there:
Have a new update that you can test:
dmxRouting.zip (9.9 KB)
The update fixes some issues with dmx-bind:href for links. Let me know if it fixes your pages.
That update does not seem to fix the nav-link issue.
Teodor
October 1, 2024, 6:31am
4
Is this a SPA site?
How are you routes defined - please post a screenshot.
How do you pick the route exactly? Aren't you using the routes picker next to the href field in the UI?
I see you checked "internal" - this should only be used for SPA sites when navigating from one content page to another.
Yes, it is an SPA site.
And, yes, I use the routes picker.
The route picker always works, except with these nav-links.
How are my routes defined? You mean post a screen shot of this?
Or this: