JSPT Docs > Tips and Tricks > Profiletype Searchable

Profiletype Searchable

To make Profiletype Searchable in JS About me view, follow these steps:

Go to JOOMLA_ROOT/ components / com_community / views / profile / view.html.php line no 181 and patch the following code:

Code:


case 'profiletypes'
$profileType = XiptFieldsProfiletypesBase::getInstance(); 

if($profileType->isValid($field['value'], $field['required'])) 

$profileField[$key][$pKey]['searchLink'] = CRoute::_('index.php?option=com_community&view=search&task=field&'.$field['fieldcode'].'='. urlencode( $field['value'] ) );                    

break;



  • Monday, 11 July 2011

Comments (0)

Leave a comment

You are commenting as guest.