XF 1.4 user profile tab set to Information Tab

reddy ink

Active member
When my users click on user profile, I would like them to take to "Information" tab instead of profile posts.

How do I do that?
Many thanks

upload_2014-10-10_23-9-35.webp
 
Admin CP -> Appearance -> Templates -> page_container_js_body

Add this code to the top:

Code:
<script type="text/javascript">
	<xen:if is="{$contentTemplate} == 'member_view'">
		$(document).ready(function(){
			$('ul.mainTabs li a[href$="#info"]').click();
		});
	</xen:if>
</script>
 
Back
Top Bottom