Quick Edit

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

Comments

  • acrylian Administrator, Developer
    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).
  • Great Scott! That is brilliant. I did not realize the Toolbox changed depending on the context.

    Thanks!
Sign In or Register to comment.