ZenphotoCMS Forum
printSearchForm and custom reset icon - 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: printSearchForm and custom reset icon (/thread-9765.html)



printSearchForm and custom reset icon - jackdaw - 2012-03-12

I would like to use a custom reset icon, and thought the way to do this is to add the link as a paramater, like this:

printSearchForm(NULL, '', NULL, '', NULL, NULL, 'http://www.jacktummers.nl/wp-content/themes/wp-theme/images/reset.png');

But this code gives me an error. What is the proper way to do this?




printSearchForm and custom reset icon - acrylian - 2012-03-12

It helps to look at the documentation:
* @param string $reseticonsource optional theme based icon for reset search icon
So it must be within your current Zenphoto theme naturally.




printSearchForm and custom reset icon - sbillard - 2012-03-12

Best count your parmeters. You passed your icon source as the object list within which to search.




printSearchForm and custom reset icon - acrylian - 2012-03-12

My mistake btw, the icon indeed does not need to be in the Zenphoto theme. Didn't look at the source code..