Hello,
I tryed your module in a test installation but I didn't get it run.
I installed a Drupal 7.2 on an Apache with PHP 5.2.12 with default setup and enabled the administrative pages. Everything on status pages fine so far.
I created a default page with some "Lorem Ipsum" text an put it in the created path "overlay/lorem".
I added the path overlay/* to the config of your module. After clicking the link to the page the browser first went dark, like he wants to load the requested. After that he loaded the new page (not the page inside the admin iframe like expected).
I fixed the behaviour by adding also node/1 to the config. After that the page also loaded inside the admin panel.
Could you please fix this, so that only one of the URLs of the page is necessary?
Kind regards
Comments
Comment #1
Blooniverse commentedHey @antrophos!
Could you please explain what you mean with
?
Do you mean a new page? A new, empty, white page?
And … have you tried already with a path starting different than 'overlay'?
Comment #2
antrophos commentedBy loading a new page I ment the loading of the desired content into an new page instead of the overlay. The theme however changed to admin theme. I only tried with an administrator user and the starting point (URL) was / or /overlay/*.
Hope kind regards
Comment #3
casey commentedPath aliases aren't considered in path_is_admin(). Latest dev version contains some code to get it working nonetheless.
Comment #4
mitsuko commentedHello
First, thanks for this module.
Is it currently possible to display all nodes of one content type with overlay ?
I try with my alias patterns and the last dev version, without success.
Just adding mycontenttype/* in admin path list doesn't work.
Comment #5
casey commentedYes that should work; it does for me.
1. Set up an alias pattern using the pathauto module, e.g. "mycontenttype/[node:title]"
2. Make sure your content actually has aliases matching this pattern.
3. Add the alias pattern to the Administrative pages, in this case "mycontenttype/*"
4. Make sure the "Include path aliases" option is checked.
5. This should work.
Comment #6
ludo.rI made a content type 'CMS' and set path pattern as 'cms/[node:title]'.
Then I put cms/* in configuration but it doesn't open as administrative pages (overlay in my case).
If I set node/123 it works.
Views with paths that are similar to 'cms/my-view' are opened as administrative pages.
Comment #7
casey commentedDo you have the "Include path aliases" option checked?
Comment #8
ludo.rI don't see that option in "admin/config/user-interface/admin-path".
Where should it be?
Comment #9
casey commentedAh, you need the development version. If it works alright I'll release a new version.
Comment #10
ludo.rOk, I'll give it a try.
But why not work directly with Drupal (internal) paths?
Typically
$_GET['q']Thank you anyway!
Comment #11
Blooniverse commented@antrophos#2: Just out of curiousity, is there a special reason for using the path 'overlay/*'? Did you want to trigger the overlay mechanism that way (probably)?
Comment #12
casey commentedComment #13
IWasBornToWin commentedDidn't see where I could put this anywhere else....just wanted to tell you, after looking at popup, lightbox, and other ways to attempt to show a node in a popup, this module was fast, easy, and highly effective. Love it!