Topic-icon Module assignment for Registration page

Active Subscriptions:

None
11 years 6 months ago #49325 by peforever
Hi,
How can I control what modules are assigned to the Registration Page?
The topic has been locked.
Support Specialist
11 years 6 months ago #49327 by alzander
I'm not completely sure what you're asking for, but I'll try to answer as best I can.

Our JFBConnect Login / Register page doesn't have any custom module positions configured for it. However, most templates will have an above and below content plugin that should work for you.

If you're looking for something else or need more assistance with module positions, let us know more about what you're trying to do and we'll help however we can.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 6 months ago #49328 by peforever
Hi Alex,
In the Joomla module Manager, I am able to assign what pages the module us assigned to.
How can I do this with the JFBConnect Registration page?
Thanks!
The topic has been locked.
Support Specialist
11 years 6 months ago #49342 by mel
As Alex mentioned

Our JFBConnect Login / Register page doesn't have any custom module positions configured for it. However, most templates will have an above and below content plugin that should work for you.


If you need to customize the JFBConnect registration page further than the options in JFBConnect > Configuration > General > Normal Registration section, then you will need to create a template override for the /components/com_jfbconnect/views/loginregister/tmpl/default.php file where you can add your own custom code or even specify some Joomla code to load modules wherever you want.

The other option is to create a new menu item of type "External Link". Then, put whatever URL you want in there. You mainly need that menu item so that you have an Itemid to use to assign modules to. Then, you'll need to make a modification to our code to force that Itemid onto the Login/Register page. To do so, edit the /components/com_jfbconnect/controllers/login.php file. Around line 110, you'll see:
$app->redirect(JRoute::_('index.php?option=com_jfbconnect&view=loginregister&provider=' . strtolower($provider->name) . '&return=' . base64_encode($return), false));
Update that to:
$app->redirect(JRoute::_('index.php?option=com_jfbconnect&view=loginregister&provider=' . strtolower($provider->name) . '&return=' . base64_encode($return) . '&Itemid=<YOUR MENU ITEM ID>', false));
The problem with this last bit is that you'll need to make that modification every time you upgrade.

I hope this helps, but let us know if you run into any issues.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 6 months ago #49348 by peforever
Hi,
I don't think you understand what I am asking so let me try another way.
Currently, all of my modules that are assigned to All Pages are seen on the JFBConnect Registration page.
How can I make the JFBConnect Registration page a Menu item so I can use the Joomla Module Manager to assign which of my modules are seen or not seen on the JFBConnect Registration page?
The topic has been locked.
Support Specialist
11 years 6 months ago #49351 by alzander
The 2nd section of what Melissa posted above will make the Login / Register page into a menu item for you. Create an "External Link" menu item, which creates the menu item and Itemid for you, then have JFBConnect redirect to that page. Right now, there's no specific menu item option for the Login / Register page of JFBConnect so the above options are the best we can provide to you: a) override the output template and add the modules yourself or b) create a pseudo-menu External Link menu item and assign your modules to that.

I guess one final option available to you is to use Joomla's standard Registration page, if that's already configured how you want it. To have users redirected to that page you need to enable the Social Profiles - Joomla plugin and set the "Registration Component" in JFBConnect to "Joomla". Then, users will go to the standard Joomla registration page to finish their registration.

I hope that helps,
Alex
The topic has been locked.