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

Discussion in 'Styling and Customization Questions' started by reddy ink, Oct 11, 2014.

  1. reddy ink

    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.png
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    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>
    
     
    sami simo, iGloo' and reddy ink like this.

Share This Page