Adding functionality to DataForm and IndexedSearch. This also fixes a 'bug' in IndexedSearch where the pagelist isn't updated, when it changes.
This commit is contained in:
parent
387353e21f
commit
8bea166476
5 changed files with 176 additions and 58 deletions
|
|
@ -299,12 +299,16 @@ WebGUI's administrative controls for this field.
|
|||
<p>
|
||||
|
||||
</blockquote>
|
||||
|
||||
<b>field.noloop.<i>fieldName</i>.<i>property</i></b><br>
|
||||
Except from within the <b>field_loop</b> it's also possible to access all formfields directly. To accomplish this you should use these variables. Call them with field.noloop.<i>fieldName</i>.<i>property</i>, where fieldName is the name of the field (not the label) and property is anyone of the properties supplied by the <b>field_loop</b>. If you want the form tag of field 'name' you should use <tmpl_var field.noloop.name.form> anywhere in your template. If you want to know if the field is required use field.noloop.name.isRequired.
|
||||
<p>
|
||||
|
||||
<b>form.send</b><br>
|
||||
A form button with the word "send" printed on it.
|
||||
<p>
|
||||
|
||||
<b>form.save/b><br>
|
||||
<b>form.save</b><br>
|
||||
A form button with the word "save" printed on it.
|
||||
<p>
|
||||
|
||||
|
|
@ -313,7 +317,7 @@ The end of the form.
|
|||
<p>
|
||||
|
||||
*Only available if the user has already submitted the form.|,
|
||||
lastUpdated => 1053948922
|
||||
lastUpdated => 1090575731
|
||||
},
|
||||
|
||||
'72' => {
|
||||
|
|
@ -348,6 +352,14 @@ Set the number of characters wide this field will be.
|
|||
<b>Height</b><br>
|
||||
Set the number of characters tall this field will be. Only used on textarea and HTMLArea.
|
||||
<p>
|
||||
|
||||
<b>Align vertical</b><br>
|
||||
This property controls wheter radio- and checklists are layouted horizontally or vertically.
|
||||
<p>
|
||||
|
||||
<b>Extras</b><br>
|
||||
Here you can enter additional tag properties for the field tag. For instance 'class="myClass"'.
|
||||
<p>
|
||||
|
||||
<b>Possible Values</b><br>
|
||||
This field is used for the list types (like Checkbox List and Select List). Enter the values you wish to appear, one per line.
|
||||
|
|
@ -358,7 +370,7 @@ Enter the default value (if any) for the field. For Yes/No fields, enter "yes"
|
|||
<p>
|
||||
|
||||
|,
|
||||
lastUpdated => 1053855075
|
||||
lastUpdated => 1090575731
|
||||
},
|
||||
|
||||
'80' => {
|
||||
|
|
@ -592,6 +604,21 @@ A conditional indicating whether this field exists for the mail subsystem of the
|
|||
lastUpdated => 1057208065
|
||||
},
|
||||
|
||||
'editField-vertical-label' => {
|
||||
message => q|Align vertical|,
|
||||
lastUpdated => 1090575731
|
||||
},
|
||||
|
||||
'editField-vertical-subtext' => {
|
||||
message => q|This property only affects radio- and checklists.|,
|
||||
lastUpdated => 1090575731
|
||||
},
|
||||
|
||||
'editField-extras-label' => {
|
||||
message => q|Extras|,
|
||||
lastUpdated => 1090575731
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -62,6 +62,16 @@ refine their search.</P>
|
|||
option.<BR><BR><STRONG>value<BR></STRONG>The value of the
|
||||
option.<BR><BR><STRONG>selected<BR></STRONG>A conditional indicating whether
|
||||
this option is selected or not.</P></BLOCKQUOTE>
|
||||
<P dir=ltr><B>searchRoots</B><BR>A loop containing the available roots to search through.
|
||||
<BLOCKQUOTE dir=ltr><P dir=ltr>
|
||||
<b>title</b><br>The title of the pageroot.<br><br>
|
||||
<b>urlizedTitle</b><br>The urlizedTitle of the pageroot.<br><br>
|
||||
<b>menuTitle</b><br>The menu title of the pageroot.<br><br>
|
||||
<b>value</b><br>The value you should pass as a form param.<br><br>
|
||||
<b>checked</b><br>True if this pageroot is selected.<br><br>
|
||||
</p></blockquote>
|
||||
<p dir=ltr><b>rootPage.<i>urlizedTitle</i>.id</b><br>This is a direct link to the value property of the rootpage identified with <i>urlizedTitle</i> that is also given by the value property of the <B>searchRoots</B> loop.</p>
|
||||
<p dir=ltr><b>rootPage.<i>urlizedTitle</i>.checked</b><br>This is a direct link to the checked property of the rootpage identified with <i>urlizedTitle</i> that is also given by the checked property of the <B>searchRoots</B> loop.</p>
|
||||
<P><B>firstPage</B><BR>A link to the first page in the paginator.
|
||||
<P><B>lastPage</B><BR>A link to the last page in the paginator.
|
||||
<P><B>nextPage</B><BR>A link to the next page forward in the paginator.
|
||||
|
|
@ -73,7 +83,7 @@ one page in the paginator.
|
|||
the first page.
|
||||
<P><B>isLastPage</B><BR>A conditional indicating whether the visitor is viewing
|
||||
the last page.</P>|,
|
||||
lastUpdated => 1070202325
|
||||
lastUpdated => 1090580644
|
||||
},
|
||||
|
||||
'2' => {
|
||||
|
|
@ -235,6 +245,7 @@ system<BR><EM>Page:</EM><STRONG> </STRONG>Page title and
|
|||
synopsis<BR><EM>Profile:</EM> User Profiles<BR><EM>Wobject: </EM>Wobject Title
|
||||
and Description<BR><EM>Wobject details: </EM>All other wobject data. For example
|
||||
FAQ question, Calendar item, etc.</P></BLOCKQUOTE>
|
||||
<P dir=ltr align=left><b>Force users to use selected roots</b><br>Enabling this option will cause the search to be over all of the selected page roots regardless of what the user entered via the search form.</b></p>
|
||||
<P dir=ltr align=left><STRONG>Template<BR></STRONG>Select a template to layout
|
||||
your Search. The different templates have different functionality.</P>
|
||||
<P dir=ltr align=left><STRONG>Paginate after<BR></STRONG>The number of results
|
||||
|
|
@ -247,7 +258,12 @@ no preview.</P>
|
|||
highlight the search results in the preview you'll want to check this box.</P>
|
||||
<P dir=ltr align=left><STRONG>Highlight color n<BR></STRONG>The colors that are
|
||||
used to highlight the corresponding words in the query. </P>|,
|
||||
lastUpdated => 1070195783
|
||||
lastUpdated => 1090580644
|
||||
},
|
||||
|
||||
'edit-forceSearchRoots-label' => {
|
||||
message => q|Force users to use the selected roots|,
|
||||
lastUpdated => 1090580644
|
||||
},
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue