Jump to content

Sign up and term page template changes


Maulik

Recommended Posts

Posted

Hello,

I have customized the header of our website and it comes same in all the topic, profile etc pages of forum.
But when I tried to login in the website with wrong username /password, it brings to default login page say for example : https://invisioncommunity.com/login/
 You can see that https://invisioncommunity.com has the same header as it's login page.
But in our case, header get changed.
Home page :
http://prntscr.com/hhp62d
Sign in error page : http://prntscr.com/hhp6pr

We're not getting what's wrong with the sign in page.

Note : We have attached 2 files here for reference.
Please help !

TIA.
 

globalTemplate.txt

logo.txt

Posted

Yes, we got that thing but if we already tried by removing that class then also the header wasn't same as home page and other pages.
Say for example check this one in which we have removed class ipsLayout_minimal from Body tag. http://prntscr.com/hi0cw7

Posted

@bfarber : Would you please let's know which default template is used for showing minimal layout ? OR which layout is used for term and sign in error pages so we can change the layout ?
Because we want similar header & footer in whole website.

Posted

The same globalTemplate template is used, we simply use the CSS class 'ipsLayout_minimal' on the body tag to adjust the layout.

Note that the navBar template specifically also checks if this CSS class is used to adjust the HTML being output, so just removing the class in your devtools won't add the navBar template contents back in. You'd need to edit this template to stop doing that.

Posted

Yes, that I know.
Body tag is looking like this :

<body class='ipsApp ipsApp_front {{if isset( \IPS\Request::i()->cookie['hasJS'] )}}ipsJS_has{{else}}ipsJS_none{{endif}} ipsClearfix{{foreach output.bodyClasses as $class}} {$class}{{endforeach}}' {{if output.globalControllers}}data-controller='{expression="implode( ',', output.globalControllers )"}'{{endif}} {{if isset( output.inlineMessage )}}data-message="{expression="output.inlineMessage"}"{{endif}} data-pageApp='{$location['app']}' data-pageLocation='front' data-pageModule='{$location['module']}' data-pageController='{$location['controller']}'>

Can I know which condition is applying for 'ipsLayout_minimal' ? So I can remove it for specific pages.

Thanks.
 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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