Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Itemid on registration steps

10 years 1 month ago
Licenses:
JomSocial Expired

Hi, we have a site where we have different templates depends on site and menu areas.
Now we have also different registration style for jomsocial multiprofile user creation.
The main problem is that all the redirects on the register.php controller doesn't take care of menu itemid.
Could you please just add this kind of code on the controller every time you redirect a page to next step?

$app = JFactory::getApplication();
$ItemId = $app->getMenu()->getActive()->id;
$mainframe->redirect(CRoute::_('index.php?option=com_community&view=register&task=registerSucess&profileType='.$profileType.'&Itemid='.$ItemId, false));

10 years 1 month ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Libri,

Well, actually for registration itemID jomsocial will take the itemID from Jomsocial home main menu as parent. And if you want separate itemID, I suggest you create new menu for jomsocial registration and assign the template for it.

I hope it will help.

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW