How to filter your Enrollments (i.e. hide some, show some etc.)

Follow

This video will give you a quick explanation of the steps required to separate your enrollments/workshops/series from each other instead of having them all appear on the same enrollments widget.

It's important to note that you can only do this filtering if your enrollments widget is using the "Detailed" view!

We are using the Safari web browser in the video, but you can do this same thing with FireFox's "FireBug."

 

Here is the code that you see in the video:

<script type="text/javascript">
// EDIT THESE IDS
program_ids = "";
session_type_ids = "";

// DO NOT EDIT THE CODE BELOW
options = [];
if (program_ids != "") { options.push("enrollments_widget%5Bprogram_ids%5D=" + program_ids); }
if (session_type_ids != "") { options.push("enrollments_widget%5Bsession_type_ids%5D=" + session_type_ids); }
if (window.location.href.indexOf("?enrollments_widget") < 1) { window.location.href=window.location.href+"?"+options.join("&"); }
</script>

Have more questions? Submit a request

Comments

Powered by Zendesk