Jump to content

Can't get my apple touch icon to update on login pages


Recommended Posts

It's the strangest thing. On only my admin login page and customer login page for WHMCS the apple touch won't refresh. I've add the proper <link rel="apple-touch-icon" href="/apple-touch-icon.png?ver=1.6"> with the version change to trigger an update to all admin section and template section header files but only on the admin login page and customer login page it will not refresh. 

Once you login and all other pages refreshes fine.

Is there a header section for the login pages that is encoded? Or a pace I can add <link rel="apple-touch-icon" href="/apple-touch-icon.png?ver=1.6"> to a header file so it will refresh the apple touch icon?

The orange icon is the old and the text icon is the new one that loads after you login. The actual log in page is stuck on the old.

https://webhost.pro/clientarea.php

 

IMG_7405.PNG

IMG_7406.PNG

Link to comment
Share on other sites

Oh I think I got it. I remove all the favicon data from the header.tpl file and added it to the templates/includes/head.tpl file and it seems to work for all pages now.

Oh also for it to work on the customer login page I needed to add it uder {if $templatefile == "viewticket" && !$loggedin} on the head.tpl page as well.

As for the admin page I can't find a place to change the header tags but at least the customers will see the new favicon now.

Edited by Web Host Pro
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...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated