Changes between Version 2 and Version 3 of WikiFormsPlugin


Ignore:
Timestamp:
Jul 1, 2010, 11:41:04 AM (4 years ago)
Author:
asic_druide
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormsPlugin

    v2 v3  
    169169}}}
    170170
     171=== New Include Feature (coming soon) ===
     172Lets assume you have a wiki page named 'sandbox' like this:
     173{{{
     174{{{
     175({{a}})
     176
     177({{b}})
     178
     179({{x}})
     180
     181({{a}})
     182
     183({{ c }})
     184
     185({{d}})
     186}}}
     187
     188}}}
     189
     190If you call it like this:
     191{{{
     192[[WikiFormInclude(sandbox:a=1 b=2 c=' " ' d='a b c d')]]
     193}}}
     194
     195all defined values are replaces and the resulting page is rendered as usual.
     196
     197=== New Permission Feature (coming soon) ===
     198Think of an example like this:
     199||         || admin[[BR]]user || normal[[BR]]user || other[[BR]]user
     200|| region1 || rw              || r                || /
     201|| region2 || rw              || /                || /
     202|| region3 || /               || /                || r
     203
     204{{{
     205{{{
     206#!WikiForms
     207
     208<f>permission:change:                                            # default access is none                          </f>
     209<f>permission:change: +rw     : user in admin_user1,admin_user2  # admin user gets additionally read/write access  </f>
     210<f>permission:change: +r      : user in user1 , user2            # normal user get additionally read access        </f>
     211<f>permission:alias : region1                                    # save this as permission for region 1            </f>
     212
     213
     214<f>permission:change:                                            # default access is none                          </f>
     215<f>permission:change: +rw     : user in admin_user1,admin_user2  # admin user gets read/write access               </f>
     216<f>permission:alias : region2                                    # save this as permission for region 2            </f>
     217
     218
     219<f>permission:change:  r                                         # default access is read                          </f>
     220<f>permission:change: -r      : user in admin_user1,admin_user2  # admin user should not see default message       </f>
     221<f>permission:change: -r      : user in user1 , user2            # normal user should not see default message      </f>
     222<f>permission:alias : region3                                    # save this as permission for region 3            </f>
     223
     224
     225<f>permission:alias:region1</f>
     226<f>checkbox:region1</f>  This is region 1 (rw for admin-user, r for normal-user, hidden for others)
     227
     228
     229<f>permission:alias:region2</f>
     230<f>checkbox:region2</f>  This is region 2 (rw for admin-user, hidden for normal-user and others)
     231
     232
     233<f>permission:alias:region3</f>
     234<f>checkbox:region3</f>  This is region 3 (hidden for admin- and normal-user, r for others)
     235}}}
     236}}}
     237
    171238== Recent Changes ==
    172239