![]() |
Editing body of main customer page.
Been searching for some time and pulling my hair out.
I want to edit the body of the main page with my own static content. Anything I add to /customer/home.tpl /suctomer/home_main.tp. Ends up on every product page. Any suggestion please? |
Sorry I forgot to add.. I know its the welcome.tpl but somehow I edited a template and welcome.tpl never shows up again on main page.
|
Yes, you need to use welcome.tpl. It is called from home_main.tpl by this line of code:
{elseif $main eq "catalog" and $current_category.category eq ""} {include file="customer/main/welcome.tpl" f_products=$f_products} so make sure you didn't remove that by mistake. |
Thank you.
Its is there. So is welcome.tpl and I've also restored it from original. Still don't have my welcome message. |
Your welcome.tpl should look like this:
Code:
{* $Id: welcome.tpl,v 1.23.2.1 2005/04/23 08:32:48 max Exp $ *} Make sure you didn't delete txt_welcome from the language variables section. |
Strange, just did a cut and paste of what you showed and it works.
Only difference I see is I had a blank line at the end. 14 lines rather then 13. Was the welcome.tpl Thank you so much for your help. |
Yea, don't edit templates in Cpanel or anything other than the Admin area of X-Cart or a good code editor. Other editors can leave blank spaces which as you now know, will cause problems :)
|
All times are GMT -8. The time now is 02:19 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.