[pmwiki-users] The structure of pmwiki

Sandy sandy at onebit.ca
Thu Oct 11 10:27:56 CDT 2007


Matthias Günther wrote:

> ####
> version=pmwiki-2.2.0-beta57 ordered=1 urlencoded=1
> agent=Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko)
> author=
> charset=ISO-8859-1
> csum=
> ctime=1162005298
> host=127.0.0.1
> name=Site.InfoBar
> rev=2
> targets=Site.InfoBar,Site.Search
> text=>>id=info-left%3c%3c%0a* %25item rel='nofollow' class='home noborder'
> accesskey='$[ak_home]'%25[[ {$ScriptUrl}?action=home | $[Home] ]]%0a(:if !authid
> :)%0a* %25item rel='nofollow' class='login' accesskey='$[ak_login]'%25[[
> {*$FullName}?action=login | $[Login] ]]%0a(:ifend:)%0a(:if authid :)%0a* %25item
> rel='nofollow' class='l
> ####
> 
> What is that? It's like chinese for me :-). Can someone explain this for me. And
> I found out that the pmwiki source contains also such files in the folder
> wikilib.d . 

Sitegroup.infobar isn't intended for direct editing. It's actually a 
pmwiki page, Sitegroup/InfoBar . It's much easier to edit the page 
through pmwiki, and the program will look after all that hidden stuff 
for you.

(I assume you can get to a specific page directly; if not, let us know, 
and send us the URL of your main page. Details vary, depending on 
whether and how you did CleanURLs.)

A tmpl file is actually an HTML file with extra <!--wiki  ....> tags to 
tell pmwiki to insert "sub-pages" from the wiki.

Most skins use a div down the left for Site.SideBar, and one across the 
top for Site.PageActions. Try looking at them through PmWiki. (Easy way 
to find them: create a dummy page with the following directive:

(:pagelist -PmWiki:)

This has got to be one of the coolest features of the program, the 
ability to edit site- and group-wide content, just by editing a wiki page.

Hope this helps!

Sandy






More information about the pmwiki-users mailing list