Skip to content

Ability to exclude offline sites from exp:channel:entries output; #2895 #889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 7.dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/add-ons/rss.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ You can determine whether you wish for entries that have "expired" to be include

You can determine whether you wish for entries dated in the "future" to be included. This option is useful when doing things like creating a list of events, some of which have not occurred yet. Note that EE will still display past entries; this parameter simply instructs EE to also include entries from the future.

### `show_offline_sites=`

show_offline_sites="no"

When this option is set to "no", entries from MSM sites that are set to "offline" will not be included in the results. The default is "yes", which includes entries from offline sites.


### `status=`

status="open"
Expand Down
6 changes: 6 additions & 0 deletions docs/add-ons/search/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ You may also let the user choose by using an Include Future Entries form field.
<option value="yes">Yes</option>
</select>

### `show_offline_sites=`

show_offline_sites="no"

When this option is set to "no", entries from MSM sites that are set to "offline" will not be included in the results. The default is "yes", which includes entries from offline sites.

### `site=`

site="default_site"
Expand Down
6 changes: 6 additions & 0 deletions docs/add-ons/search/simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ With this parameter you can specify whether or not expired entries will be inclu

With this parameter you can specify whether or not entries with the date set in the future will be included in search results. The default behavior is for future entries to _not_ be included. You may set this parameter to "yes" or "no". You may also let the user choose by using an [Include Future Entries](#include-future-entries) form field.

### `show_offline_sites=`

show_offline_sites="no"

When this option is set to "no", entries from MSM sites that are set to "offline" will not be included in the results. The default is "yes", which includes entries from offline sites.

### `site=`

site="default_site"
Expand Down
6 changes: 6 additions & 0 deletions docs/channels/archive-months.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ You can determine whether you wish for entries that have "expired" to be include

You can determine whether you wish for entries dated in the "future" to be included. This option is useful when doing things like creating a list of events, some of which have not occurred yet.

### `show_offline_sites=`

show_offline_sites="no"

When this option is set to "no", entries from MSM sites that are set to "offline" will not be included in the results. The default is "yes", which includes entries from offline sites.

### `status=`

status="open"
Expand Down
7 changes: 7 additions & 0 deletions docs/channels/calendar.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ You may hardcode the month and year to display for the calendar. You **must** sp

You can determine whether you wish for entries dated in the "future" to be included. This option is useful when doing things like creating a list of events, some of which have not occurred yet.

### `show_offline_sites=`

show_offline_sites="no"

When this option is set to "no", entries from MSM sites that are set to "offline" will not be included in the results. The default is "yes", which includes entries from offline sites.


### `start_day=`

start_day="sunday"
Expand Down
6 changes: 6 additions & 0 deletions docs/channels/categories.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ Determines whether entries dated in the "future" to are included when calculatin

By default, future dated entries will **not** count when determining whether a category is empty.

### `show_offline_sites=`

show_offline_sites="no"

When this option is set to "no", entries from MSM sites that are set to "offline" will not be included in the results. The default is "yes", which includes entries from offline sites.

### `status=`

status="open"
Expand Down
7 changes: 7 additions & 0 deletions docs/channels/category-archive.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@ By default, categories with no entries **will** be included.

You can determine whether you wish for entries dated in the "future" to be included. This option is useful when doing things like creating a list of events, some of which have not occurred yet.

### `show_offline_sites=`

show_offline_sites="no"

When this option is set to "no", entries from MSM sites that are set to "offline" will not be included in the results. The default is "yes", which includes entries from offline sites.


### `sort=`

sort="asc"
Expand Down
6 changes: 6 additions & 0 deletions docs/channels/entries.md
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,12 @@ There are three valid options for this parameter: "yes", "no", "only". The defau

You can determine whether you wish for entries dated in the "future" to be included. This option is useful when doing things like creating a list of events, some of which have not occurred yet. Note that EE will still display past entries; this parameter simply instructs EE to also include entries from the future.

### `show_offline_sites=`

show_offline_sites="no"

When this option is set to "no", entries from MSM sites that are set to "offline" will not be included in the results. The default is "yes", which includes entries from offline sites.

### `show_pages=`

show_pages="only" show_pages="no"
Expand Down
6 changes: 6 additions & 0 deletions docs/channels/entry-linking.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ You can determine whether you wish for entries that have "expired" to be include

You can determine whether you wish for entries dated in the "future" to be included. This option is useful when doing things like creating a list of events, some of which have not occurred yet.

### `show_offline_sites=`

show_offline_sites="no"

When this option is set to "no", entries from MSM sites that are set to "offline" will not be included in the results. The default is "yes", which includes entries from offline sites.

### `status=`

status="open"
Expand Down
1 change: 1 addition & 0 deletions docs/fieldtypes/relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ The following parameters are available to all looping relationship tags, allowin
- `orderby`
- `show_expired`
- `show_future_entries`
- `show_offline_sites`
- `sort`
- `start_on`
- `status`
Expand Down