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)
-   -   Make Welcome Message easy to edit (https://forum.x-cart.com/showthread.php?t=33347)

sjbt 08-18-2007 04:42 PM

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!

inebriate 08-18-2007 06:37 PM

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

sjbt 08-18-2007 06:56 PM

Re: Make Welcome Message easy to edit
 
What would the include code be? just normal php include?

balinor 08-19-2007 04:19 AM

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

sjbt 08-19-2007 02:39 PM

Re: Make Welcome Message easy to edit
 
Could you explain where to do that?

Thanks!

sjbt 08-20-2007 04:30 AM

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


All times are GMT -8. The time now is 04:38 AM.

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