Viewing 1 replies (of 1 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    Unfortunately, a # command is something that gets interpreted by a browser and not something that can be access from a plugin’s PHP code, so the plugin’s trigger cannot be done with a URL like this.

    Instead, you would need to use something like a GET parameter in the page address, like:

    https://site.com/?myhash

    Then, in Modal Dialog Configuration, you would set the PHP Condition string to:

    strpos( $_SERVER['REQUEST_URI'], '?myhash') !== false

    You will need to update to the latest version of Modal Dialog for this to work since I had to introduce a small fix to handle the quotes.

    Please considering donating to support this plugin’s development.

Viewing 1 replies (of 1 total)
  • The topic ‘Open modal with the hash’ is closed to new replies.