Jump to content

PS 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:






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.

Share this post

Link to post
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.

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More