Template: Mobile Template
Posted by Brian Moon
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
mobile-0.2.zip | 17.5 KB | open | download | Brian Moon | 10/07/2016 | Read message |
Template: Mobile Template February 27, 2011 09:58AM |
Admin Registered: 23 years ago Posts: 4,495 |
I have create a new mobile template that supersedes the old iPhone Template. This one should work in Android and Opera mini as well. It should in general look better on the iPhone as well. Also, it has more coverage of Phorum features. You can read and post. You can also read and post private messages. Any page not available will return a message stating that the page is not supported in the mobile site rather than throwing you into some page you can't read.
Used in conjunction with the new Automatic Mobile Template module, your mobile users can get a mobile template automatically when landing on the forum.
This template (with the module) is running here at Phorum.org.
Edited 3 time(s). Last edit at 02/27/2011 10:13AM by Brian Moon.
Used in conjunction with the new Automatic Mobile Template module, your mobile users can get a mobile template automatically when landing on the forum.
This template (with the module) is running here at Phorum.org.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Edited 3 time(s). Last edit at 02/27/2011 10:13AM by Brian Moon.
Re: Template: Mobile Template February 27, 2011 10:05AM |
Admin Registered: 23 years ago Posts: 4,495 |
This reply was made from my iPhone using the mobile template.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Template: Mobile Template February 27, 2011 02:03PM |
Admin Registered: 18 years ago Posts: 566 |
Re: Template: Mobile Template March 02, 2011 08:31AM |
Registered: 13 years ago Posts: 10 |
Re: Template: Mobile Template March 02, 2011 10:08AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: Template: Mobile Template March 02, 2011 01:54PM |
Registered: 15 years ago Posts: 753 |
Re: Template: Mobile Template March 02, 2011 02:11PM |
Admin Registered: 20 years ago Posts: 8,532 |
That means that you have failed to keep modules and templates apart. You're in the template forum here, so that should be a pretty good hint that you should not drop the code that you download here in the modules folder.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Template: Mobile Template March 02, 2011 02:16PM |
Registered: 15 years ago Posts: 753 |
Re: Template: Mobile Template March 02, 2011 02:37PM |
Registered: 15 years ago Posts: 753 |
I got some error logs:
PHP notice: Undefined index: PM : Have I accidentally removed {LANG->PM} from the language file?
I also received: Undefined index: raw_last_post
The template loads but it does not seem to connect with the "index" hook for example.
(I need to reveal: I don't own a smartphone.)
PHP notice: Undefined index: PM : Have I accidentally removed {LANG->PM} from the language file?
I also received: Undefined index: raw_last_post
The template loads but it does not seem to connect with the "index" hook for example.
(I need to reveal: I don't own a smartphone.)
Re: Template: Mobile Template March 02, 2011 08:00PM |
Registered: 17 years ago Posts: 533 |
The phorum variable {URL->INDEX} does not return what it is supposed to on the read.tpl and pm.tpl pages.
EDIT: Of course, the simple fix was to replace the variable with a simple "index.php"
Robert Angle
Phorum lover, nothing more.
Ruminations
Edited 1 time(s). Last edit at 03/02/2011 08:03PM by Robert Angle.
EDIT: Of course, the simple fix was to replace the variable with a simple "index.php"
Robert Angle
Phorum lover, nothing more.
Ruminations
Edited 1 time(s). Last edit at 03/02/2011 08:03PM by Robert Angle.
Sorry, only registered users may post in this forum.