You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tags/article.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,14 +35,14 @@ This is equivalent to putting the contained statements into a form named `my_for
35
35
36
36
The tag is context-sensitive, which means it will grab articles from the currently viewed section/category/author, etc.
37
37
38
-
When used on the front page, article's context will include articles from all sections set to display via 'Section appears on front page?' settings (see the [Sections panel](/administration/sections-panel) for more information).
38
+
When used on the front page, article's context will include articles from all sections set to display via 'Section appears on front page?' settings (see the Sections panel for more information).
39
39
40
40
Note: `<txp:article />` is **not** the same as `<txp:article_custom />` - you can [check out the differences of that tag](/tags/article_custom) if you're unsure of the differences!
41
41
{: .alert-block .information}
42
42
43
43
## Attributes
44
44
45
-
Tag will accept content/behaviour and presentation attributes (**case-sensitive**):
45
+
Tag will accept content/behaviour and presentation attributes (**case-sensitive**) as well as the {% include atts-global-link.html %}:
46
46
47
47
`allowoverride="boolean"`
48
48
: Whether to use override forms for the generated article list.
@@ -67,7 +67,7 @@ Tag will accept content/behaviour and presentation attributes (**case-sensitive*
67
67
: **Default:**`default`.
68
68
69
69
`frontpage="boolean"`
70
-
: Include only those articles with 'Section appears on front page?' set on the [Sections panel](/administration/sections-panel). If set to `0`, all articles are displayed.
70
+
: Include only those articles with 'Section appears on front page?' set on the Sections panel. If set to `0`, all articles are displayed.
71
71
: **Values:**`0` (no) or `1` (yes).
72
72
: **Default:**`1`.
73
73
@@ -96,7 +96,7 @@ Tag will accept content/behaviour and presentation attributes (**case-sensitive*
96
96
: **Default:**`0`.
97
97
98
98
`searchall="boolean"`
99
-
: When outputting search results, include only those articles with 'Include in site search' set on the [Sections panel](/administration/sections-panel). If set to `0`, only articles in the current section are displayed. See @@Fixing search results@@ for more.
99
+
: When outputting search results, include only those articles with 'Include in site search' set on the Sections panel. If set to `0`, only articles in the current section are displayed. See @@Fixing search results@@ for more.
100
100
: **Values:**`0` (no) or `1` (yes).
101
101
: **Default:**`1`.
102
102
@@ -181,7 +181,7 @@ Here is the **article** tag responsible for the main content of the home page on
181
181
<txp:articlelimit="5" />
182
182
~~~
183
183
184
-
Calls the `default` article form, which may contain any variation of article output you want to create. The `default` form cannot be deleted; it is the form you see on first viewing the [Forms panel](/administration/forms-panel).
184
+
Calls the `default` article form, which may contain any variation of article output you want to create. The `default` form cannot be deleted; it is the form you see on first viewing the Forms panel.
185
185
186
186
Uses the `limit` attribute to specify the maximum number of articles displayed in article list context (if not specified, this defaults to `10`).
Copy file name to clipboardExpand all lines: tags/article_custom.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ However, you can have the added features and functionality of `<txp:article_cust
51
51
52
52
## Attributes
53
53
54
-
Tag will accept the following attributes (**case-sensitive**):
54
+
Tag will accept the following attributes (**case-sensitive**) as well as the {% include atts-global-link.html %}:
55
55
56
56
`allowoverride="boolean"`
57
57
: Whether to use override forms for the generated article list.
@@ -73,7 +73,7 @@ Tag will accept the following attributes (**case-sensitive**):
73
73
: **Default:** unset.
74
74
75
75
`category="category name"`
76
-
: Restrict to articles from specified category/categories. Note: the category names may be different to the title you typed when you created the category, as the names are sanitized for URL use. Check the [Categories panel](/administration/categories-panel) to ensure you are using the correct names.
76
+
: Restrict to articles from specified category/categories. Note: the category names may be different to the title you typed when you created the category, as the names are sanitized for URL use. Check the Categories panel to ensure you are using the correct names.
77
77
: **Values:** (comma separated list of) category name(s).
78
78
: **Default:** unset, retrieves from all categories.
79
79
@@ -101,7 +101,7 @@ Tag will accept the following attributes (**case-sensitive**):
101
101
: **Default:**`default`.
102
102
103
103
`frontpage="boolean"`
104
-
: Include only those articles with 'Section appears on front page?' set on the [Sections panel](/administration/sections-panel). If set to `1`, only such articles are displayed, otherwise they are all displayed.
104
+
: Include only those articles with 'Section appears on front page?' set on the Sections panel. If set to `1`, only such articles are displayed, otherwise they are all displayed.
Copy file name to clipboardExpand all lines: tags/article_image.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,11 +24,11 @@ tags:
24
24
25
25
The **article_image** tag is a *single* tag. Textpattern will replace this tag with the `<img src="…">` HTML tag matching the numeric ID or URL assigned when the article is posted.
26
26
27
-
The image to be associated with the tag is set in the [Write panel](/administration/write-panel). In the 'Article image' field enter either the URL of the image, or the Textpattern ID (a number set by Textpattern at upload) - most of the time you will use the image ID here. Note that although the 'Article image' field can accept a comma separated list of image IDs, you can only assign a single image to each article using this tag (the [images](/tags/images) tag allows greater flexibility for multiple article images).
27
+
The image to be associated with the tag is set in the Write panel. In the 'Article image' field enter either the URL of the image, or the Textpattern ID (a number set by Textpattern at upload) - most of the time you will use the image ID here. Note that although the 'Article image' field can accept a comma separated list of image IDs, you can only assign a single image to each article using this tag (the [images](/tags/images) tag allows greater flexibility for multiple article images).
28
28
29
29
## Attributes
30
30
31
-
Tag will accept the following attributes (**case-sensitive**):
31
+
Tag will accept the following attributes (**case-sensitive**) as well as the {% include atts-global-link.html %}:
: Escape [HTML entities](https://developer.mozilla.org/en-US/docs/Glossary/Entity) such as `<`, `>` and `&` for the image's `alt` and `title` attributes.
Copy file name to clipboardExpand all lines: tags/authors.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ tags:
22
22
<txp:authors>
23
23
~~~
24
24
25
-
The **authors** tag is a *single* or *container* tag that Textpattern will use to gather a list of authors designated within the Textpattern [Users panel](/administration/users-panel).
25
+
The **authors** tag is a *single* or *container* tag that Textpattern will use to gather a list of authors designated within the Textpattern Users panel.
26
26
27
27
If used as a *container* tag, it must be specified as an opening and closing pair of tags, like this:
28
28
@@ -34,7 +34,7 @@ If used as a *container* tag, it must be specified as an opening and closing pai
34
34
35
35
## Attributes
36
36
37
-
Tag will accept the following attributes (**case-sensitive**):
37
+
Tag will accept the following attributes (**case-sensitive**) as well as the {% include atts-global-link.html %}:
38
38
39
39
`form="form name"`
40
40
: Use specified form template to process each author.
0 commit comments