| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
adding a new txt area to home page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
adding a new txt area to home page
Hi
I know how to change the welcome message - and even move it - to under the slider ... But now I have the header->slider-> welcome message -> top level categories and now I want to put another message underneath all this ONLY on the home page this is not part of the footer - this would still be part of the center content area. I can edit content.tpl or welcome.tpl ... I see {$lng.txt_welcome}<br /> what I really want to do is create a new lng.txt_welcome2 entry that I can add after all the other stuff in the welcome.tpl file. I'm sure this is either doable - or I can fake some other lng.txt variable into doing this - but there are 3000 of them ? eeks if you can point me in the right direction. thanks DonnaNJ |
|||||||
#2
|
|||||||||
|
|||||||||
Re: adding a new txt area to home page
Well you are most of the way there, just edit the welcome.tpl as you say, and add the new language variable code where ever you want it to appear so {$lng.txt_welcome2}
Then go to Languages in admin, choose your language, scroll down to Add new entry. Select Topic: Text Variable: txt_welcome2 Value: [your text] You may need to go to Tools/Maintenance and Clear Templates for it to show.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
Re: adding a new txt area to home page
Detect for homepage with...
Code:
__________________
xcartmods.co.uk |
|||||||
#4
|
|||||||
|
|||||||
Re: adding a new txt area to home page
Quote:
Thanks ! I found knew how to add it to welcome.tpl - but didn't know how to add a new one- I didn't see that ALL the way down after all the entries ! LOL DUH - now I know to look real close ! thanks |
|||||||
|
|||
X-Cart forums © 2001-2020
|