Member
Member
Kolenka   2008-10-28, 00:09
#1

Quick question for those who have played with ZenPhoto longer.

Has anyone gone about trying to override the default AJAX for editing the description/title/tags in a theme with a slightly different method? I love the AJAX editing, but the fact that it is 'click to edit' on the div itself is bad when I am trying to use links in my description. I can't really test them without running into the annoying bug. I'd love to edit my theme to use a tiny little 'edit' icon button instead.

Member
Member
krainbolt   2008-11-03, 05:49
#2

I don't know off hand of a theme that provides this functionality, but it is a good idea. For the time being I suggest having a second instance of a browser logged out for testing purposes.

Member
Member
Kolenka   2008-11-03, 17:32
#3

Which, if you do your testing from a Mac isn't always the easiest option, but yes, I already figured that part out. I am just a bit OCD about getting my software to work for me, rather than against me, and was hoping someone might have already taken a couple steps.

If I have to do it myself, then the question becomes: is there a good way for a theme to determine if the user is logged in or not?

Member
Member
sbillard   2008-11-03, 18:10
#4

Yes, there is a function zp_loggedin() which will be non-zero if there is an admin logged in.

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