Playing With Listpages2
See also the live-template page:list2:_template
Table of Contents
This is not working ! the fields outout1-3 are not replace "inside the module" into the wished parameter!
1. Parameter edit-call
Listpages-selective-01.jpgA click on the codes above opens the edit of the parameter!
2. Generated Code
And this is the created/updated code of the LIstpages Module:
||~ sorting by: ||~ title ||
||~ pagetype: ||~ normal ||
||~ category: ||~ css ||
||~ output1: ||~ %%fullname%% ||
||~ output2: ||~ %%title_linked%% ||
||~ output3: ||~ %%created_by_linked%% ||
[[module ListPages separate="no" limit="900" pagetype="normal" category="css" order="title" ]]
**%%form_raw{output1}%%** : %%%%form_raw{output1}%%%%
**%%form_data{output2}%%** : %%form_data{output2}%%
**%%form_data{output3}%%** : %%form_data{output3}%%
[[/module]]
3. Generated Output
The generated output of the LIstPages module above:
sorting by: | title |
---|---|
pagetype: | normal |
category: | css |
output1: | %%fullname%% |
output2: | %%title_linked%% |
output3: | %%created_by_linked%% |
%%form_raw{output1}%% : %%%%form_raw{output1}%%%%
%%form_data{output2}%% : %%form_data{output2}%%
%%form_data{output3}%% : %%form_data{output3}%%
4. Content
Content (shows only the codes, not the values!):
sel-page-type: '0'
sel-category: '12'
sel-order: '4'
output1: '2'
output2: '4'
output3: '15'
5. Dataform fields
[[form]]
fields:
sel-page-type:
label: Select page type
type: select
values:
0: "normal"
1: "hidden"
2: "*"
default: 0
sel-category:
label: Select category
type: select
values:
00: "-"
01: "*"
02: "lit"
03: "admin"
04: "admin-forum"
05: "admin-nav"
06: "admin-section"
07: "admin-thread"
08: "blog"
09: "cal"
10: "celex"
11: "celex2"
12: "css"
13: "cssplayground"
14: "dashboard"
15: "db3country"
16: "db4town"
17: "db5-family"
18: "db5-men"
19: "db5-women"
20: "dictionaries"
21: "image-ext"
22: "inc"
23: "include"
24: "lit-day"
25: "nav"
26: "news"
26: "search"
27: "start"
28: "system"
29: "task"
30: "template"
31: "test"
32: "testa1"
33: "testq1"
34: "to-do"
35: "tsangk"
36: "list"
37: "_default"
default: 01
sel-order:
label: Select order
type: select
values:
00: "name"
01: "name desc"
02: "fullname"
03: "fullname desc"
04: "title"
05: "title desc"
06: "created_by"
07: "created_by desc"
08: "created_at"
09: "created_at desc"
10: "updated_at"
11: "updated_at desc"
12: "size"
13: "size desc"
14: "rating"
15: "rating desc"
16: "revisions"
17: "revisions desc"
18: "coments"
19: "comments desc"
default: 02
output1:
label: Output-field1
type: select
values:
00: "playing-with-listpages2"
01: "list2"
02: "list2:playing-with-listpages2"
03: "Playing With Listpages2"
04: "[[[list2:playing-with-listpages2 | Playing With Listpages2]]]"
05: "listpages-selective-by-dataform"
06: "_default"
07: "listpages-selective-by-dataform"
08: "ListPages selective by dataform"
09: "[[[listpages-selective-by-dataform | ListPages selective by dataform]]]"
10: "http://community-playground.wikidot.com/list2:playing-with-listpages2"
11: ""
12: ""
13: "[[date 1446988962 format="%e %b %Y, %H:%M|agohover"]]"
14: "Helmut_pdorf"
15: "[[*user Helmut_pdorf]]"
16: "[[date 1447767872 format="%e %b %Y, %H:%M|agohover"]]"
17: "Ed Johnson"
18: "[[*user Ed Johnson]]"
19: ""
20: ""
21: ""
default: 03
output2:
label: Output-field2
type: select
values:
00: "playing-with-listpages2"
01: "list2"
02: "list2:playing-with-listpages2"
03: "Playing With Listpages2"
04: "[[[list2:playing-with-listpages2 | Playing With Listpages2]]]"
05: "listpages-selective-by-dataform"
06: "_default"
07: "listpages-selective-by-dataform"
08: "ListPages selective by dataform"
09: "[[[listpages-selective-by-dataform | ListPages selective by dataform]]]"
10: "http://community-playground.wikidot.com/list2:playing-with-listpages2"
11: ""
12: ""
13: "[[date 1446988962 format="%e %b %Y, %H:%M|agohover"]]"
14: "Helmut_pdorf"
15: "[[*user Helmut_pdorf]]"
16: "[[date 1447767872 format="%e %b %Y, %H:%M|agohover"]]"
17: "Ed Johnson"
18: "[[*user Ed Johnson]]"
19: ""
20: ""
21: ""
default: 03
output3:
label: Output-field3
type: select
values:
00: "playing-with-listpages2"
01: "list2"
02: "list2:playing-with-listpages2"
03: "Playing With Listpages2"
04: "[[[list2:playing-with-listpages2 | Playing With Listpages2]]]"
05: "listpages-selective-by-dataform"
06: "_default"
07: "listpages-selective-by-dataform"
08: "ListPages selective by dataform"
09: "[[[listpages-selective-by-dataform | ListPages selective by dataform]]]"
10: "http://community-playground.wikidot.com/list2:playing-with-listpages2"
11: ""
12: ""
13: "[[date 1446988962 format="%e %b %Y, %H:%M|agohover"]]"
14: "Helmut_pdorf"
15: "[[*user Helmut_pdorf]]"
16: "[[date 1447767872 format="%e %b %Y, %H:%M|agohover"]]"
17: "Ed Johnson"
18: "[[*user Ed Johnson]]"
19: ""
20: ""
21: ""
default: 03
[[/form]]
page revision: 3, last edited: 17 Nov 2015 13:44