Skip to content

Commit dcc4e58

Browse files
authored
Update entries.md with additional disable notes
Clarified the implications of disabling custom fields and relationships in the documentation.
1 parent 5acac7c commit dcc4e58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/channels/entries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ The syntax for the disable parameter is this: `disable="ITEM YOU WANT TO DISABLE
177177
- `relationship_custom_fields`
178178
- `relationship_categories`
179179

180-
NOTE: **Note:** If you disable categories, category fields will automatically be disabled.
180+
NOTE: **Note:** If you disable categories, category fields will automatically be disabled. If you disable custom_fields, that includes relationships. If you disable relationships, [relationship_custom_fields and relationship_categories](fieldtypes/relationships.md#optimizing-relationships-performance) will automatically be disabled.
181181

182182
You may specify multiple items to disable by separating them with the pipe character:
183183

@@ -191,7 +191,7 @@ For example, let's say you are using an instance of your channel tag to show you
191191
<a href="{title_permalink='channel/comments'}">{title}</a><br>
192192
{/exp:channel:entries}
193193

194-
In this example you are only showing the title of your entries and nothing else; yet, the channel tag automatically fetches categories and other data. Using the disable= parameter you can turn off the unneeded features from being queried. In this case, you don't need any of the features that can be disabled.
194+
In this example you are only showing the title of your entries and nothing else; yet, the channel tag automatically fetches categories and other data. Using the disable= parameter you can turn off the unneeded features from being queried. In this case, you don't need any of the features and they all can be disabled.
195195

196196
{exp:channel:entries orderby="date" sort="desc" limit="10" disable="categories|custom_fields|member_data|pagination"}
197197
<a href="{title_permalink='channel/comments'}">{title}</a><br>

0 commit comments

Comments
 (0)