• Page:
  • 1

Edit profile not working well in Mobile View

ONLINE

Edit profile not working well in Mobile View

2 months, 2 weeks ago
Sometimes, the Edit profile page does not work well in mobile view .i.e. if you click on a text field, the field is not focused properly.

This is mainly caused because of the toolTips, to avoid this simpley override your profile.edit.php in the template and find the following code:

<?php echo CProfileLibrary::getFieldHTML( $f , '' ); ?>


Replace it with

<?php 
	//added by vicky to make sure edit profile page works well in mobile
	$isMobile = JBrowser::getInstance()->isMobile();
	echo $isMobile ? 
		str_ireplace('jomNameTips','',CProfileLibrary::getFieldHTML( $f , '' ))
		: CProfileLibrary::getFieldHTML( $f , '' ); 
?>
  • Page:
  • 1

Upcoming Events

Who's Online