Jump to content

PS 1.6.1.0 Login page, duplicated JS, cant override header.tpl


Recommended Posts

I notice that Admin/Login page loads duplicated Javascrpi, loads twice the exact same files:

<script type="text/javascript" src="/js/jquery/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="/js/jquery/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="/js/jquery/plugins/jquery.validate.js"></script>
<script type="text/javascript" src="/js/vendor/spin.js"></script>
<script type="text/javascript" src="/js/vendor/ladda.js"></script>

And I was trying to override the Login page doing the following:

 

override/controllers/admin/templates/login

content.tpl

header.tpl

 

The content.tpl show my changes but the header.tpl don't show any change, only can see the results if I change the core file. Anything I'm missing? And I don't think it's "normal" load the JS two times with or without override.

 

Best Regards.

Link to comment
Share on other sites

  • 9 months later...

hi Pedro,

did you find the solution? if so, would you be so kind to share it?
all i've found so fare are suggestions about changing the template files directly, which is not the proper way.
thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...