Recently Browsing 0 members
No registered users viewing this page.
I want to customize the mywebsite/processwire/profile page. It's almost all good but I want to get rid of the sections 'Admin Theme' and 'Language' so that the user can just set a new password. (see image)
Do I have to modify the admin template or how can I do that? Because when I go tree>Admin>Profile there are no fields to add or remove.
Or where can I find the php file?
I would appreciate your help.
Reference: PW 3.0.111 and uikit3 based site using the Regular-Master profile.
I'm trying to automatically redirect a logged-in user to a custom profile page using $session->redirect() and need to add $user->name to the redirect path.
All my attempts appear to have failed:
$session->redirect('/user-profile/')->name; $session->redirect('/user-profile/')->$user->name; $session->redirect('/user-profile/' . get($user->name . '/')); $session->redirect('/user-profile/' & get($user->name)); Can anyone point out where I am going wrong?
Hello, after creating an array and assigning it to a variable in session:
$order = array (); $order['token'] = 'token'; $order['product'] = 'product-name'; $session->order = $order; I try to insert another item:
$session->order['price'] = 'price'; But it doesn't work:
Notice: Indirect modification of overloaded property ProcessWire\Session::$order has no effect in... Isn't possible to modify such session variable? I could build another array from the session variable, add the new item, and then store it again in session, but doesn't looks good.
I am working on a website and I want to style the login page, but I'm a bit confused.
I want either the existing login page styled in my own way using some CSS (I guess I prefer that) or I want to create a custom page with a form to login. (Which I could style too).
I used the code from Ryan and Renobird posted here - which works great - but that doesn't replace the original login page.
Is there a way to some sort of 'disable' the original login?
I hope my question is clear and thanks in advance,
By Lex Sanchez
I do not know if someone before using ProcessWire with AWS CloudFront, currently I have problems with the login, it does not work for any reason, when I check in the logs generated by ProcessWire, it only indicates This request was aborted because it appears to be forged. (in /wire/core/SessionCSRF.php line 190).
I have allowed CloudFront to forward all headers, cookies and allow all methods (GET, POST, PUT).
When I perform the same process from the ip server if it works or from the balancer.