File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,10 @@ Tag will accept the following attributes (**case-sensitive**) as well as the {%
9696: ** Values:** ` 0 ` (no, don't include expired articles) or ` 1 ` (yes, include expired articles) or some English date.
9797: ** Default:** Setting of preference 'Publish expired articles'.
9898
99+ ` fields="list" `
100+ : Retrieve only these (distinct) article fields, aggregated if necessary.
101+ : ** Default:** unset (all fields).
102+
99103` form="form name" `
100104: Use specified form template to process each article.
101105: ** Default:** ` default ` .
@@ -327,7 +331,7 @@ Outputs the number of live articles belonging to the current section.
327331### Example 9: filter field
328332
329333~~~ html
330- <txp:article _custom time =" -1 year" fields =" authorid, posted= max" sort =" Posted DESC" >
334+ <txp:article _custom time =" -1 year" fields =" authorid, max(posted) " sort =" Posted DESC" >
331335 <txp:author /> (<txp:posted />)
332336</txp:article _custom >
333337~~~
You can’t perform that action at this time.
0 commit comments