Edit Position Account Wrapper

remiff

New member
Hello,

I want to move :

test.webp


Code:
class XtremeConsole_PersonalisationDeSonProfil_Listener_Listener {

    public static function templateHook($hookName, &$contents, array $hookParams, XenForo_Template_Abstract $template)
    {
        switch ($hookName) {
            case 'navigation_visitor_tab_links4':
            case 'account_wrapper_sidebar_settings':

                    $templateParams = $template->getParams();

                    if ($hookName == 'navigation_visitor_tab_links10')
                    {
                        $contents = $template->create('xtrc_perso_profil_tab_link', $templateParams) . $contents;
                    }
                    else
                    {
                        $contents = $template->create('xtrc_perso_profil_sidebar_link', $templateParams) . $contents;
                    }
                break;

        }
    }
}
 
You should use a template modification to identify where you want the code to be added rather than a template hook.
 
Top Bottom