| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Editing home page in 4.4.1 | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#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.
__________________
4.4.1 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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)
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() 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>
__________________
4.4.1 |
|||||||
#4
|
|||||||
|
|||||||
![]() Just change the img tag to point to your image. And clear your cache.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() 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.
__________________
4.4.1 |
|||||||
#6
|
|||||||
|
|||||||
![]() Just put it right there where the image code is.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Anything we put where the image is located shows up on the left side above the categories.
__________________
4.4.1 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() 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.)
---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#9
|
|||||||
|
|||||||
![]() I will take a look using your suggestions. I appreciate your help on this.
Thanks!!
__________________
4.4.1 |
|||||||
#10
|
|||||||
|
|||||||
![]() 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.
__________________
4.4.1 |
|||||||
|
|||
X-Cart forums © 2001-2020
|