Member
Member
michaelcmod   2009-06-27, 17:47
#1

hi

is it possible to use printAlbumMenu to link to the first image of the selected gallery instead of the album?

thank you

Member
Member
sbillard   2009-06-27, 18:29
#2

That plugin, of course, does not do what you want. However, you could modify it to do so.

Member
Member
michaelcmod   2009-06-27, 18:39
#3

thanks for your reply.
would you give me directions on how to modify the plugin?

Member
Member
sbillard   2009-06-27, 18:46
#4

Generally, yes. You replace the link to the album with one to the image. Specifically, no, you will have to do that research/development yourself. Please review the function guides on our website.

Member
Member
michaelcmod   2009-06-27, 18:52
#5

i do all this in print_album_menu.php?

Member
Member
sbillard   2009-06-28, 00:56
#6

Yes, indeed. I suggest you make a copy under a different name to avoid conflict with future zenphoto updates.

Member
Member
michaelcmod   2009-06-28, 09:44
#7

it seems like the same issue has been discussed already a while ago here - http://www.zenphoto.org/support/topic.php?id=2834 - acrylian (developer) has provided a hacked version here - http://www.zenphoto.org/wp-content/uploads/2008/04/print_album_menu-1st-image.zip - however it does not work for me. can this be because of different zenphoto versions?

Administrator
Administrator
acrylian   2009-06-28, 09:51
#8

Yes, that might be the case. The internals of the plugin have been heavily reworked and optimized since then.

Member
Member
michaelcmod   2009-06-28, 10:12
#9

i tried to follow your instructions but couldnt even find the lines i was supossed to change in the current printalbummenu plugin. is there any other way to skip albums.php without hacking the plugin? thx

Administrator
Administrator
acrylian   2009-06-28, 10:18
#10

Well, as said the plugin's internals have been reworked heavily since then. Skipping album.php is not the standard way Zenphoto works but it is possible (basically everything is in general) but not without modifying the plugin.

You may of course open a feature request this to be an option but of course we can't promise when that might be added so that might no help you if you need it right now.

Member
Member
michaelcmod   2009-06-28, 10:35
#11

too bad. thanks a lot for trying to help though.

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