Note, that this recipe is not updated long time and could be outdated!
Got it.

Padomu vietas izveide

Must prepare before:  Padomu bāzes izveide

  1. Sākuma lapā sadaļā Create izvēlas New Space, ievada Recipes un spiež Create.
  2. Vietā izveido lapu WebHome, virsrakstā ieraksta Padomi.
  3. Saturā ieliek sekojošu Velocity skriptu:

    = Padomi =

    * [[Alfabētiskais satura rādītājs>>Recipes.IndexByAlphabet]]

    ## This code is copied from xwiki/bin/edit/XWiki/ClassSheet
    #if($xwiki.getUser().isUserInGroup("XWiki.XWikiAdminGroup"))

    **Jauns padoms:**
    <form action="" id="newdoc" method="post">
    <input type="hidden" name="template" value="Recipes.RecipeClassTemplate"/>
    <input type="hidden" name="webname" value="Recipes"/>
    <input type="text" name="name" value=""/>
    <input type="button" value="Izveidot" onclick='if (updateName(this.form.name)) {this.form.action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }'/>
    </form>
    #end

  

Created by Valdis Vītoliņš on 2008-07-16 11:47
Last modified by Valdis Vītoliņš on 2020-05-25 13:53
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License