![]() |
|
User login function - cannot get working - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: User login function - cannot get working (/thread-12309.html) |
User login function - cannot get working - igirisjin - 2015-11-10 I have a club gallery and need a login block or link for them. Zen photo does not seem to work 'out of the box' - ie, no standard front page user login link or block (?). All I could find is a 2011 post/plugin which says a function call is needed from the template page. I used a copy of the default template and tried many positions in index.php but could not get it to work at all. http://www.zenphoto.org/news/user_login-out printUserLogin_out() Example Or just inserting in php lines after other functions with trailing ';'. I get a blank page or the output is cut off after that. User login function - cannot get working - acrylian - 2015-11-10 That function is part of a plugin as the link you posted shows. You of course need to enabled first before you can use its function(s) on your theme. Otherwise a blank page is normal since the function does not exist. Standard themes should all have support build in already (e.g. footer or sidebar). User login function - cannot get working - igirisjin - 2015-11-10 That was quick! I assumed it was enabled by default - can see now it isn't. It is working now - thanks. I asked 6 years ago if Zen Photo gallery would become a multi-user gallery but back then the answer was "no". It was a personal gallery. Things have changed a lot since then. User login function - cannot get working - acrylian - 2015-11-10 Welcome back then! |