template:dokumobile
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
template:dokumobile [2015-03-27 13:08] – 87.139.20.29 | template:dokumobile [2023-12-16 18:15] (current) – new download url Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== dokumobile Template ====== | ====== dokumobile Template ====== | ||
+ | |||
---- template ---- | ---- template ---- | ||
- | description | + | description |
author | author | ||
email : hiflyer.x@gmail.com | email : hiflyer.x@gmail.com | ||
- | lastupdate | + | lastupdate |
- | compatible | + | compatible |
- | depends | + | depends |
conflicts | conflicts | ||
similar | similar | ||
Line 12: | Line 13: | ||
tags : iPhone, mobile | tags : iPhone, mobile | ||
- | downloadurl | + | downloadurl |
- | bugtracker | + | bugtracker |
- | sourcerepo | + | sourcerepo |
donationurl | donationurl | ||
---- | ---- | ||
- | |||
Since there hasn't been a DokuWiki template for the iPhone, I decided to try my hand at creating one. This was based on the default template that comes with DokuWiki. Hopefully it doesn' | Since there hasn't been a DokuWiki template for the iPhone, I decided to try my hand at creating one. This was based on the default template that comes with DokuWiki. Hopefully it doesn' | ||
- | I am not a programmer & would welcome tweaks & additions to make it more esthetically appealing - especially better icons ;) | + | I am not a programmer & would welcome tweaks & additions to make it more esthetically appealing |
That said, I've found it to be very usable which was the key. | That said, I've found it to be very usable which was the key. | ||
Line 28: | Line 28: | ||
- | =====More | + | ===== More Screen s===== |
{{http:// | {{http:// | ||
- | |||
- | |||
===== Quick rundown: ===== | ===== Quick rundown: ===== | ||
Line 43: | Line 41: | ||
Click on a button to display that link's contents. | Click on a button to display that link's contents. | ||
- | They show / hide using jQuery | + | They show / hide using jQuery. |
===== Requirements ===== | ===== Requirements ===== | ||
- | [[plugin: | + | * [[plugin: |
- | Create a page at " | + | Create a page at " |
===== Plugin Issues ===== | ===== Plugin Issues ===== | ||
Line 55: | Line 53: | ||
Since most plugins were NOT designed around the idea of a 320px wide screen, some do require tweaking. | Since most plugins were NOT designed around the idea of a 320px wide screen, some do require tweaking. | ||
- | The [[plugin: | + | The [[plugin: |
- | < | + | < |
.noteclassic, | .noteclassic, | ||
margin: 2em; | margin: 2em; | ||
Line 76: | Line 74: | ||
} | } | ||
</ | </ | ||
- | |||
More to come probably... | More to come probably... | ||
- | |||
- | |||
===== Download and Install ====== | ===== Download and Install ====== | ||
Line 86: | Line 81: | ||
Use the following URL to download this template: | Use the following URL to download this template: | ||
- | * http://kjh.ca/dokumobile_2010_02_28.zip (FIXME file not found :-() | + | * [[https://trello.com/1/ |
Refer to [[: | Refer to [[: | ||
==== Use as an alternative mobile Theme to a standard Theme ==== | ==== Use as an alternative mobile Theme to a standard Theme ==== | ||
+ | |||
I switch Themes based on the usesd Device: | I switch Themes based on the usesd Device: | ||
- | | + | |
- | * put into your local.php manually after " | + | |
+ | * put into your local.php manually after "%%$conf[' | ||
include(" | include(" | ||
Line 105: | Line 101: | ||
(Admin, mediamanager, | (Admin, mediamanager, | ||
- | Configurable options need to be added into the main DokuWiki configuration page | + | Configurable options need to be added into the main DokuWiki configuration page. |
===== Tips ===== | ===== Tips ===== | ||
If you're editing a wiki page on your iPhone and need to scroll the edit box, hold one finger down in the edit box area and then scroll with a second finger. Works perfectly! | If you're editing a wiki page on your iPhone and need to scroll the edit box, hold one finger down in the edit box area and then scroll with a second finger. Works perfectly! | ||
- | |||
===== Bugs & Issues ===== | ===== Bugs & Issues ===== | ||
- | | + | |
+ | | ||
Add your bugs or issues here | Add your bugs or issues here | ||
- | * Use jQuery.noConflict() with the Editor | + | * Use '' |
===== Discussion ===== | ===== Discussion ===== | ||
Line 121: | Line 118: | ||
Regardless of the browser, I find that the code you provide to switch templates based on UserAgent creates a failure of the wiki to load on mobile devices unless tplSwitcher plugin is also installed and activated. | Regardless of the browser, I find that the code you provide to switch templates based on UserAgent creates a failure of the wiki to load on mobile devices unless tplSwitcher plugin is also installed and activated. | ||
+ | |||
==== Solution to MSIE/Safari ==== | ==== Solution to MSIE/Safari ==== | ||
- | Edit top_bar.php and change. | ||
- | < | + | Edit '' |
+ | |||
+ | < | ||
7 <table width=" | 7 <table width=" | ||
8 < | 8 < | ||
Line 132: | Line 131: | ||
| | ||
13 </ | 13 </ | ||
- | | + | 14 |
+ | </ | ||
to | to | ||
- | < | + | < |
7 <table width=" | 7 <table width=" | ||
8 < | 8 < | ||
Line 144: | Line 144: | ||
| | ||
13 </ | 13 </ | ||
- | | + | 14 |
+ | </ | ||
This does not seem to be a jQuery issue (and not a browser issue as well). Just remove the "? >" sequence after the image file names since " | This does not seem to be a jQuery issue (and not a browser issue as well). Just remove the "? >" sequence after the image file names since " | ||
Line 162: | Line 163: | ||
Edit **\wiki\lib\tpl\multitemplate\meat.php** like this. | Edit **\wiki\lib\tpl\multitemplate\meat.php** like this. | ||
+ | |||
<code php> | <code php> | ||
<?php global $DOKU_TPL, | <?php global $DOKU_TPL, | ||
Line 208: | Line 210: | ||
UPDATE: | UPDATE: | ||
+ | |||
Actually it is not running... I had to add the following at the beginning: | Actually it is not running... I had to add the following at the beginning: | ||
+ | |||
<code php> | <code php> | ||
<?php | <?php |
template/dokumobile.1427458093.txt.gz · Last modified: 2015-03-27 13:08 by 87.139.20.29