![]() |
|
How to get a URL to the first search result? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: How to get a URL to the first search result? (/thread-7842.html) |
How to get a URL to the first search result? - WhiteChrys - 11-11-2010 In a regular album, I can use getFirstImageURL() and getLastImageURL() to point to the beginning and the end of an album. I am using this to "go back to the beginning" if I have clicked through all of the images in an album. However, these don't work within the search context. Is there a different method of getting links to the first and last search results? Thanks for the help! How to get a URL to the first search result? - acrylian - 11-11-2010 Those two functions are for albums. Search is naturally not one. You will have to setup a link manually. You will have to do this via the object model. Look at the search class documentation. How to get a URL to the first search result? - manat - 21-02-2011 Hello all, How to get a URL to the first search result? - acrylian - 21-02-2011 I am not sure if you really want an answer... What search result, first page or first hit? |