![]() |
How do I change the actual text displayed on my login pages?
Hi,
After about an hour (no exaggeration) of looking through FAQs, the manual and here I am unable to figure out how to change the text that appears on my login pages. For example: on https://wholesale.securityplusproducts.com/secure_login.php There is this default text that says "In this form you can safely enter your login and password." When I look on the template I see things that say {$lng.lbl_SOME-DESCRIPTION}. I know it's outputting this value- but where is the value to begin with? Thanks! -Mike Davis- Security Plus Webmaster |
Re: How do I change the actual text displayed on my login pages?
That means it is a language variable and you need to edit it via your 'Langauges' area. Go in and select your language, select Labels and then type part of the text you want to edit in the filter box to help narrow down the choices. Edit and save.
|
Re: How do I change the actual text displayed on my login pages?
Works like a charm....
Thanks! Yoo da man!! :D/ |
Re: How do I change the actual text displayed on my login pages?
hi
where is the languages area....? cheers Nick |
Re: How do I change the actual text displayed on my login pages?
Click 'Languages' in your admin.
|
Re: How do I change the actual text displayed on my login pages?
Hi
Still not clear. I am trying to change text in a template. (Just want to make a certain part bold). Cant click on it in webmaster mode, but just cant find original source for it... Not sure what to do once in languges..please give me the idiots guide on how to use this section... Many Thanks Nick |
Re: How do I change the actual text displayed on my login pages?
hi
this is the code of tpl. Could you just give me pointers as to what i am looking at? {capture name=dialog} {include_php file='links/links.php'} <hr> {include file="customer/links_form.tpl"} {/capture} {include file="dialog.tpl" title=$lng.lbl_links content=$smarty.capture.dialog extra="width=100%"} Cheers Nick |
Re: How do I change the actual text displayed on my login pages?
Well, those are not standard X-Cart templates/files so I don't know where to point you. Is that a modification of some sort?
|
Re: How do I change the actual text displayed on my login pages?
hi
Yes it is a mod, ,what i ment to say or mean was where in this script is it pointing to the text or the file which contains the text? cheers nick |
Re: How do I change the actual text displayed on my login pages?
There are no text variables in that template as it just calls another template. You need to look in customer/links_form.tpl.
To use the languages area, you select the language you want to use, and then type part of the text you are looking for in the 'filter' box. It will display any language variables below that match. You'll probably need to use the selector to change between Labels and Text, as they are two different language types. |
Re: How do I change the actual text displayed on my login pages?
Hi
This is where I want the change http://sugarplumtree.co.uk/links.php I am trying to make the link title i.e Baby Beats links text bold and a bit bigger to stand out from link discription. Below is the links_form, what or where do i make the change to achieve the above? <p>{$lng.lbl_links_description}</p> <form method="POST" action="links/addlink.php"> <table border="0" cellpadding="5" cellspacing="0"> <tr> <td><b>{$lng.lbl_links_name}:</b></td> <td><input type="text" name="name" maxlength="50" size="40"></td> </tr> <tr> <td><b>{$lng.lbl_links_email}:</b></td> <td><input type="text" name="email" maxlength="50" size="40"></td> </tr> <tr> <td><b>{$lng.lbl_links_website_title}:</b></td> <td><input type="text" name="title" maxlength="50" size="40"></td> </tr> <tr> <td><b>{$lng.lbl_links_website_url}:<b></td> <td><input type="text" name="url" maxlength="100" value="http://" size="40"></td> </tr> <tr> <td><b>{$lng.lbl_links_reciprocal_link}:</b></td> <td><input type="text" name="recurl" maxlength="100" value="http://" size="40"></td> </tr> </table> <br><b>{$lng.lbl_links_website_description}:</b><br> <input type="text" name="description" maxlength="200" size="50"></p> <p><br><input type="submit" value="Add link"></p> </form> cheers Nick |
Re: How do I change the actual text displayed on my login pages?
It looks like the template you posted is for entering new links only. The PHP file apparently contains the code necessary to generate the links. These won't be language variables, as they are entered by customers. You'll need to change the formatting in the PHP file that generates the link list.
|
Re: How do I change the actual text displayed on my login pages?
Hi
Hope this might point me in right direction...I have posted PHP file below, still not sure what i am looking for. Is there something below which I need to locate to alter text. Thanks for help so far and sharing tips, just godda keep learning.. <?php require "./auth.php"; require $xcart_dir."/include/categories.php"; if($active_modules["Manufacturers"]) include $xcart_dir."/modules/Manufacturers/customer_manufacturers.php"; if(!defined('XCART_SESSION_START')){ header("Location: ../../"); die("Access denied");} $location[] = array(func_get_langvar_by_name("lbl_links"), "links.php"); $smarty->assign("links",$links); $smarty->assign("main","links"); $smarty->assign("location", $location); $smarty->assign("products",$products); func_display("customer/home.tpl",$smarty); Cheers Nick |
Re: How do I change the actual text displayed on my login pages?
Nick, please don't double post, I have removed your second post on this topic. Since this is an add-on, perhaps you should ask the author how to accomplish what you are after.
|
All times are GMT -8. The time now is 10:03 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.