I don't know the internals well enough yet, but as a quick solution, I added
|| strpos($path, 'ajax') to line 87 of subpathauto.module.
to eliminate this from impacting CTools' modals.

 ... 
if (variable_get('subpathauto_ignore_admin', 1) && path_is_admin($path) || strpos($path, 'ajax')) {
    return FALSE;
}
... 

Comments

BenK’s picture

I'm not that well-versed on ctools... what is the impact of this module on ctools exactly?

Thanks,
Ben

wjaspers’s picture

In my particular case, the Page Manager module (part of the CTools suite), has AJAX modals. When you try to manipulate certain parts of the page where an AJAX call is made, any URL that subpathauto catches might prevent them from working.

I haven't played with it for awhile now, so its possible the issue isn't such a big deal -- but thought it worth sharing my solution.

dave reid’s picture

Version: » 7.x-1.x-dev

I probably also need some help explaining why this actually causes a conflict. :/

rwohleb’s picture

subscribe