![]() |
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.
|
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) |
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> |
Re: Editing home page in 4.4.1
Just change the img tag to point to your image. And clear your cache.
|
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.
|
Re: Editing home page in 4.4.1
Just put it right there where the image code is.
|
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.
|
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.)
--- |
Re: Editing home page in 4.4.1
I will take a look using your suggestions. I appreciate your help on this.
Thanks!! |
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.