Jump to content

zoeck

Members
  • Posts

    415
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by zoeck

  1. I don't see a newsletter field ? but normally you'll find it in /site/templates/ and there should be a "_main", "_footer" or something with the layout in it (you can use own filenames here...)
  2. Do you know the findMany() function ?? https://processwire.com/api/ref/pages/find-many/
  3. I only have the "Search Problem" when i click into the search field ?
  4. correct ? Thats my problem, you cannot remove the password field in the LoginRegister Module (and also it's not possible to remove the email adress) (only inside of the php code of the module ? )
  5. The Password is saved hashed... you cannot get it with phpmyadmin or ftp... But with the code from bernhard, you set a new password with this line: $admin->setAndSave('pass', 'yournewpassword'); And on your site, the new password should be "yournewpassword" ? Just test this password with your admin account (and change it!!!)
  6. Hi, I'm having some minor problems with my Processwire Intranet page, i created a small module to sync active directory users with Processwire (login and profile informations) via LDAP. My user profile has more information than the active directory domain, and I want the user to be able to change the informations by himself on the intranet site. At this time, i just sync the user informations inside of the page tree like this: Now the big question is how can I make it, that the user can change the profile information on this Pages? Or is it easier when i add the informations to the user profile? I already checked the "LoginRegister" Module, but there's one problem - the users are not allowed to change the password via the intranet site (the passwords are linked via LDAP). I hope you can help me ? Thanks!
  7. I use Laragon on Windows... before Laragon, i used XAMPP, but Laragon is much nicer ?
  8. Your code looks good... i think the problem is your json file, i tested it with this json Data: [ {"ID":"1","user_login":"myname","user_pass":"$P$BKVS\/30bpzejiORa9nGupsAur7g0P\/","user_nicename":"mynicename","user_email":"email@email.it","user_url":"","user_registered":"2016-07-28 16:13:39","user_activation_key":"","user_status":"0","display_name":"myname"}, {"ID":"2","user_login":"myname2","user_pass":"$P$BKVS\/30bpzejiORa9nGupsAur7g0P\/","user_nicename":"mynicename","user_email":"email@email.it","user_url":"","user_registered":"2016-07-28 16:13:39","user_activation_key":"","user_status":"0","display_name":"myname"} ] You need the Start "[" and End "]" (and no comma after the last entry! ? )
  9. Processwire Sort using PHP "SORT_REGULAR", not "SORT_NATURAL" If you have a string with a upper-case first character, and another one with lowercase first char, then theres a sorting Problem... ? Are your Items all upper-case or mixed? Example: - aSDF - bSDF - Bsdf is sorted like this: - Bsdf - aSDF - bSDF
  10. Wildcard certificates are only for one "complete" domainname like "*.domainname.ext" You need a certificate for every domainname - including subdomains (or you have a wildcard certificate... )
  11. Just add it to your template file... it's only html with javascript code (site/templates/yourtemplatefile.php)
  12. Already logged out and logged in again? I think it's translated after login
  13. Untested $doctors = $pages->find("template=staff-page,parent=1018,locations={$page->id}");
  14. I think it shouldnt be a big Problem to change the Module
  15. Can you tell us the error ? Without the error message, it's quite hard
  16. Look at this module I think that's what you're looking for
  17. Or use the customized Google Search for Processwire https://cse.google.com/cse/publicurl?cx=014789015761400632609:fxrf0rj4wr4
  18. Is mysql(i) working with other PHP Scripts? You can check it with this snippet: <?php // just edit the parameters $con = mysqli_connect("localhost","my_user","my_password","my_db"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } ?>
  19. Theres a Tutorial for that https://processwire.com/docs/tutorials/installation-moving-and-troubleshooting/page5
  20. The Field longtext is in my dev installation its just a fieldname created by me but you can test it with the current dev Version (the dev Version will be the the Master Version in „some“ Weeks (?))
  21. theres a installation manual with this informations https://processwire.com/docs/install/ And the troubleshooting https://processwire.com/docs/install/troubleshooting/
  22. It depends on your webserver and its configuration... With my old hoster, there was no problem with the standard htaccess file, but with my new - i have to uncomment the lines # 1. Don't show directory indexes, but do follow symbolic links # 500 NOTE: Some cloud hosting companies don't allow +FollowSymLinks. # Uncomment +SymLinksifOwnerMatch and comment +FollowSymLinks if you have 500 errors. # If that doesn't resolve the error, then set it back to +FollowSymLinks.
×
×
  • Create New...