I have a porblem with popups. Sorry for my bad English, I hope they understand what I want.
/ **
* Integration of hook_popups () of the popups module.
* /
privatemsg_popups function () (
if (variable_get ( 'privatemsg_popups', TRUE)) (
return array (
'*' => Array (
'a [href *= messages / new'] / / Write new message
)
'*' => Array (
'div # block-menu-privatemsg-privatemsg a [href *= messages / new]',
)
);
)
)
When I activate the block on messages it goes with popups, but this only because I want somewhere to activate the road is probably 'a [href *= messages / new]' wrong so I need to change it.
Popups should be applied for 1 + 2 to 3 works. Here the link of the messages / new is correct.
When 1 + 2 is the link messages/new/1 / and messages/new/6 *** / ***
How can I change the path in the modules, the popups will work on 1 +2. Regards
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | privatemsg.popups_fix.patch | 1.77 KB | berdir |
| #1 | nachrichten.jpg | 62.02 KB | fugazi |
Comments
Comment #1
fugazi commentedSorry I forgot the picture
Comment #2
fugazi commentedsomeone has a tip. I was very happy
Comment #3
berdirYou need to enable the "Scan all pages for popup links." option at admin/settings/popups.
Not idea what I've commited there, the second definition is not needed, atleast not with the above option set. The attached removes that and also adds a note about the required setting.
Comment #5
berdir#3: privatemsg.popups_fix.patch queued for re-testing.
Comment #7
berdirD'oh. See #719820: randomString() can cause invalid xpath in the tests why this failed twice in a row.
Comment #8
berdir#3: privatemsg.popups_fix.patch queued for re-testing.
Comment #9
fugazi commentedOh this is wonderful, it works. Many, many thanks. Fantastic.
Comment #10
berdirFixed in 6.x-2.x-dev