Posted by Jeremy
2016-01-28

Hi Tom,

Really happy with this address book, but as the admin I can see and search for contacts. But, as I put a link to the address book on my site, how anyone can see it without login.
Want to say, that, if Somebody clics on the right button (directory), it automatically loads the contact page, and no need to login.

Thank you, and congrats for your script it's amazing.
Jeremy
Posted by Tom
2016-01-28

Hi,

>how anyone can see it without login.

You need to create a guest version. to do so, the first step is copy the staff folder and rename it as something like "guest" The "guest" folder now works exactly the same way as "staff" folder. Second, remove the login from the "guest" folder.

To bypass the login page, see this article:
http://www.phpkobo.com/article--m2635

To remove the edit/add-new/delete feature from the backend code, see this article:
http://www.phpkobo.com/article--m2756

Lastly remove the edit/add-new/delete buttons from
the template, web/staff/tpl.(table-name).search.inc.php