Member
Member
TheBox193   11-09-2012, 15:46
#1

With my theme I'm editing, I'm looking to integrate something along the lines of a quick edit when signed in.

When viewing an image, and a user is signed in(there is only going to be one), I would like to add an link to 'edit' the current image.

Two questions:

  • How can I display a block of code only when a user is signed in.
  • Is there a way to edit only one specific image a time?

I could link to ( zp-core/admin-edit.php?page=edit&album=albumname&subpage=1&tagsort=0&tab=imageinfo ) but if I could, I would like to drill down to editing just that specific image.

Thanks for any thoughts!
-Nathan

Administrator
Administrator
acrylian   11-09-2012, 15:59
#2

Actually the admin toolbox does all this already. Did you maybe forget to add that? Look at the bottom of the theme page of the included standard themes (except zpmobile).

Member
Member
TheBox193   11-09-2012, 18:29
#3

Great Scott! That is brilliant. I did not realize the Toolbox changed depending on the context.

Thanks!

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