C4Guns Posted March 28, 2023 Share Posted March 28, 2023 I've been suprised by the fact that I cannot manually change the text of the login page for users. Could somebody tell me if there is a way to do it with the code injection? Link to comment
C4Guns Posted March 28, 2023 Author Share Posted March 28, 2023 Could you give me any tips as to what the code should look like? I am familiar with programming, but not in HTML or JavaScript Link to comment
C4Guns Posted March 29, 2023 Author Share Posted March 29, 2023 The title says everything, I just need to change "Password" to 'Hasło" Link to comment
tuanphan Posted April 2, 2023 Share Posted April 2, 2023 What is your site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
C4Guns Posted April 4, 2023 Author Share Posted April 4, 2023 I REALLY need to change the contents of the login page, and I have no idea how to do that. I tried custom code, but all my attempts haven't worked. Please, could someone tell me how to approach this topic Link to comment
C4Guns Posted May 18, 2023 Author Share Posted May 18, 2023 (edited) Hello I've been trying to solve this issue for 2 months, but have no idea how. I need to change the password and login placeholder on my member areas. Someone sent me this code https://github.com/tomsWebConsulting/twcsl/tree/main/v7.1/Member Area Log In Dialog Change But have no idea how to customize it to my needs. Please help, it's very urgent Edited May 19, 2023 by C4Guns Link to comment
creedon Posted May 19, 2023 Share Posted May 19, 2023 Please post the URL for a page on your site where we can see your issue. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/. Please set up a site-wide password, if your site is not public and you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the site-wide password and how to share a link documentation to understand how they work. We can then take a look at your issue. You may find How to post a forum question post useful. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
C4Guns Posted May 19, 2023 Author Share Posted May 19, 2023 c4-g.squarespace.com Password is: 2977142u I need to change the placeholder of Basically everything, so when people see the login page they don't see the 'password' text, but instead 'x' Link to comment
creedon Posted May 19, 2023 Share Posted May 19, 2023 I looked at the site and my code has been muddled. Syntax errors have been introduced and I really couldn't parse the intent of the code that has been added. My code does work when the custom code added to it works. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
C4Guns Posted May 19, 2023 Author Share Posted May 19, 2023 16 hours ago, creedon said: I looked at the site and my code has been muddled. Syntax errors have been introduced and I really couldn't parse the intent of the code that has been added. My code does work when the custom code added to it works. I've tried to make it work but couldn't, can you share the code? Link to comment
Solution creedon Posted May 19, 2023 Solution Share Posted May 19, 2023 I can share some example code but not a full solution to your needs. I started out with a callback. <script> const placeholderChange = ( dcmnt, logInType ) => { dcmnt .querySelectorAll ( '[placeholder="Password"]') .forEach ( element => { element.setAttribute ( 'placeholder', 'x' ); } ); }; </script> Then I added my Member Area Log In Dialog Change code. In that code I set the following lines. You should get a fresh copy of my code as the code you have is messed up and out of date. signIn : 'Zaloguj Się', signUp : 'Załóż Konto', accountFrameCallback : placeholderChange Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
C4Guns Posted May 20, 2023 Author Share Posted May 20, 2023 Where do I get the fresh code? Also, you solved my problem thanks so much just need to make it work Link to comment
C4Guns Posted May 20, 2023 Author Share Posted May 20, 2023 If I want to do the same with other placeholders I should approach this the same way? Link to comment
creedon Posted May 20, 2023 Share Posted May 20, 2023 17 minutes ago, C4Guns said: Where do I get the fresh code? Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
C4Guns Posted May 20, 2023 Author Share Posted May 20, 2023 ok, and may I ask how do I change more than one field? Link to comment
creedon Posted May 20, 2023 Share Posted May 20, 2023 5 minutes ago, C4Guns said: If I want to do the same with other placeholders I should approach this the same way? I've provided the code to make it possible to modify the dialog and I've provided an example of how you might go about modifying placeholder text. I am unable to provide a full solution to your specification. I am available on a consulting basis and you can contact me via DM if you are interested. C4Guns 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
C4Guns Posted June 9, 2023 Author Share Posted June 9, 2023 I did change the member area login screen using code injection Only problem is, not everyone can see it. The code injection doesn't work on some devices. Can someone explain why is that? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment