I added some custom html in the look and feel area and save it. Now it doesnt show, and when i click the edit button, the boxes wont be enabled, and the code dissapeared. Cant go back either and tried that /admin/doeditcustomhtml.action and doesnt work either.
Hi Pepe,
The url is /admin/editcustomhtml.action . You said /admin/doeditcustomhtml.action, and the "do" is too much.
Maybe you didn't need to go to the database level ;)
Cheers,
Adrien
Hi Pepe,
please execute this query in order to retrieve where your custom html has been stored
select * from bandana where bandanavalue like '%customHtmlSettings%';
Locate your custom code and remove it from the related tag so that you have the following situation
... <customHtmlSettings> <beforeHeadEnd></beforeHeadEnd> <afterBodyStart></afterBodyStart> <beforeBodyEnd></beforeBodyEnd> </customHtmlSettings> ...
PLEASE, perform a db dump first so you can roolback if something goes not well.
Let me know,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Don't worry Pepe, no panic. We can remove it from the DB. I'm working in order to provide u the necessary query.
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pepe,
here a useful link that explains you how to revert your code
https://confluence.atlassian.com/display/CONFKB/Customized+HTML+Breaks+the+'Edit+Custom+HTML'+Page
Hope this helps,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that, but it gives me the following error:
"The request cant be processed because a security token is missing. You might need to resend the form or refresh the page"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to open another administration page first so that you can take your security tokens.
Let me know,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What i saw is that error is before saving the html. I could save it in the first place... the thing is that know, the fields wont enable to modify it (or even show that code). Would you happen to know where that html i added is stored?? DB?? or somewhere else maybe i can erase ir manually?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i added in the head area:
<script src="http://www.mydomain.com/confluence/js/bootstrap.min.js"></script>
<link type="text/css" rel="stylesheet" href="http://www.mydomain.com/confluence/css/master.css" >
and in the top of the body part a navigation:
<div class="navbar navbar-default " role="navigation">
<div class="navbar-collapse collapse">
<ul id="main-nav" class="main-navbar nav navbar-nav ">
<li class="dropdown">
<a href="http://confluence.mydomain.com/display/AGR/A+mydomain" class="dropdown-toggle" data-toggle="dropdown" data-description="nossas essências">A mydomain</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" >Produtos</a>
<ul class="dropdown-menu">
<li><a href="http://confluence.mydomain.com/display/S2/S2+Home">mydomain S2</a></li>
<li><a href="http://confluence.mydomain.com/display/SIA/SIA+Home">SIA</a></li>
<li><a href="http://confluence.mydomain.com/display/ABCS/ABCS+Home">ABCS</a></li>
<li><a href="http://confluence.mydomain.com/display/MELHORES/Home+page">Melhores da Suinocultura</a></li>
<li><a href="http://confluence.mydomain.com/display/NEC/Nectar+Home">Nectar</a></li>
<li><a href="http://confluence.mydomain.com/pages/viewpage.action?pageId=5865503">Usuário mydomain</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" >Programas</a>
<ul class="dropdown-menu">
<li><a href="http://confluence.mydomain.com/display/LEAN/LEAN">mydomain Enxuta</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" >Projetos</a>
<ul class="dropdown-menu">
<li><a href="http://confluence.mydomain.com/display/CON/Confluence+Home">Confluence</a></li>
<li><a href="http://confluence.mydomain.com/pages/viewpage.action?pageId=8290414">Consistência de dados de produção</a></li>
</ul>
</li>
<li class="dropdown">
<a href="http://confluence.mydomain.com/display/PAD" class="dropdown-toggle" >Padrões</a>
</li>
<li class="dropdown">
<a href="http://confluence.mydomain.com/display/PRO/Procedimentos+Home" class="dropdown-toggle" >Procedimentos</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-description="conheça a estrutura">Equipe</a>
<ul class="dropdown-menu">
<li><a href="http://confluence.mydomain.com/pages/viewpage.action?pageId=10485835">Direção</a></li>
<li><a href="http://confluence.mydomain.com/display/ADM/Administrativo+Home">Administrativo</a></li>
<li><a href="http://confluence.mydomain.com/pages/viewpage.action?pageId=10485839">Comunicação</a></li>
<li><a href="http://confluence.mydomain.com/pages/viewpage.action?pageId=10485841">Estratégico</a></li>
<li><a href="http://confluence.mydomain.com/pages/viewpage.action?pageId=10485843">Área de Negócio</a></li>
<li><a href="http://confluence.mydomain.com/display/REL/Relacionamento+Home">Área de Relacionamento</a></li>
<li><a href="http://confluence.mydomain.com/display/TI/TI">Tecnologia</a></li>
<li><a href="http://confluence.mydomain.com/display/INFRA/Infra+Home">Infra</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-description="ficar por dentro de tudo">PARA VOCÊ</a>
</ul>
</div>
</div>
<!--/navbar-->
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pepe,
did u added some javascipt into your custom html code? Please, could you attach your code so that I can perform a double check?
Regards,
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.