Hi everyone,
I'm wondering if the search context is inherited in the image.php page (from the search.php page).
In other words, on an image page, I'd like to find the parent album of that image (the dynamic search album if I come from a search page).
Thanks in advance for your response.
And thanks also for the great work.
Matthieu
If you access image.php from search results you normally stay within the search result context. The breadcrumb should still show the album the image is in (on standard themes). You can always use the standard template functions or the object model to get that info.
I must have made something wrong...
The search context is only set if I refresh the search page before clicking on an image.
Otherwise, it's not set. And the parent album is the 'real' album and not the search album.
I've just tried with the default theme.
And it works.
The problem is clearly on my side.
Thank you very much for your help.
Matthieu