SEF Router for Joomla 4 component

704 views
Skip to first unread message

Shane

unread,
May 25, 2022, 11:13:45 AM5/25/22
to Joomla! General Development
Hi, 

I'm struggling to understand how to create the Router service for my Joomla 4 component, it's my first and I don't seem to understand how it is supposed to work.

When I have a menu item, the links in the layout get the menu item appended in front of them.

example : 
/mon-compte?view=club&layout=show&id=7

what I want to obtain is this : /club/show/7-name-of-club

I tried following this tutorial :

wich doesn't really explain how things work, also I have for Clubs for example multiple layouts.

Any help would be appreciated ! 

Shane

Cliff Ford

unread,
May 25, 2022, 3:37:36 PM5/25/22
to joomla-de...@googlegroups.com

Shane

unread,
May 31, 2022, 8:11:13 AM5/31/22
to Joomla! General Development
Hi Cliff, 

thanks for your response, I'll check these out.
Reply all
Reply to author
Forward
0 new messages