Active
Project:
Sub-pathauto (Sub-path URL Aliases)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2011 at 18:10 UTC
Updated:
13 Aug 2011 at 22:58 UTC
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
Comment #1
BenK commentedI'm not that well-versed on ctools... what is the impact of this module on ctools exactly?
Thanks,
Ben
Comment #2
wjaspers commentedIn 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.
Comment #3
dave reidI probably also need some help explaining why this actually causes a conflict. :/
Comment #4
rwohlebsubscribe