Member
Member
viorel   2008-02-17, 14:13
#1

OK so i have the latest zenPHOTO 1.1.4 gallery and the default theme when I try to put in the template/default/image.php keep getting error about "Missing argument 1 for printImageData()" and "Missing argument 2 for printImageData()" what is the problem for what I see the template-functions.php is ok for getimageData() please help guys because I need that data displayed on every image.
Thanks

Member
Member
sbillard   2008-02-17, 16:19
#2

You really need to read the documentation on the functions. http://www.zenphoto.org/documentation/

`printImageData [line 1328]

A composit for printing image data

Parameters:

string $field: which data you want

string $label: the html label for the paragraph

void printImageData( string $field, string $label )`

You got an error because you did not provide parameters to the function.

Member
Member
viorel   2008-02-17, 16:38
#3

ok with it gives me something but i still get that error please give me an example thanks

Member
Member
viorel   2008-02-17, 17:19
#4

ok solved after some reading for people that are making themes and want that data displayed for every image use this in your template image.php or and everything work thanks again sbillard for the documentation link. Hope is usefull for everyone.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.