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)
-   -   Editing home page in 4.4.1 (https://forum.x-cart.com/showthread.php?t=57613)

herniarelievers 01-19-2011 10:27 AM

Editing home page in 4.4.1
 
Hello. We are using the Fashion Mosaic Theme(Green) and we are unable to edit the home page. There is a stock image that is embedded in welcome.tpl. We would like to replace this image with some text and tables. We have tried editing the welcome.txt file and re-placing the image in the welcome.tpl file however it does not display where the image is. Please help.

balinor 01-19-2011 10:43 AM

Re: Editing home page in 4.4.1
 
Two things:

1. Make sure you are editing the correct welcome.tpl template - it is the one in the Fashion Mosaic folder, not the common_templates folder.

2. Clear your template cache after you update (Tools/Maintenance)

herniarelievers 01-19-2011 10:50 AM

Re: Editing home page in 4.4.1
 
Thanks. I double-checked and we are in the correct template. Below is the small portion of code that seems to control the image. I am not sure what to do to replace this image with our own copy, which is the welcome.txt file.

<div class="welcome-top">
<img src="{$AltImagesDir}/fashion_mosaic/welcome.jpg" class="welcome" alt="" />
{if $categories_menu_list}
{$lng.txt_welcome class="welcome"}
{include file="customer/categories.tpl"}
{else}
<img src="{$ImagesDir}/spacer.gif" alt="" class="empty-height-extender" />
{/if}
</div>

balinor 01-19-2011 10:57 AM

Re: Editing home page in 4.4.1
 
Just change the img tag to point to your image. And clear your cache.

herniarelievers 01-19-2011 11:01 AM

Re: Editing home page in 4.4.1
 
We do not want to use an image. We want to add some text and a table were the image is currently located. We just cannot seem to find where the text and tables should go to override the image.

balinor 01-19-2011 11:11 AM

Re: Editing home page in 4.4.1
 
Just put it right there where the image code is.

herniarelievers 01-19-2011 11:36 AM

Re: Editing home page in 4.4.1
 
Anything we put where the image is located shows up on the left side above the categories.

gb2world 01-19-2011 12:06 PM

Re: Editing home page in 4.4.1
 
You are going to need to understand the css that is being used for positioning - Firefox + Firebug will help you to see this. (The image was being positioned with css - you removed it, so its positioning was also removed.)

---

herniarelievers 01-19-2011 12:10 PM

Re: Editing home page in 4.4.1
 
I will take a look using your suggestions. I appreciate your help on this.
Thanks!!

herniarelievers 01-19-2011 03:54 PM

Re: Editing home page in 4.4.1
 
I am not sure why this is so difficult. I have been using X-Cart for years and editing the welcome page has never been this painful. I tried your suggestions but came up empty. I have submitted a ticket to X-Cart but I am still annoyed this is so difficult this time around. I do appreciate your efforts.


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

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