| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||
|
|||||||
Welcome
Some time ago when I first installed Xcart (learning), I managed to remove the "welcome" intro at the top of the site in the home page. I can't remember whether this was an option or something I commented out in through the code.
Can someone remind me which template this bit of code is in or is it simply an option?
__________________
version 4.018 xcart |
|||||||
#2
|
|||||||
|
|||||||
Re: Welcome
customer/main/welcome.tpl. You can always find copies of your original templates in skin1_original. Also, this thread will help you figure out which template is which:
http://forum.x-cart.com/showthread.php?t=21529
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: Welcome
Thanks Balinor I simply restored the original template. I must have originally deleted it instead of commented the line.
Thanks again.
__________________
version 4.018 xcart |
|||||||
#4
|
|||||||
|
|||||||
Re: Welcome
One more on the welcome para.
I know how to add an image into the welcome section with the writing directly under it. Is there a way to place the image and the writing side by side, that is have the writing to the right of the image, instead of below the image?
__________________
version 4.018 xcart |
|||||||
#5
|
|||||||
|
|||||||
Re: Welcome
Sure, just create a two cell table or a float left and float right <div>.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
Re: Welcome
Thanks Balinor, but I am definately no code expert. I tried looking up some examples of the float right <div> but I'm not sure on how to apply it in order to split the image and then the text. How would I add it to the welcome.tpl below:-
{* $Id: welcome.tpl,v 1.23.2.1 2005/04/23 08:32:48 max Exp $ *} {if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''} <H3>{$lng.lbl_welcome_back}, {$smarty.cookies.GreetingCookie|replace:"\'":"'"} </H3> {else} <H3><img src="skin1/images/Hsboy2.jpg" alt="Hugs and Stitches Boy"><br>{$lng.lbl_welcome_to} </H3> {/if} {$lng.txt_welcome} <P> {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"} {include file="modules/Bestsellers/bestsellers.tpl"} {/if} <P> {include file="customer/main/featured.tpl" f_products=$f_products}
__________________
version 4.018 xcart |
|||||||
#7
|
|||||||
|
|||||||
Re: Welcome
Worked it out.
First add this in the CSS .Floatleft { float: left; } Second add this within the Welcome.tpl <H3><p><img class="floatleft" src="skin1/images/Hsboy2.jpg" alt="Hugs and Stitches Boy">{$lng.lbl_welcome_to}</p> Thanks again balinor
__________________
version 4.018 xcart |
|||||||
|
|||
X-Cart forums © 2001-2020
|