Add "viewport" to head to fix mobile usability

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
srumberg
Posts: 41
Joined: Thu Feb 07, 2013 11:33 am

Add "viewport" to head to fix mobile usability

Post by srumberg »

Version of script: 2.8.2
What terms did you try when SEARCHING for a solution: viewport

Hi Klemen,

Google is complaining that knowledgebase.php is not mobile-friendly.

Proposed solution: add this to header.inc.php

Code: Select all

<meta name="viewport" content="width=device-width, initial-scale=1.0">
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Re: Add "viewport" to head to fix mobile usability

Post by Klemen »

That won't make the KB (or Hesk) mobile-friendly, but you can add the code to the head.txt (not header.txt) file and it will be included.

To make Hesk truly mobile-friendly, a user interface change is needed. You can try the unofficial Mods for Hesk or wait for the official user interface update (which I have been promising for years, but honestly will still take a long time to become a reality).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
srumberg
Posts: 41
Joined: Thu Feb 07, 2013 11:33 am

Re: Add "viewport" to head to fix mobile usability

Post by srumberg »

Thank you.

FYI, the URL is mods-for-hesk.com, without the trailing "/l"
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Re: Add "viewport" to head to fix mobile usability

Post by Klemen »

Yes, was a typo, fixed now - thanks!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Post Reply