PDA-mambot Guide
4. PDA-mambot tuning and activation
Now we shall understand with options of pda-mambot, and then we activate the mambot.

Mambot settings:
PDA for PDA-user-agents. Show PDA version of a site for PDA-user-agents
PDA for subdomain. Show PDA version for subdomain
Subdomain name. Subdomain name, e.g. pda for pda.yourdomain.com
Page General Settings:
The pda-template contains some positions for modules which names can be changed in parameters of pda-mambot. As a whole, the structure of the pda-template has the following kind:
| 1st module position (”header” by default) |
| 2nd module position |
| pathway |
| 3rd module position |
| 4th module position |
| the component |
| 5th module position (”footer” by default) |
| 6th module position |
| Footer with Joomla! version and copyright (optionally) |
By default the template shows “header” and “footer” positions. If these positions already are available in the basic template of a site (that quite probably) it is necessary to change these names for others that there were no collisions. Though, in some cases it happens conveniently to make so that the menu (or any other module) was showed in the same position in both templates.
Extended Settings:
PDA Homepage. Set this page as a homepage (e.g. index.php?option=com_content&task=view&id=12&itemid=1)
Pathway on home page. Show pathway on home (main) page
Component on home page. Show component on home (main) page
Use head. Use standard or simplified (title only) <head> block
Allow extended editors. Allow to load extended editors (TinyMCE, etc.)
Postprocessing (not recommended):
Far from being all mobile devices can display all set of html-tags, for example, as a rule, it is not supported tags: iframe, object, applet, embed; and strongly limited (sometimes is impossible) use of script tag. If components and modules of a site use these tags you can remove completely them from generated pages by means of these settings. In all other cases applying such postprocessing of pages is not recommended, since processor time is spent for it at each generation of the page (since the result is not cached).
Convert to UTF-8. Convert output to UTF-8 (using iconv library). Not all set of international codepages can be supported by all mobile devices, but the codepage utf-8 is supported by the majority of them. Therefore if the language of your site is not English, it is advisable to transform generated pages to the codepage utf-8.
Professional Settings (Tuning):
PDA template. PDA template name (default: pda)
Embed CSS. Embed css-style into page
Content-type. Output Content-type header:
- text/html
- application/vnd.wap.xhtml+xml
- application/xhtml+xml
- text/xhtml
Use xml-head. Start html with <?xml version=”1.0″ encoding=”…”?>
DOCTYPE-head. DOCTYPE-head:
- No
- WAPFORUM/XHTML Mobile 1.0
- W3C/XHTML 1.0 Transitional
- W3C/XHTML 1.0 Strict
xmlns in html-head. Use <html xmlns=”http://www.w3.org/1999/xhtml”> instead of <html>
Gzip compress. Gzip compression. It is said, that the some smartphones cannot display some gzip-compressed pages. To avoid such problems, it is possible to disable use of gzip-compression completely. On the other hand, mobile contents should be maximum compact; therefore you can want to enable gzip-compression for the pda-version of a site even if it is disabled for the basic site.
Now it is possible to publish pda-mambot and to check up result from a pocket computer or by one of the methods described on “Testing pda-site“.

February 27th, 2008 at 9:15 am
Hi! Congratulations for this great bot!
But unfortunately I got the same "Parse error: syntax error, unexpected $end in …\pda\index.php on line 196". I downloaded the template and the mambot from here, twice. Actually I installed both manually, but this error aways appears.
What dou you think it can be?
PS.: I´m using WampServer version 2.0
March 1st, 2008 at 3:40 am
Thiago Freitas:
What is the version of installed pda-mambot?
March 3rd, 2008 at 11:06 am
The bot works well with PDAs and with Internet Explorer. However Firefox gets the following error:
XML Parsing Error: no element found
Location: http://trustedbytoni.com/
Line Number 1, Column 1:
I am using the latest version from your website.
Thanks much!
Jon
June 23rd, 2008 at 9:09 am
Hi,
it works perfelctly with a Nokia N95 but I cannot get it on a Pocket PC Eten Glofiish M700, I got my classical site using IE and Opera. Did I miss something with the setup, pelase.
November 12th, 2008 at 11:02 pm
Hi, I always get this error:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator
when i click the apply patch for joomla cache.
Anyone can help me? Just an amateur here. Hahahaha. Thanks!
November 17th, 2008 at 3:00 pm
archngel, I've never dealt with such a problem. But you can manually replace original /includes/joomla.cache.php by distributed with PDA-mambot file.
December 19th, 2008 at 5:44 pm
I downloaded this package and there is no sign of a "pda-template.zip" file anywhere. The file I downloaded was pda15.zip. But the instructions are calling for pda-template.zip.
Can someone tell me where I might find this file?
December 28th, 2008 at 8:39 am
http://extensions.joomla.org/extensions/miscellaneous/mobile
March 20th, 2009 at 12:41 am
I am struggling to get this template working with jomcomment. I cannot submit comments. Any ideas? Thanks!