Why? I'm not sure what you're trying to do with this view. JFBConnect doesn't have a profile edit view, if that's what you're looking for. We only show our registration page when a user is registering. After that, they can use the Joomla edit profile page (or whatever 3rd party profile extension you happen to be using).Is it possible to add &layout=edit at the end?
No more documentation about that, it's not a standard feature or something we support natively. In other registration views, JFBConnect generally can't automatically generate the password. On the registration page of your choice, you should be able to add the following PHP, which can detect if JFBConnect thinks it sent the user to this page:...2) Add more code to the registration layout page to dynamically check how the user got to the page. If it was from JFBConnect, you can override the layout however you want.
Is there any documentation about that? To add message at the top and to have password optional or to hide it (because I have set up to auto generate password when regsitering through social network)?
if (JFactory::getApplication()->getUserState('com_jfbconnect.registration.alternateflow'))
// Do something for JFBConnect users here
alzander wrote: Why? I'm not sure what you're trying to do with this view. JFBConnect doesn't have a profile edit view, if that's what you're looking for. We only show our registration page when a user is registering. After that, they can use the Joomla edit profile page (or whatever 3rd party profile extension you happen to be using).
alzander wrote: JFBConnect generally can't automatically generate the password.
I'm completely unsure how that works, but if it does, that's all that matters. To update the registration URL, edit the /components/com_jfbconnect/controllers/login.php file. Around line 110, you'll see:If I use &layout=edit in the url then location field (Google Maps) for EasyProfile works.
$app->redirect(JRoute::_('index.php?option=com_jfbconnect&view=loginregister&provider=' . strtolower($provider->name) . '&return=' . base64_encode($return), false));
$app->redirect(JRoute::_('index.php?layout=edit&option=com_jfbconnect&view=loginregister&provider=' . strtolower($provider->name) . '&return=' . base64_encode($return), false));
That setting is only for Automatic registration. When enabled, the use will be able to authenticate with a Joomla account using the random password created and emailed to them. If disabled, the user will only be able to authenticate with a social network.What is "Generate Random Password" setting for then? When trying to log in with twitter password field is optional!?!
I think that could be done. The best way to do that though is to use the Social Profile plugin system to integrate with whatever form you want, like we do with JomSocial and EasySocial. Adding our functionality to other forums can be very difficult though, depending on what that integration is supposed to do and what you're trying to integrate with though.. where possible, I'd recommend using the features we already provide as much as you can.Do you think it's better to create cutom joomla registration template and add JFB functionalities to it? Is your provided code for this meaning?
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.