Select - PagePath extention?
nav_first.pngFirst: thread:379
Feedback from naive user
Edited: 26 Oct 2011 12:41 by: Sheepdog
Comments: 3
Tags:
nav_prev.pngPrevious: thread:304
Displaying the page title in the form
Edited: 24 Feb 2010 15:48 by: pieterh
Comments: 9
Tags:
Last: thread:141
Which aspects of this design do people want first?
Edited: 11 Nov 2009 12:44 by: leiger
Comments: 14
Tags:
nav_last.png
Next: thread:306
Attribute for page-title
Edited: 24 Feb 2010 13:56 by: Steven Heynderickx
Comments: 0
Tags:
nav_next.png

Steven HeynderickxSteven Heynderickx wrote on 24 Feb 2010 10:50

this is not a design! Just a question.

It would solve manually adjusting a form after new selection-options are added to a site via new pages that were created.

It would be like choosing only ONE level (by free choice) of the pagepath… yes maybe even the possibilty to add a new selection-item…

So I have two suggestions:

  1. altering the select-field
  2. altering the pagepath-field

1 Altering the select-field

The Select-field is designed as follows:

[[form]]
fields:
  chose_color:
    label: Chose a color
    type: select
    values:
      1: Red
      2: Blue
      3: Green
      4: Black
      5: White
[[/form]]

So at this moment the items need to be manualy entered. What if we could do the following?

[[form]]
fields:
  chose_color:
    label: Chose a color
    type: select
    category: colors
    PARENT: PAGENAME  //beeing the root-level dept="1"
[[/form]]

2 Altering the pagepath-field

Current design:

[[form]]
fields:
  geo:
    type: pagepath
    category: sandbox-126-pagepath-location
    label: Location
[[/form]]

Possible modification
[[form]]
fields:
  geo:
    type: pagepath
    category: sandbox-126-pagepath-location
    label: Location
    PARENT: PAGENAME //beeing the root-level dept="1"
[[/form]]

By adding the PARENT-attribute, the pagepath will know that it only needs to show ONE pulldown-selection-box.

As I see how fast the PagePath-generates this kind of information I see the possibilities…
Since it is not so far away from the functionallity of the Pagepath it should be very possible to integrate this I assume…

How about that?


Start a new sub-thread

Comments: 4

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