Jump to content

change tabs in profile


Inlens
 Share

Recommended Posts

Me too! ;) 

I would like to set the "About me" section as default.

My members wish to have something like a personal "shop and promotion page", where they can write about themselves, post some static images for linked downloads or linked products, have some individual image banners etc. Like a individual html page below the profile cover image. It should look more like a profile magazine page, that is just beautiful and has a lot of oversight - instead of "activities, who liked what" and all the other elements, that most of my members are not interested in at first.

Thanks.

Link to comment
Share on other sites

	protected function manage()
	{
		try
		{
			if(\IPS\Settings::i()->steam_default_tab && !isset(\IPS\Request::i()->tab))
			{
				\IPS\Request::i()->tab = 'node_steam_steamprofile';
			}
			return call_user_func_array( 'parent::manage', func_get_args() );
		}
		catch ( \RuntimeException $e )
		{
			if ( method_exists( get_parent_class(), __FUNCTION__ ) )
			{
				return call_user_func_array( 'parent::' . __FUNCTION__, func_get_args() );
			}
			else
			{
				throw $e;
			}
		}
	}

Hook into the front end controller here and overload manage() and set the default yourself.  

Link to comment
Share on other sites

  • 2 years later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...