|
FlexLayout<< | Cookbook-V1 | >> Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
GoalProvide a mechanism to adjust page layouts based on CSS. Solution=note Note: PmWiki versions 0.6 and later already have page layouts based on CSS. Change the values, and to a lesser extent the meaning, of the page layout variables, and placed CSS IDs on all page elements.
DiscussionFlexLayout makes it easy to stylesheet a wiki site. It comes with a default stylesheet that is very close the original appearance. You can also see a "live" example here(approve links). I also made a minor change to make the "web menu" (see the next page) possible. I will be uploading that as a separate addon. To use FlexLayout, put To customize the layout, create a new file in your I managed to keep the css files in the local directory. What is the problem? --Bernhard Weichel PmWiki/PmWiki is distributed with a .htaccess file that is supposed to deny all access to files in the local directory, to prevent users from executing those scripts directly. --<#> Would it be possible to deliver a .htaccess which allows to access css files. Just to maintain the principle that all local customized files are in /local. --Bernhard Weichel It's possible. Add three lines (the middle three in the following listing) to .htaccess in your /local directory: -- Hagan Fox Order allow,deny <Files *.css> Allow from all </Files> Deny from all I also have a problem with wikitext (otherwise, this works great). I notice that the DIV wikitext (defined in flexlayout.php in TextStartFmt and TextEndFmt) doesn't seem to make it from its definition in flexlayout.php to the final page (although a different wikitext element, specifically TD, appears in the rendered page--this must be the default from pmwiki.php).--Paul (pmwiki@paulwelty.com) help!,I install webmenu on my pmwiki site and want to build a Chinese Nav menu,but it fail,my website is http://mylibrary.csdl.ac.cn/pmwiki/pmwiki.php/CsdlInfo/FrontPageOfRd(approve links) and the webmenu is here http://mylibrary.csdl.ac.cn/pmwiki/pmwiki.php/Main/WebMenu(approve links) I'm still track the bug now :( I am available at maoj@mail.las.ac.cn A reminder, if you have errors at top about headers already being sent, make sure there are no spaces after the ?> that closes local.php. Requires PmWiki 0.5 or later. How can I modify
See AlsoWebMenu Contributors
pmwiki-2.2.0-beta68 -- Last modified by {{}}?
|