• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 user profile tab set to Information Tab

#1
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.png
 

Jake Bunce

XenForo moderator
Staff member
#2
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>