Skip to main content

Conditional Detail Page Display

Overview

The Conditional Detail Page Display plugin offers a dynamic way to control the visibility of a page within your Tadabase application. It compares the last segment of the current URL with a manually specified value and takes action based on the result. If the last segment matches the specified value, the page remains visible; otherwise, it hides the page container.

Use Cases

  • This plugin is ideal for applications that need to display or hide pages based on specific URL parameters, such as user role-based content display, personalized user experiences, or conditional detail views in data-driven applications.

Installing the plugin

Prerequisites:

  1. The page must have a detail component 
  2. Javascript must be enabled (applicable if your're on trial account)

Step-by-Step Installation:

  1. Navigate to the page with this detail, this can be a parent or child page. 
  2. Click on the Plugins
  3. Find the Conditional Detail Page Display plugin
  4. Select the detail

Removing the Plugin

To remove the plugin, find the Javascript code that is surrounted with a comment for the plugin name and delete the code. Do the same for the CSS as well.