Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module, in its current state, does not allow me to do a hook if my URL path uses a wildcard character/pattern ("example/%item") and ensure a functional modal. In fact, it leads into the return statement in my page callback attribute, and does not generate a modal. This is a serious blocking issue that I think should be resolved.
Comments
Comment #1
KingThrillgore CreditAttribution: KingThrillgore commentedComment #2
adamtyoung CreditAttribution: adamtyoung commentedI agree. I can't believe that argument handling is not built in. Seriously limits the usefulness of this module.
Comment #3
wojtha CreditAttribution: wojtha commented@KingThrillgore @adamtyoung
You can try my fork here: https://github.com/wojtha/ctools_automodal I believe it was fixed in this PR: https://github.com/wojtha/ctools_automodal/pull/4
Reasons why I made the fork and its additional features are listed here: #1420534: Consider a new hook - hook_ctools_automodal_paths() rather than using hook_menu()
Comment #4
Ismaels CreditAttribution: Ismaels commentedThis is actual possible, if you use a wildcard without a type, % instead of %file or %node, you will need to create your own hook_load.
See "Auto-Loader Wildcards" @ https://api.drupal.org/api/drupal/modules%21system%21system.api.php/func...