Template: Mobile Template
Posted by Brian Moon
Re: Template: Mobile Template June 30, 2012 12:10PM |
Registered: 16 years ago Posts: 753 |
I have two issues when I change the template to mobile on the FORUM/FOLDER admin panel.
The following error message is caused by /include/ajax/client.js.php.
If I infuse some extra javascript at the end of footer.tpl I get these results:
I believe these two issues are related to each other. How could I solve this issue?
The following error message is caused by /include/ajax/client.js.php.
Language: PHPUncaught ReferenceError: Phorum is not defined Setup the Phorum.Ajax namespace if it has not yet been setup. if (Phorum === undefined) Phorum = {}; if (Phorum.Ajax === undefined) Phorum.Ajax = {};
If I infuse some extra javascript at the end of footer.tpl I get these results:
Language: PHPUncaught ReferenceError: $PJ is not defined... Uncaught ReferenceError: jQuery is not defined
I believe these two issues are related to each other. How could I solve this issue?
Re: Template: Mobile Template November 27, 2012 01:55PM |
Registered: 23 years ago Posts: 83 |
Re: Template: Mobile Template November 26, 2013 01:08PM |
Registered: 11 years ago Posts: 4 |
Re: Template: Mobile Template December 29, 2013 03:46PM |
Registered: 17 years ago Posts: 12 |
I had a problem with special Norwegian characters after upgrade of Phorum. I solved the problem by adding the statement:
$PHORUM['DATA']['CHARSET'] = "utf-8";
in the Language file. However, I still have the problem in the mobile Version. I tried to add the same statement to the Language file I made and stored in /mods/mod_mobil/lang/, but I still have the problem.
Any idea how I can set utf-8 for the mobile template?
$PHORUM['DATA']['CHARSET'] = "utf-8";
in the Language file. However, I still have the problem in the mobile Version. I tried to add the same statement to the Language file I made and stored in /mods/mod_mobil/lang/, but I still have the problem.
Any idea how I can set utf-8 for the mobile template?
Re: Template: Mobile Template December 31, 2013 06:58AM |
Registered: 17 years ago Posts: 12 |
Re: Template: Mobile Template January 17, 2014 09:10AM |
Registered: 17 years ago Posts: 25 |
Re: Template: Mobile Template January 17, 2014 10:55AM |
Admin Registered: 19 years ago Posts: 575 |
Re: Template: Mobile Template June 04, 2014 09:00AM |
Registered: 10 years ago Posts: 6 |
In order for the template to work with Russian language it requires the following
at the very top of index.tpl and header.tplLanguage: PHP<?php if ($PHORUM[';DATA';][';CHARSET';]) { header("Content-Type: text/html; charset=".htmlspecialchars($PHORUM[';DATA';][';CHARSET';])); } ?>
Re: Template: Mobile Template June 08, 2014 05:56AM |
Admin Registered: 22 years ago Posts: 9,240 |
October 26, 2015 05:06AM |
Admin Registered: 19 years ago Posts: 746 |
Andy from Switzerland noticed that the Mobile Template shows a wrong date for "Last post" when there isn't any post. It seems that a null value is interpreted as 1-1-1970...
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.
Sorry, only registered users may post in this forum.