[pmwiki-users] The structure of pmwiki

Ben Wilson dausha at gmail.com
Tue Oct 2 06:32:26 CDT 2007


SiteGroup stands for a user-customizable site group. The default is
"Site" So, {$SiteGroup}.InfoBar should be "Site.InfoBar". When you
looked at the file contents, the only thing really relevant is the
"targets" value, which sort of tells you that Site.InfoBar is its
name.

Ben

On 10/2/07, Matthias Günther <lordmatze at googlemail.com> wrote:
> Hello again,
>
> I tryed to understand the skins, which are open source for use. I found the
> green skin very interestung and would like to modify it. But after I have
> watched the template it gave me the heebie-jeebies - brrr.
>
> Example from the template:
>
> ####
> <div id='wiki-info' class='wiki-info'>
>         <!--wiki:{$SiteGroup}.InfoBar-->
> </div>
> ####
>
> Okay ${SiteGroup} stands for the current group which is the ownder of the page
> and the InfoBar stands for an file which inserted in the folder green.d . So I
> looked up and was totally confused. Here again some code snippets:
>
> ####
> 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 .
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>


-- 
Ben Wilson
"Words are the only thing which will last forever" Churchill



More information about the pmwiki-users mailing list