Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Make Welcome Message easy to edit

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-18-2007, 04:42 PM
 
sjbt sjbt is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 35
 

Default Make Welcome Message easy to edit

I'm setting this store up for someone else. Changing the welcome message in language variables is a chore. Can I set something up like a separate include file that the administrator can change easily?

Is there any other way to get at that easily?

Thanks!
__________________
X-Cart 4.1.8
Reply With Quote
  #2  
Old 08-18-2007, 06:37 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Make Welcome Message easy to edit

you could make an html file and have it included in the welcome.tpl and also removing the smarty line of the language variable in welcome.tpl
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #3  
Old 08-18-2007, 06:56 PM
 
sjbt sjbt is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 35
 

Default Re: Make Welcome Message easy to edit

What would the include code be? just normal php include?
__________________
X-Cart 4.1.8
Reply With Quote
  #4  
Old 08-19-2007, 04:19 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Make Welcome Message easy to edit

Just put this link in your admin/admin menu and you will get a link right to it:

yoursite.com/admin/languages.php?language=US&topic=Text&filter=welcom e
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 08-19-2007, 02:39 PM
 
sjbt sjbt is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 35
 

Default Re: Make Welcome Message easy to edit

Could you explain where to do that?

Thanks!
__________________
X-Cart 4.1.8
Reply With Quote
  #6  
Old 08-20-2007, 04:30 AM
 
sjbt sjbt is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 35
 

Default Re: Make Welcome Message easy to edit

Got it!

I opened the admin/menu.tpl and added this code right after the Users link line

<a href="{$catalogs.admin}/languages.php?language=US&topic=Text&filter=txt_we lcome" class="VertMenuItems">Welcome Message</a><br />

This shows up nicely under the Management section in the Admin and the link brings up the sections to edit for the Customer txt_welcome and the txt_welcome_to_admin_area_textsections.

Anyone know how I can limit it to show just the txt_welcome section?

Thanks
__________________
X-Cart 4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:37 AM.

   

 
X-Cart forums © 2001-2020