Yesterday I updated hesk to version 3.4.0 but after updated I found two problems.
1. Button "to top" disappeared.
2. I had code in head.txt but now code doesn't load in section <head>
Problem with totop and head.txt update to 3.4.0
Moderator: mkoch227
Re: Problem with totop and head.txt update to 3.4.0
Both work fine for me?
Double-check that your head.txt still contains your code (that you didn't overwrite it).
The "Back to top" button only appears when the ticket page is at least 800 pixels high. Maybe some of the missing code from your head is causing Javascript errors?
Double-check that your head.txt still contains your code (that you didn't overwrite it).
The "Back to top" button only appears when the ticket page is at least 800 pixels high. Maybe some of the missing code from your head is causing Javascript errors?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Problem with totop and head.txt update to 3.4.0
You have right, button "to top" appear only in tickets but how to change code that this button appear in another pages ?
I installed clean hesk by softaculous and I added to head.txt below code but this code doesn't appear in <head> section.
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
I installed clean hesk by softaculous and I added to head.txt below code but this code doesn't appear in <head> section.
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
Re: Problem with totop and head.txt update to 3.4.0
Where are you trying to add that code? Note that whatever you add to head.txt only appears in the customer side. If you want to add something to the admin side, you will need to edit /inc/header.inc.php
To add "back to top" to other pages in admin, you will need to edit each page you want it to add. I can't provide much support for such customizations, but the general guideline is you will need this at the top:
And this somewhere at the bottom of the page:
To add "back to top" to other pages in admin, you will need to edit each page you want it to add. I can't provide much support for such customizations, but the general guideline is you will need this at the top:
Code: Select all
define('BACK2TOP',1);
Code: Select all
<a href="#" class="back-to-top"><?php echo $hesklang['btt']; ?></a>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Problem with totop and head.txt update to 3.4.0
Thanks for your help. I thought that code head.tx work both admin and client.