List2:_template

See also the live-template page:list2:_template

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.jpg

A 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:

3. Generated Output

The generated output of the LIstPages module above:

sorting by: %%form_data{sel-order}%%
pagetype: %%form_data{sel-page-type}%%
category: %%form_data{sel-category}%%
output1: %%form_data{output1}%%
output2: %%form_data{output2}%%
output3: %%form_data{output3}%%
Invalid pagetype attribute.

4. Content

Content (shows only the codes, not the values!):
%%content%%

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: "%%name%%"
      01: "%%category%%"
      02: "%%fullname%%"
      03: "%%title%%"
      04: "title_linked"
      05: "%%parent_name%%"
      06: "%%parent_category%%"
      07: "%%parent_fullname%%"
      08: "%%parent_title%%"
      09: "%%parent_title_linked%%"
      10: "%%link%%"
      11: "%%tags%%"
      12: "%%_tags%%"
      13: "%%created_at%%"
      14: "%%created_by%%"
      15: "%%created_by_linked%%"
      16: "%%updated_at%%"
      17: "%%updated_by%%"
      18: "%%updated_by_linked%%"
      19: "%%commented_at%%"
      20: "%%commented_by%%"
      21: "%%commented_by_linked%%"
    default: 03
  output2:
    label: Output-field2
    type: select
    values:
      00: "%%name%%"
      01: "%%category%%"
      02: "%%fullname%%"
      03: "%%title%%"
      04: "%%title_linked%%"
      05: "%%parent_name%%"
      06: "%%parent_category%%"
      07: "%%parent_fullname%%"
      08: "%%parent_title%%"
      09: "%%parent_title_linked%%"
      10: "%%link%%"
      11: "%%tags%%"
      12: "%%_tags%%"
      13: "%%created_at%%"
      14: "%%created_by%%"
      15: "%%created_by_linked%%"
      16: "%%updated_at%%"
      17: "%%updated_by%%"
      18: "%%updated_by_linked%%"
      19: "%%commented_at%%"
      20: "%%commented_by%%"
      21: "%%commented_by_linked%%"
    default: 03
  output3:
    label: Output-field3
    type: select
    values:
      00: "%%name%%"
      01: "%%category%%"
      02: "%%fullname%%"
      03: "%%title%%"
      04: "%%title_linked%%"
      05: "%%parent_name%%"
      06: "%%parent_category%%"
      07: "%%parent_fullname%%"
      08: "%%parent_title%%"
      09: "%%parent_title_linked%%"
      10: "%%link%%"
      11: "%%tags%%"
      12: "%%_tags%%"
      13: "%%created_at%%"
      14: "%%created_by%%"
      15: "%%created_by_linked%%"
      16: "%%updated_at%%"
      17: "%%updated_by%%"
      18: "%%updated_by_linked%%"
      19: "%%commented_at%%"
      20: "%%commented_by%%"
      21: "%%commented_by_linked%%"
    default: 03
[[/form]]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License