Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2008 at 18:07 UTC
Updated:
22 Jan 2009 at 13:50 UTC
Jump to comment: Most recent
Using the "Page specifica Lightbox2 setting" I typed something like "fun/*" but Lightbox2 didn't recognize my page "fun/some-jokes". My further investigations reveal that in $_GET['q'] Drupal passed "node/20932".
Using drupal_get_path_alias() you can retrieve the alias (if exists). Using that edit you can match aliased/unaliased paths for exclude/include lightbox2 JS loading.
| Comment | File | Size | Author |
|---|---|---|---|
| lightbox2-path_alias_fix.patch | 779 bytes | thepanz |
Comments
Comment #1
stella commentedI've committed this, with a minor change. It will be available in the next dev release later today.
Cheers,
Stella
Comment #2
Anonymous (not verified) commentedNow my problem is solved. Thanks!
Comment #3
stella commentedReleased in Lightbox2 6.x-1.9 and 5.x-2.9.
Cheers,
Stella