Jump to content

How to customize the ExceptionTemplate and InvalidSessionTemplate?


Fábio Matte

Recommended Posts

On 2/19/2021 at 8:59 AM, Fábio Matte said:

I put my HTML code in these properties but it doesn't return the personalized page.
The same thing I did in TerminateTemplate and it worked, but in ExceptionTemplate and InvalidSessionTemplate nothing happens.

Note.: Doing this in MainModule

 

 

image.png.ca9cc3695e69918c0038d0a0d7b09fc9.png

Hi

Is it working when you change from servermodule?

Link to comment
Share on other sites

44 minutes ago, Hayri ASLAN said:

Can you send me the HTML?

This is the HTML I use in the Error templates:

<!DOCTYPE html>
<html lang="pt-br">
    <head>
        
        <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900|RobotoDraft:400,100,300,500,700,900'>
        <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css'>     
        <link rel="stylesheet" href="www/css/estilos.css" type="text/css">
        <title class="msgerro">Patrimonio Web [Encerrado]</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        
    </head>
    <body>
        <div class="wrapper">
            <div class="titulo">
                <img src="www/img/singuslogo_p.png" alt="Patrimonio Web" title="Patrimonio Web" width="350" height="150"/>
                <h1>Patrimonio Web</h1><span><a href=''>Sistema de Avaliação de Bens e Controle de Patrimonio</a></span>
            </div>                          
            <div class="msgerro"><p>[###message###]</p></div>
            <div class="reiniciarapp"><p><a href="[###url###]">Reiniciar Aplicação</a></p></div>
        </div>  
        <footer>
            <div class="statusbar">
                <div class="statusbarcentro"><span><a href="http://www.meusite.com.br" target="_blank">www.meusite.com.br</a></span></div>
            </div>            
        </footer>                   
    </body>
</html> 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...