http://{myWikiUrl}/feed.php?ns={Name Space}&view={Type}
因為 Multitemplate 安裝後有問題, 所以採用修改 main.php 的方案
<?php $nsArr = explode(':', $ID); if ($nsArr[0] == "scucs") { include(DOKU_TPLINC.'main_scucs.php'); } elseif ($nsArr[0] == "stanley") { include(DOKU_TPLINC.'main_stanley.php'); } elseif ($nsArr[0] == "jerry") { include(DOKU_TPLINC.'main_jerry.php'); } else { include(DOKU_TPLINC.'main_default.php'); } ?>
<?php if (!defined('DOKU_INC')) die(); include(DOKU_TPLINC.'tpl_functions.php'); $my_Title="蔡卓展專屬網站"; ?> : <title> <?php tpl_pagetitle()?> [<?php echo $my_Title;?>] </title> : <div class="header"> <div class="logo"> <?php tpl_link(wl(),$my_Title,'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?> </div> </div> :
cd lib/tpl wget http://tatewake.com/wiki/_media/projects:multitemplate-01022007.zip unzip projects\:multitemplate-01022007.zip cd multitemplate/ vi local_pref.php
: $multitemplate['playground'] = 'default'; $multitemplate['stanley'] = 'stanley'; $multitemplate['jerry'] = 'jerry'; $multitemplate['scucs'] = 'scucs'; $multitemplate[''] = 'simple'; :
..
Exp. http://www.example.com/namespace/page?purge=true
..
NoCache 語法 ~~NOCACHE~~
<div class="topbar"> <?php tpl_include_page('topbar') /* includes the wiki page "topbar" */ ?> </div>
@media screen { /* top bar */ .dokuwiki .topbar { position: absolute; top: 0; left: 0; width: 100%; } .dokuwiki .topbar ul { text-align: center; max-width: 600px; /* change accordingly */ margin: 0 auto; padding: 0; list-style: none; background-color: __background_alt__; border: solid __border__; border-width: 0 1px 1px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; box-shadow: 0 1px 3px #999; overflow: hidden; } .dokuwiki .topbar ul li { margin: 0; padding: 0 2px; display: inline-block; font-size: 85%; } .dokuwiki .topbar ul li a { color: __text__; display: inline-block; min-height: 16px; /* make sure icons are not cut off (most icons are 16x16) */ } /* for IE7 */ *+html .dokuwiki .topbar ul li, *+html .dokuwiki .topbar ul li a { display: inline; } /* changes specific for the default "dokuwiki" template, other templates need other changes! */ #dokuwiki__header { padding-top: 3.5em; } #dokuwiki__usertools { top: 2em; } /* IE8 needs this in the default template */ .dokuwiki .topbar ul li img { max-width: none; } } /* /@media */ /* for screens less than 480px wide */ @media only screen and (max-width: 480px) { /* move topbar back to the bottom */ .dokuwiki .topbar { position: static; } /* un-do some specific template changes */ #dokuwiki__header { padding-top: .5em; } } /* /@media */ @media print { /* don't print the topbar */ .dokuwiki .topbar { display: none; } } /* /@media */
2018/07/23 17:07 | Jonathan Tsai | |
2016/05/01 07:47 | ||
2017/02/06 19:02 | ||
2016/12/22 09:07 | ||
2016/05/01 07:47 | ||
2016/12/12 23:06 | ||
2016/05/01 07:47 | ||
2016/05/01 07:47 | ||
2017/03/26 18:55 | ||
2016/05/01 07:47 | ||
2017/08/14 12:17 | Jonathan Tsai |