WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • changing texts on glassberry template
  • Print
Pages: [1]   Go Down

Author Topic: changing texts on glassberry template  (Read 5655 times)

apple

  • Guest
changing texts on glassberry template
« on: February 12, 2013, 12:17:05 PM »
Where do I change the text on the login section? At the moment it has 'Loginname' next to the filed and I want to change it to 'username'. And I also want to change the text 'Forgot Details?' to Forgotten Details?'
When I looked at the template it doesn't show the texts are giving me any hint. Please help.

<div id="login-box">
<?php
if(FRONTEND_LOGIN AND !$admin->is_authenticated()) { //If begin
?>
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post">
               <fieldset class="topbox">
                  <legend><?php echo $TEXT['LOGIN']; ?></legend>
                  <div class="topboxbody">
                     <label for="username"><?php echo $TEXT['USERNAME']; ?>:</label>
                     <input type="text" name="username" id="username" class="text" />
                     <label for="password"><?php echo $TEXT['PASSWORD']; ?>:</label>
                     <input type="password" name="password" id="password" class="text" />
                     <label>&nbsp;</label>
                     <input type="submit" name="submit" value="<?php echo $TEXT['LOGIN']; ?>" class="submit" />
                     <div><a href="<?php echo FORGOT_URL; ?>"><?php echo $TEXT['FORGOT_DETAILS']; ?></a>, <br />
                     <?php if(is_numeric(FRONTEND_SIGNUP)) { ?>
                        <a href="<?php echo SIGNUP_URL; ?>"><?php echo $TEXT['SIGNUP']; ?></a>
                     <?php } ?></div>
                  </div>
               </fieldset>
               </form>
Logged

jacobi22

  • Guest
Re: changing texts on glassberry template
« Reply #1 on: February 12, 2013, 12:47:13 PM »
look into the files in folder languages and there to your Backend- or WB-System-Languages, like EN.php or DE.php

search in this file for $TEXT['FORGOT_DETAILS'] and change the value behind this entry

original in EN.php // line 148
Quote
$TEXT['FORGOT_DETAILS'] = 'Forgot Details?';


change to
Quote
$TEXT['FORGOT_DETAILS'] = 'Forgotten Details?';

the login text you found in the file account / languages/ EN.php or DE.php

« Last Edit: February 12, 2013, 12:52:33 PM by jacobi22 »
Logged

apple

  • Guest
Re: changing texts on glassberry template
« Reply #2 on: February 14, 2013, 11:50:41 PM »
Thanks, mate. That was very helpful. I also changed all the text Loginname to Login but nothing is happening. The front end of my site still shows Loginname in the Login box. Do you know where this could be? I looked at the template itself and I can;t find the word Loginname.
Thanks in advance.
Logged

jacobi22

  • Guest
Re: changing texts on glassberry template
« Reply #3 on: February 15, 2013, 12:34:52 AM »
your code in the first posting is from the index.php of the glassberry-template.
this code use text-variables from the languages file in folder languages,

in DE.php in line 366, in EN.php in line 355
Code: [Select]
$TEXT['USERNAME'] = 'Loginname';
in DE.php in line 189, in EN.php in line 187
Code: [Select]
$TEXT['LOGIN'] = 'Anmeldung'; (german)
Code: [Select]
$TEXT['LOGIN'] = 'Login'; (english)
etc

if you use another language, look in this language files, maybe FR.php for france

search the variables from the index.php only in this languages-Folder

if you click a link in this frontend-Login-Field (Forget Login-data or Register), see my first post
these files are in the folder account and use here own languages fields
if you not sure, look to the adress-field in your browser
a frontend-signup-link ends with /account/signup.php


Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • changing texts on glassberry template
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2