Topic-icon Use URL Rewriting - BUG or Feature Request ?

Active Subscriptions:

None
10 years 6 months ago #42232 by joomleb
Hi Alex ,
I'm running last Joomla 3.2.3 + JFBConnect 6.0.2.
In Joomla Configuration I enabled "Search Engine Friendly URLs" and "Use URL rewriting". All URLs work fine.

But not when I use SCLogin module. I enabled it for Login and Register (I haven't created any Menu link) and when I click on:
Login - URL is: .../component/users/?view=login
Register - URL is: .../component/users/?view=registration
Not So friendly!

If I create the Menu links "Login" and "Register" (to the related pages: User Manager - Login Form, and User Manager - Registration Form) also the two buttons work fine now:
Login - URL is: .../login
Register - URL is: .../register

1 - Is there a way to have the rewrite mode working fine with the two SCLogin buttons "Login" and "Register" without have to create Menu links ?


Then, I have also to add that I'm working also with Seblod 3.3.2 installed and configured for registration (instead to use the default Joomla one).
Joomla, Seblod and SCLogin are good integrated, so when I click on the "Register" SCLogin module button I'm redirect to the Seblod Registration page:
Register - URL is: .../index.php?option=com_cck&view=form&layout=edit&type=user&Itemid=0

But, in this case,
- if now In Joomla Configuration I enable "Search Engine Friendly URLs" and "Use URL rewriting",
- and If I create the Menu link "SeblodRegister" (Seblod Form - User)
when I click on the "Register" SCLogin module button nothing change:
Register - URL is: .../index.php?option=com_cck&view=form&layout=edit&type=user&Itemid=0
instead to be: Register - URL .../SeblodRegister

2 - Is there a way to have the URL rewriting working properly ?


Many Thanks for Support
The topic has been locked.
Support Specialist
10 years 5 months ago #42343 by alzander
Sorry for the delay, and thanks for your patience. We just did a double check of how we generate the Registration URL vs how Joomla does it in the mod_login module. There is a slight difference, but I don't think it will affect what you're looking to do.

If you don't have a menu item for the login (or Joomla User area in general), Joomla doesn't have any way to know what the URL should look like. The alias that's created in the menu item you create is what Joomla will use. Without that, the best it can do is convert:
index.php?option=com_users&view=registration
Into:
/components/users?view=registration
That's the standard method Joomla uses when no menu item alias is present, since otherwise, there'd be no way to 'undo' the SEF link to determine what it was meant to do.

Seblod registration
JFBConnect and SCLogin don't have direct integration for Seblod yet. That's something planned, but not available yet. If you click the Registration button in the SCLogin module and you're going to the Seblod registration page, that's being done by something else... most likely a Seblod system plugin that intercepts users going to the Joomla registration page and redirecting them to the Seblod registration page instead.

If that's the case, or honestly whatever the case is, whatever is causing the redirect to the Seblod registration page is what would have to be updated to create an SEF route. That's not SCLogin though, so there isn't much we can do to help you there now.

I hope that helps explain and get you going, but should you have any questions, just let me know.

Thanks,
Alex
The topic has been locked.