WebsiteBaker Community Forum

WebsiteBaker Support (2.12.x) => General Help & Support => Topic started by: rumen on February 18, 2019, 10:54:25 AM

Title: Questions about login / signup
Post by: rumen on February 18, 2019, 10:54:25 AM
Hello,

I have the following situation:
1. when I made links in the header of the page to Login and Sign-up respectively to "/account/login.php" and "/account/signup.php"  instead to open the forms I see the forms on the bottom of the page above the Footer. If I open links direct in the browser I see them as needed. I definitely made something wrong, but no idea what. Not a coder. Sorry. If I can fix that next point is canceled!

2. I made a droplets and used them on a separate page but missing styles! How can I apply the styles so I can get final result this (https://prnt.sc/mml4l9) (/account/signup.php) instead this (https://prnt.sc/mml3b0) (the droplet) or apply external style like this (https://freshdesignweb.com/css-login-form-templates/)   Should I apply the styles direct in the droplets?

3. in the forms - both login and signup the languages does not changes as needed and also I see a wrong word (https://prnt.sc/mml8hk) that I can't change because it missing in the language file (https://prnt.sc/mmlalq)! Any idea where can be?

Regards,

Rumen
 
Title: Re: Questions about login / signup
Post by: dbs on February 18, 2019, 11:19:40 AM
Hi. which WB version you use?
Normally droplets load css if available.

You can copy the folder admin/account/templates into your own template. Change the .htts to your needs.

languages/BG.php line 535
$TEXT['SIGNUP'] = 'Запищи се';
Title: Re: Questions about login / signup
Post by: rumen on February 18, 2019, 11:34:18 AM
I use WB 2.12

raw 533 (https://prnt.sc/mmly7r) (because I delete 2 raws I don't need) is "Регистрация" on BG or in EN "Registration" but ont the screen still appear "Запищи се" or "Scream"

By some reason WB doesn't call the CSS of the template. Where to copy admin/account/templates ?
Title: Re: Questions about login / signup
Post by: Gast on February 18, 2019, 11:41:58 AM
did you not receive my answer's or did you not read them??

....


only a hint.... everytime, when you change something in a language file (doesnt matter which language and in which folder) - you have to clear the Translate Cache
Go for that in Info-Window , search in the bottom for "Clear Translate Cache", click on the link and load the page again

Title: Re: Questions about login / signup
Post by: dbs on February 18, 2019, 11:44:02 AM
Quote
Where to copy admin/account/templates ?
Directly in your own template for frontend
Title: Re: Questions about login / signup
Post by: rumen on February 18, 2019, 11:46:19 AM
did you not receive my answer's or did you not read them??

....


only a hint.... everytime, when you change something in a language file (doesnt matter which language and in which folder) - you have to clear the Translate Cache
Go for that in Info-Window , search in the bottom for "Clear Translate Cache", click on the link and load the page again

Did not received .... :-(
Title: Re: Questions about login / signup
Post by: rumen on February 18, 2019, 11:50:09 AM
Hurayyyyy that helped!

Now I need to fix just the styles!
Title: Re: Questions about login / signup
Post by: Gast on February 18, 2019, 12:27:54 PM
Quote
Now I need to fix just the styles!

you can use inline-styles, but the web talk about possible problems with this in the future, but only rumours at the moment.
normalize, the login- and register-form are parts of the template, so use a class-definition in your code and style the form's in your css-file

maybe, you have to clear the browser-cache from time to time to see some changes

P.S.: example for inline style

Quote
<div style="text-align:center;margin-left:10px;">bla bla</div>
Title: Re: Questions about login / signup
Post by: Gast on February 18, 2019, 12:50:53 PM
see here the code for the footer menu

https://forum.WebsiteBaker.org/index.php/topic,29262.msg205307.html#msg205307

i work on my homepage with multiple menu groups, but it's only in german, not multi lingual. The solution's from this link works in every case, but it's a hard coded solution, means: if you add later a new language tree in your project, you have to change this code again
Title: Re: Questions about login / signup
Post by: rumen on February 19, 2019, 03:58:33 PM
Very useful - I did it, thanks a lot!