Did I do this right?

UPDATE: Updated attachment, many more phones supported, no need to change any code. There is still a few known incompatibilities, however there are a few workarounds in the comments section (if you have issues).

Let's see if I did this right.

I downloaded the file, placed it in include/staff and unzipped.

It created a subfolder with the same name as the file; the file is inside there.

Is that it or do I need to move this back into include/staff?

I can access the site with my Blackberry, but I don't think it looks as low-bandwidth friendly as your screen snap.

Thanks for all the work. I'm eager to get this going.

Murph

Let's see if I did this right.

I downloaded the file, placed it in include/staff and unzipped.

It created a subfolder with the same name as the file; the file is inside there.

Is that it or do I need to move this back into include/staff?

I can access the site with my Blackberry, but I don't think it looks as low-bandwidth friendly as your screen snap.

Thanks for all the work. I'm eager to get this going.

Murph

My "UPDATE" text was only for those who previously installed the MOD.

If you are new to this MOD, please follow ALL of the steps like normal. (You need to download the file, unzip it, and place the PHP file directly into include/staff)

My "UPDATE" text was only for those who previously installed the MOD.

If you are new to this MOD, please follow ALL of the steps like normal. (You need to download the file, unzip it, and place the PHP file directly into include/staff)

Thanks. I thought it was a bit easy!

4 months later

Page blank after code is inserted

I get a blank page for /scp when I access it w/ the full browser after I update the code in header.inc.php.

i even tried the header.inc.php.mobile file

Using Os ticket 1.6 (just upgraded and it nice)

Thank You

3 months later

Thanks!

Hi,

I've followed the steps laid out here and it works fine EXCEPT...

When I'm attempting to assign a ticket to a staff member, I click on the Assign button but all the browser does is reposition the screen so that the scroll bar is in the left hand position. Nothing else happens, even when the button is clicked again.

I'd be grateful for any help :)

Cheers,

Nick

Assign Issues

Hello Nick,

Are you sure that you're typing something into the Comments box before clicking the "Assign" button? This is a required field.

If so, what browser (phone) are you using? It works fine on my iPhone.

Thanks!

Michael Therrien

Hi,

I've followed the steps laid out here and it works fine EXCEPT...

When I'm attempting to assign a ticket to a staff member, I click on the Assign button but all the browser does is reposition the screen so that the scroll bar is in the left hand position. Nothing else happens, even when the button is clicked again.

I'd be grateful for any help :)

Cheers,

Nick

Hi,

First of all, thanks for the quick reply - I only posted that question a short while ago!

I included a very short note in the comment box - just the words "For you."

I also typed in a fairly lengthy reply in the first box and the same thing happened there.

Apologies, I should have said... I'm using a BlackBerry Bold 9700 with the standard BlackBerry browser :)

Many thanks again,

Nick

This sounds like a browser issue. The code below is the form on the mobile page, which is a standard HTML form.

Can you submit any of the forms on any of the mobile pages?

If you click on "Full Version", can you submit the forms there?

Assign to Staff

Staff Member:

-Select Staff Member.-

Therrien, Mike

 *

Comments/message for assignee.  ()

 *

wrap="soft" style="width%;">

Hi,

First of all, thanks for the quick reply - I only posted that question a short while ago!

I included a very short note in the comment box - just the words "For you."

I also typed in a fairly lengthy reply in the first box and the same thing happened there.

Apologies, I should have said... I'm using a BlackBerry Bold 9700 with the standard BlackBerry browser :)

Many thanks again,

Nick

19 days later

clarification on code to inject

ya i had a couple quick questions because when i go to load the page on computer it comes up blank and on android phone using dolphin browser and even iphone its telling me error page could not be found.. my questions are highlited in red.

on this part

Then ADD:

<?}?>

Before:

</head>

there already is a <?}?> do i add another one or is the one that is already there enough?

and on this part

Then ADD:

<?if(mobile_device_detect(true,true,true,true,true,true,false,false)){ if(isset($_SESSION))echo"<a href=\"index.php?mobile\">Mobile"; else echo"<a href=\"index.php?full\">Full";echo" Version</a> | ";};?>

BEFORE:

<a href="logout.php">Log Out</a></p>

| My Preference | Log Out

is my actual line so do i add it before the part highlited in green? or the line up above it.?

a month later

ya i had a couple quick questions because when i go to load the page on computer it comes up blank and on android phone using dolphin browser and even iphone its telling me error page could not be found.. my questions are highlited in red.

on this part

Then ADD:

<?}?>

Before:

</head>

there already is a <?}?> do i add another one or is the one that is already there enough?

and on this part

Then ADD:

<?if(mobile_device_detect(true,true,true,true,true,true,false,false)){ if(isset($_SESSION))echo"<a href=\"index.php?mobile\">Mobile"; else echo"<a href=\"index.php?full\">Full";echo" Version</a> | ";};?>

BEFORE:

<a href="logout.php">Log Out</a></p>

| My Preference | Log Out

is my actual line so do i add it before the part highlited in green? or the line up above it.?

Hey I just set this up for myself and I can answer you:

1. Yes add an additional <?}?> because the previous one closes php code _inside_ of what you're adding.

2. Your line should read:

..previous code..| <a href="profile.php?t=pref">My Preference</a> |<?if(mobile_device_detect(true,true,true,true,true,true,false,false)){ if(isset($_SESSION))echo"<a href=\"index.php?mobile\">Mobile"; else echo"<a href=\"index.php?full\">Full";echo" Version</a> | ";};?> <a href="logout.php">Log Out</a></p>

Hope this helps... although after a bit over a month, you probably figured it out. Maybe someone else reading this will find this helpful.

Thanks to the OP for this wonderful mod.

2 months later

Adapting this code for the client side

Hi has anyone one adapted the code for the client side? I tried using the same code however I only get a blank white page. Any help would be appreciated.

PS Thanks a million the code works flawlessly on the scp side.

Great MOD, works great. Thank you.

10 months later

Main.css Editing

Anyone know if it would be be possible to add some if statements into the main.css file to remove certain columns or set certain widths if a mobile device is detected?

a year later

Great Works

Mabuhay! Thanks for the great job :) is it possible that i change the css so it can be good in mobile appearance? Have anyone tried editing custom css here?

Thanks,

chris

JQuery Mobile osticket modification

So I spent about 30 hours making a real mobile version.

Check out my blog and sample website at (www.thefakemiked.com)

7 years later

I'm using OSticket ver 1.14. but not found main.css file. pls advise how to fix this..

This mod is from 2009, and 1.14 was released in 2019. So you've got a decade of code changes to account for. Good luck.

Write a Reply...