Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2156

Joomla! 4.x Coding • A different Custom Component Router Issue

$
0
0
Hi All,

I wish I had an issue to krzys1985b's problem, but I have a different problem.

I have a series of steps that do not follow the categories to items model.

The the whole process is to register people for an upcoming event, and the first step is to collect their email address and determine if they already have an account (new system and they've never logged in before). The next step is to either go to the new user event registration form if they are a new user or to a login form if they are returning, and once logged in, go to the returning user event registration form.

The first URL is fine https://myhost.../2024-event-registration, but I am looking for the next link to be either

https://myhost.../2024-event-registration/returning instead of https://myhost.../2024-event-registrati ... =returning
or
https://myhost.../2024-event-registration/request instead of https://myhost.../2024-event-registration?view=request

In other words, /menu/view

I've tried extending RouterView and RouterBase, but I seem to have no impact on the URL.

I resolved the issue another way, by making hidden menu items, but it seems I should be able to create these throught a router. Am I just wrong on that?

Any tips or reference recommendations would be greatly appreciated.

Statistics: Posted by neo314 — Mon Feb 19, 2024 6:57 pm



Viewing all articles
Browse latest Browse all 2156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>