![]() |
|
Create search URLs for links such as tags or mtime - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Create search URLs for links such as tags or mtime (/thread-8628.html) |
Create search URLs for links such as tags or mtime - amereservant - 17-05-2011 Hey, I've tried using the I tried the following, I greatly appreciate any help with this. Create search URLs for links such as tags or mtime - sbillard - 18-05-2011 The document bit is a throwback to when that parameter was an integer. The Doc block just did not get changed. (BTW, I did not see your ticket on Trac.) You should not be directly accessing the data property of the image. Use the $image->get() instead. The data element may not actually be populated. But basically your problem is that you are getting bitten by your mod_rewrite rules. The search url generated will be Create search URLs for links such as tags or mtime - amereservant - 18-05-2011 Hey, thanks sbillard! Thanks for the info on the get() method. I saw it in the docs, but didn't look into the purpose of it and that makes sense. Create search URLs for links such as tags or mtime - sbillard - 18-05-2011 Then you should truncate the string to your desired level of significance. The searches (except perhaps for tags) are partial matchs. |