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: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The ExpressionEngine user guide is written in human-readable Markdown and uses a
8
8
9
9
### Prerequisites
10
10
11
-
Building the docs requires Node and npm.
11
+
Building the docs requires Node and npm (latest stable version).
12
12
13
13
In the root of the repository, install all the dependencies:
14
14
@@ -30,6 +30,10 @@ The documentation css and js files are located under `theme/assets-src`.
30
30
31
31
To build the theme assets, run `npm run buildAssets`. You can also dynamically rebuild the assets when a file changes: `npm run watchAssets`.
32
32
33
+
### Viewing local changes
34
+
35
+
Manually load `/build/index.html` in your browser to view your local build. For example, `file:///Users/<username>/Documents/ExpressionEngine-User-Guide/build/index.html`. You can use the side navigation to navigate to different local files, but the search functionality always takes you to the live version at docs.expressionengine.com.
36
+
33
37
## Contributing
34
38
35
39
See something that needs fixing? Want to improve the user guide or make it more helpful? Great! Check out [CONTRIBUTING.md](CONTRIBUTING.md) for details.
Copy file name to clipboardExpand all lines: docs/add-ons/pro-search/tags.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,15 @@ Set to no to have a given query overwrite a valid shortcut. Defaults to yes (a s
43
43
44
44
#### form_attribute
45
45
46
-
Specifies any html attribute you want the form to have. For example: form_id="search" will add id="search"to the
46
+
Specifies any html attribute you want the form to have. For example: form_id="search" will add id="search", or form_class="searchform" will add class="searchform" to the tag.
47
47
48
-
tag. query Use this parameter to pass through a previously executed encoded search query. Not needed when not encoding queries.
Use this parameter to pass through a previously executed encoded search query. Not needed when [not encoding queries](https://docs.expressionengine.com/latest/add-ons/pro-search/settings.html#encode-query).
53
+
54
+
{exp:pro_search:form query="{segment_3}"}
51
55
52
56
#### required
53
57
@@ -667,4 +671,4 @@ Alternative syntax for the native {if no_results}{/if} conditional.
Copy file name to clipboardExpand all lines: docs/channels/entry-tracking.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ NOTE: **Note:** The view tracking counter works in conjunction with the `{exp:ch
19
19
20
20
NOTE: **Note:** If you have page caching enabled this feature will not work.
21
21
22
+
Some people have tags that are used to mimic a single-entry page without it being dynamic (e.g. by using `dynamic="no"` parameter). If you need Entry View Tracking to work for ANY combination that results in only one entry being returned by the tag (including channel query caching), you would need to set the [`relaxed_track_views`](general/system-configuration-overrides.md#relaxed_track_views) configuration override if your config file.
23
+
22
24
## Tracking Views
23
25
24
26
The view tracking feature must be enabled in a specific instance of the `{exp:channel:entries}` tag using the `track_views` parameter. Within the `track_views` parameter you will indicate which one of the four "instances" of the view counter you would like to use, like this
Copy file name to clipboardExpand all lines: docs/contributing.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ We're excited that you want to get involved in the ExpressionEngine project. The
17
17
## Contributing to the Docs
18
18
Good documentation is the foundation of good software and your contributions can help make good documentation great.
19
19
20
-
If you're an ExpressionEngine user, then you have something to add. There is always room for more examples, clarifications, corrections and updates. Jump in and make a pull request or give us a heads up by reporting an issues. Please visit the [Docs Contributing Guidelines](https://github.com/ExpressionEngine/ExpressionEngine-User-Guide/blob/6.dev/CONTRIBUTING.md) to learn how to get started.
20
+
If you're an ExpressionEngine user, then you have something to add. There is always room for more examples, clarifications, corrections and updates. Jump in and make a pull request or give us a heads up by reporting an issues. Please visit the [Docs Contributing Guidelines](https://github.com/ExpressionEngine/ExpressionEngine-User-Guide/blob/7.dev/CONTRIBUTING.md) to learn how to get started.
21
21
22
22
*Related ExpressionEngine University articles:*[Contributing to ExpressionEngine Documentation](https://u.expressionengine.com/article/contributing-to-expressionengine-documentation)
Copy file name to clipboardExpand all lines: docs/control-panel/channels.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,8 +121,11 @@ NOTE: **Note:** We recommend using the default base URL variable `{base_url}` de
121
121
-**Maximum characters allowed?** -- You may set a maximum number of characters allowed in any comment. Setting this preference to 0 (zero) will not place a restriction on the number of characters allowed.
122
122
-**Comment time limit** -- This is the optional number of seconds that must lapse after a comment is posted before that same user can post another comment. This setting can help reduce comment "spam". The preference can be left blank or set to 0 (zero) if you do not want to impose a limit.
123
123
-**Comment expiration** -- The number of days after an entry is posted in which to allow comments. After that period has expired, the entry will be closed to commenting and the comment form will no longer appear. Existing comments will still be displayed. Enter 0 (zero) for no expiration. Note that this preference sets the _default_ setting for the channel. The setting can be overridden and changed on a per-entry basis. You may override this setting in the [Comment Module Control Panel](comment/control-panel.md) section of the Comment Module so that comments are set to be moderated rather than closed once the expiration period is passed. If you also select the checkbox accompanying this setting, then all existing entries in this channel will be updated to reflect the new setting when you submit.
124
-
-**Text formatting** -- This setting determines how comments are formatted by the system. There are three possible choices:
124
+
-**Text formatting** -- This setting determines how comments are formatted by the system. There are three possible choices:`Auto line break`, `None`, and `XHTML`
125
125
-**HTML formatting** -- Like the channel setting, this preference determines how raw HTML code within comments is handled. There are three options:
126
+
1. Convert to HTML entities -- This will convert any HTML tags to their encoded versions and output the HTML tag as text without rendering the HTML in the DOM. For example: `<h1>` would become `<h1>`.
127
+
2. Allow only safe HTML -- This will remove any unsafe HTML tags as defined in the [Typography library](development/legacy/libraries/typography.md#html_format).
128
+
3. Allow all HTML (not recommended) -- This will allow any HTML to be saved and output as-is. For example: `<h1>test</h1>` would actually render an `h1` in the DOM.
126
129
-**Allow image URLs?** -- You can determine whether or not you want people to be able to display images within comments by using the URL for the image.
127
130
-**Render URLs and Email addresses as links?** -- When this option is set to "Yes", any full URLs or email addresses in comments will be automatically formatted as a valid HTML link to the address. If the option is "No" then the URL or email address in comment body will be treated and displayed as plain text.
Copy file name to clipboardExpand all lines: docs/control-panel/settings/members.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,19 +77,22 @@ The default member profile theme to be used in the Member Profile area of your s
77
77
78
78

79
79
80
-
Specifies the sorting criteria to be used. Choices are: Total Posts, Screen Name, Total Comments, Total Entries, Join Date.
80
+
Specifies the default sorting criteria to be used by `{exp:members:memberlist}` tag. Choices are: Total Posts, Screen Name, Total Comments, Total Entries, Join Date.
81
+
Can also be changed using [`memberlist_row_limit` configuration override](general/system-configuration-overrides.md#memberlist_row_limit).
81
82
82
83
### Order by
83
84
84
85

85
86
86
-
Specifies whether to show the list in _Ascending_ or _Descending_ order.
87
+
Specifies whether to show the `{exp:members:memberlist}` list in _Ascending_ or _Descending_ order.
88
+
Can also be changed using [`memberlist_order_by` configuration override](general/system-configuration-overrides.md#memberlist_order_by).
ExpressionEngine expects each template group name to be unique per site. We do have automated checks to prevent duplicates, however in very rare cases the checks could have been skipped leading to duplicate records for template groups in database.
23
+
24
+
This utility helps to identify such cases and provide ability to remove or rename the duplicates.
Parses global variables like the currently logged in member's information, system variables, paths, action IDs, CAPTCHAs. Typically stuff that should only be done after caching to prevent any manner of changes in the system or who is viewing the page to affect the display.
529
+
530
+
This function would also strip ExpessionEngine comments from the code. It is being run automatically on each front-end page request, however if you are using TMPL library for other types of requests, you might need to call it manually.
531
+
532
+
### `show_404()`
533
+
534
+
Show a 404 page whether one is set in the config or not
If a tag/class has no results to show, it can call this method. Any `no_results`` variable in the tag will be followed. May be 404 page, content, or even a redirect.
0 commit comments