Moodle Plugins directory: WebService Filter for Moodle Mobile app: Versions: 1.0.3 | Moodle.org
WebService Filter for Moodle Mobile app
Filters ::: filter_ws
Maintained by
Dani Palou
Part of set Moodle Mobile app.
With the WebService filter plugin you can choose if some content should be visible only in web (browser) or only in a WebService client like the Moodle apps (mobile and desktop). The main purpose of this plugin is to be able to display/hide some content only for the Moodle app.
WebService Filter for Moodle Mobile app 1.0.3
Moodle 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
Released: sêşem, 1 avrêlê 2025, 6:56 PM
WS filter plugin
With this plugin you can choose if some content should be visible only in web (browser) or only in a WebService client like the Moodle apps. The main purpose of this plugin is to be able to display/hide some content only for the Moodle app.
To Install it manually
- Unzip the plugin in the moodle .../filter/ directory.
- Enable it from "Site Administration >> Plugins >> Filters >> Manage filters".
To Use it
- Enclose the content you want to filter between {fws} tags:
{fws web}content only for web{fws} {fws ws}content only for ws{fws} {fws any}content for any request{fws}
- Test it in a browser and in the Moodle app.
Filtering by User Agent
You can also specify a regular expression to filter the requests by user agent. To do so, you need to add a ua="MY_REGEXP" attribute to the {fws} tag, where MY_REGEXP is the regular expression you want to check (without starting and ending slashes). Example:
{fws ws ua="MoodleMobile\s?$" }content only for the official Moodle app{fws} {fws any ua="iPhone|iPad|iPod"}content only for iOS devices{fws}
Version information
- Version build number
- 2024100803
- Version release name
- 1.0.3
- Maturity
- Stable version
- MD5 Sum
- de5b9327ba4d6873bc8d48a8f98f0767
- Supported software
- Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9, Moodle 3.10, Moodle 3.11, Moodle 4.0, Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5
- Latest release for Moodle 3.1
- Latest release for Moodle 3.2
- Latest release for Moodle 3.3
- Latest release for Moodle 3.4
- Latest release for Moodle 3.5
- Latest release for Moodle 3.6
- Latest release for Moodle 3.7
- Latest release for Moodle 3.8
- Latest release for Moodle 3.9
- Latest release for Moodle 3.10
- Latest release for Moodle 3.11
- Latest release for Moodle 4.0
- Latest release for Moodle 4.1
- Latest release for Moodle 4.2
- Latest release for Moodle 4.3
- Latest release for Moodle 4.4
- Latest release for Moodle 4.5
Version control information
- Version control system (VCS)
- Other...
- VCS repository URL
- VCS tag
- 1.0.3
Default installation instructions for plugins of the type Filters
- Make sure you have all the required versions.
- Download and unpack the filter plugin.
- Place the folder (eg "myfilter") in the "filter" subdirectory.
- Visit http://yoursite.com/admin to finish the installation