I have one gallery with the Basic-template and
two different zpMinimal-templated main-albums with subalbums.
When I start a search from one main-album, I want
By now,
a search switches me into the Basic-template.
Until know, I can not find the point to catch and change - or fix - the present zpMinimal-template. Does anybody know where?
And - the results are from the whole gallery. I think, more suitable would be results just from the present albums basic node on - or only optionally from the whole gallery?
best regards,
Eli
Search does only support the current (main) theme and not album themes or multiple_layouts. Maybe it is possible to override that via custom coding and filters but that has never been tried (at least not by me):
http://www.zenphoto.org/news/zenphoto-plugin-architecture#zenphoto-filters
You can limit the search to results to a specific album:
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintSearchForm (the doc is somehow generated wrong, the last $object_list parameter should not be there).
It was that way in Zenphoto 1.4.9 in all official themes but has been changed as it lead to confusing often. The expected default generally is a global search.