Guest julianmark Posted August 28, 2021 Share Posted August 28, 2021 Hey, I want to password protect one page. There should be a text box, and if anyone types in the correct password, the actual content should appear. Is there a module that does that? I couldn't find anything and would appreciate your suggestions, thanks! Link to comment Share on other sites More sharing options...
adrian Posted August 28, 2021 Share Posted August 28, 2021 @julianmark - https://processwire.com/modules/page-protector/ Link to comment Share on other sites More sharing options...
Guest julianmark Posted August 28, 2021 Share Posted August 28, 2021 Thanks. I'm currently trying to install that module via upload, however I get the following error message: This install option is configured to be available only in debug mode. To enable, edit file /site/config.php and specify:$config->debug = true; temporarily …or…$config->moduleInstall('upload', true); to enable always How do i edit the config.php file? I can't seem to find it anywhere in the BackEnd of ProcessWire… Link to comment Share on other sites More sharing options...
adrian Posted August 28, 2021 Share Posted August 28, 2021 The config.php file is in the filesystem at /site/config.php Depending on your server setup, it might be at: /var/www/html/site/config.php But if you have already built template files, you'll be used to where /site/templates/ is :) Link to comment Share on other sites More sharing options...
Guest julianmark Posted August 28, 2021 Share Posted August 28, 2021 I'm sorry, but I have no idea what you're talking about. There's a menu in the BackEnd of the website, I attached a screenshot. Where do I have to go to edit that config.php file? I've installed other modules before, but that issue never came up. Link to comment Share on other sites More sharing options...
adrian Posted August 28, 2021 Share Posted August 28, 2021 The reason you are having issues with this module install is not because of the module itself, but because you likely recently updated to the new master version of PW that implemented this new requirement for installing modules via the admin. I am beginning to think that you didn't create this site yourself, but inherited it from another developer? If you don't have access to the filesystem (think about the files / folder you see when using Finder on a Mac or Explorer on Windows) you might have some problems. If the site has TracyDebugger installed you can edit the config.php file via the admin with the FilesEditor panel, but otherwise you will need to get access to the filesystem via SSH or (S)FTP. Can you get access to those? Link to comment Share on other sites More sharing options...
Guest julianmark Posted August 28, 2021 Share Posted August 28, 2021 Yeah, I want to help someone who is even less tech-savvy than me, and his site uses ProcessWire, which I'm not familiar with at all. The theme was built by someone else. I use WordPress for my own website, and I find it to be way more user-friendly, intuitive and versatile. TracyDebugger is not installed, but I've worked with an FTP client before, so I guess I'll have to figure out how to log in to that. Really appreciate your help! Link to comment Share on other sites More sharing options...
adrian Posted August 28, 2021 Share Posted August 28, 2021 @julianmark - good luck with getting the FTP login details. 1 minute ago, julianmark said: I use WordPress for my own website, and I find it to be way more user-friendly, intuitive and versatile. I do think that's a little unfair of a statement to make given that you also state: 1 minute ago, julianmark said: his site uses ProcessWire, which I'm not familiar with at all :) 4 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now