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)
-   -   Welcome Back page (https://forum.x-cart.com/showthread.php?t=31324)

tac 05-21-2007 06:14 PM

Welcome Back page
 
I am just trying to figure out where the Welcome back area is....I can edit the welcome page but when Someone logs in and it goes to the welcome back page I cant seem to figure that out. Some help would be VERY cool. Thanks!

balinor 05-21-2007 06:20 PM

Re: Welcome Back page
 
They are one and the same, customer/main/welcome.tpl

tac 05-21-2007 07:15 PM

Re: Welcome Back page
 
Oh....well... I am trying to embed a video and it works when I am not loged in, after I log in it goes away. Any suggestions?

carpeperdiem 05-22-2007 02:12 AM

Re: Welcome Back page
 
You may have the embedded item coded into welcome.tpl within the {if} that looks to see if the customer is logged in? Try putting the embedded item AFTER the closing {/if} - or place it 2 or 3 times (once if logged in, and again in the "else")

After this code:
Code:

{if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''}
{assign var="_name" value=$smarty.cookies.GreetingCookie|replace:"\'":"'"}
<h3>{$lng.lbl_welcome_back|substitute:"name":$_name} </h3>
{elseif $lng.lbl_site_title}
<h3>{$lng.lbl_welcome_to|substitute:"company":$lng.lbl_site_title}</h3>
{else}
<h3>{$lng.lbl_welcome_to|substitute:"company":$config.Company.company_name}</h3>
{/if}


tac 05-24-2007 10:43 AM

Re: Welcome Back page
 
Sweet! Got it Thanks!!!!!!!!


All times are GMT -8. The time now is 12:29 PM.

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