| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Add text home page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Add text home page
Hi
Once again my complete lack of template editing knowledge has come back to haunt me! I am trying to edit the text on my home page. I not only want to change the text ABOVE my main image, but also to add some BELOW the image. I think I have found the correct template - customer/home_main.tpl - but I cannot edit it, the operation fails. I'm not sure what the rules are about adding my web address in the forum so I haven't. Can anyone help? Thank you!
__________________
X Cart V. 4.1.9 CDSEO Pro |
|||||||
#2
|
|||||||
|
|||||||
Re: Add text home page
That isn't the template - the text on the home page is customer/main/welcome.tpl, but you can't actually edit the text in the template, they are all language variables. You can edit them via webmaster mode, or in the 'languages' area of your admin.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: Add text home page
Hello - thanks for trying to help me again!
I can edit the text above the image using the languages thing, but am not sure how to get it to sit below the main image. Should I put my web address in here so you can see what I mean?
__________________
X Cart V. 4.1.9 CDSEO Pro |
|||||||
#4
|
|||||||
|
|||||||
Re: Add text home page
If you want to move the text, you have to move the language variable, txt_welcome, in the welcome.tpl file.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Re: Add text home page
Ok, but if I move that variable - won't all the text move? Can I just leave some where it is, and add more further down the page? Is there a way of splitting this variable into two places?
__________________
X Cart V. 4.1.9 CDSEO Pro |
|||||||
#6
|
|||||||
|
|||||||
Re: Add text home page
Ah, ok, then you want to create a new variable - call it txt_welcome2. Then in welcome.tpl, place this where you want it to appear:
{$lng.txt_welcome2}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
Re: Add text home page
Thank you again! I think can do that. You are a star.
__________________
X Cart V. 4.1.9 CDSEO Pro |
|||||||
|
|||
X-Cart forums © 2001-2020
|