DokuWiki

It's better when it's simple

User Tools

Site Tools


template:dokumobile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
template:dokumobile [2016-01-15 18:38] Aleksandrtemplate:dokumobile [2023-12-16 18:15] (current) – new download url Aleksandr
Line 5: Line 5:
 author        : hiflyer author        : hiflyer
 email         : hiflyer.x@gmail.com email         : hiflyer.x@gmail.com
-lastupdate    : 2010-03-01 +lastupdate    : 2010-02-28 
-compatible    : DokuWiki 2009-12-25, Binky +compatible    : 2009-12-25c “Lemming”2013-12-08 “Binky 
-depends       : +depends       : plugin:jquery
 conflicts     :  conflicts     : 
 similar       :  similar       : 
Line 13: Line 13:
 tags          : iPhone, mobile tags          : iPhone, mobile
  
-downloadurl   : +downloadurl   : https://trello.com/1/cards/5d711bc283c3778bffe22c01/attachments/5d711d28fb2a477484e28ef0/download/dokumobile.zip
 bugtracker    : # eg. https://github.com/example/dokuwiki-plugin-sample/issues bugtracker    : # eg. https://github.com/example/dokuwiki-plugin-sample/issues
 sourcerepo    : # eg. https://github.com/example/dokuwiki-plugin-sample/ sourcerepo    : # eg. https://github.com/example/dokuwiki-plugin-sample/
Line 21: Line 21:
 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't totally suck on it's first release... 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't totally suck on it's first release...
  
-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 -- especially better icons ;)
  
 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 41: 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:jquery|jQuery plugin]]+  * [[plugin:jquery|jQuery plugin]]
  
-Create a page at "wiki:navigation_mobile" to use as your navigation page (or edit the top_bar.php to point somewhere else). I highly suggest [[plugin:indexmenu |indexmenu]], or another autogenerating navbar plugin.+Create a page at "wiki:navigation_mobile" to use as your navigation page (or edit the ''top_bar.php'' to point somewhere else). I highly suggest [[plugin:indexmenu |indexmenu]], or another autogenerating navbar plugin.
  
 ===== Plugin Issues ===== ===== Plugin Issues =====
Line 53: 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:note|Note plugin]] requires the following changes to it's ''style.css'':+The [[plugin:note|Note Plugin]] requires the following changes to it's ''style.css'':
  
 <code css> <code css>
Line 74: Line 74:
 } }
 </code> </code>
- 
  
 More to come probably... More to come probably...
Line 82: Line 81:
 Use the following URL to download this template: Use the following URL to download this template:
  
-  * [[https://yadi.sk/d/LLu-iHmDjKZSr|Download from Yandex.Disk]] +  * [[https://trello.com/1/cards/5d711bc283c3778bffe22c01/attachments/5d711d28fb2a477484e28ef0/download/dokumobile.zip|dokumobile.zip]]
-  * <del>%%http://kjh.ca/dokumobile_2010_02_28.zip%%</del> (FIXME file not found :-()+
  
 Refer to [[:template]] on how to install and use templates in DokuWiki. Refer to [[:template]] on how to install and use templates in DokuWiki.
Line 90: Line 88:
  
 I switch Themes based on the usesd Device: I switch Themes based on the usesd Device:
-  * put **Mobile_Detect.php** ((http://code.google.com/p/php-mobile-detect/)) into your conf-dir + 
-  * put into your local.php manually after "$conf['template']=":+  * put **Mobile_Detect.php**((http://code.google.com/p/php-mobile-detect/)) into your conf-dir 
 +  * put into your local.php manually after "%%$conf['template']=%%":
  
   include("Mobile_Detect.php");   include("Mobile_Detect.php");
Line 132: Line 131:
  12   </tr>  12   </tr>
  13 </table>  13 </table>
- 14</code>+ 14 
 +</code>
  
 to to
Line 144: Line 144:
  12   </tr>  12   </tr>
  13 </table>  13 </table>
- 14</code>+ 14 
 +</code>
  
 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 ".../icon_left.png? >" is not a valid URL! After modifying the template file images should show up properly in any browser. 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 ".../icon_left.png? >" is not a valid URL! After modifying the template file images should show up properly in any browser.
template/dokumobile.1452879527.txt.gz · Last modified: 2016-01-15 18:38 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki