X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How do I change the actual text displayed on my login pages? (https://forum.x-cart.com/showthread.php?t=31095)

NickC 06-14-2007 07:46 AM

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

balinor 06-14-2007 08:13 AM

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.

NickC 06-15-2007 01:03 AM

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

balinor 06-15-2007 07:11 AM

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 03:02 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.