Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Editing home page in 4.4.1

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-19-2011, 10:27 AM
 
herniarelievers herniarelievers is offline
 

Member
  
Join Date: Sep 2007
Posts: 27
 

Default 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.
__________________
4.4.1
Reply With Quote
  #2  
Old 01-19-2011, 10:43 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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)
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-19-2011, 10:50 AM
 
herniarelievers herniarelievers is offline
 

Member
  
Join Date: Sep 2007
Posts: 27
 

Default 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>
__________________
4.4.1
Reply With Quote
  #4  
Old 01-19-2011, 10:57 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Editing home page in 4.4.1

Just change the img tag to point to your image. And clear your cache.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-19-2011, 11:01 AM
 
herniarelievers herniarelievers is offline
 

Member
  
Join Date: Sep 2007
Posts: 27
 

Default 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.
__________________
4.4.1
Reply With Quote
  #6  
Old 01-19-2011, 11:11 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Editing home page in 4.4.1

Just put it right there where the image code is.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 01-19-2011, 11:36 AM
 
herniarelievers herniarelievers is offline
 

Member
  
Join Date: Sep 2007
Posts: 27
 

Default 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.
__________________
4.4.1
Reply With Quote
  #8  
Old 01-19-2011, 12:06 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default 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.)

---
__________________
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)
Reply With Quote
  #9  
Old 01-19-2011, 12:10 PM
 
herniarelievers herniarelievers is offline
 

Member
  
Join Date: Sep 2007
Posts: 27
 

Default Re: Editing home page in 4.4.1

I will take a look using your suggestions. I appreciate your help on this.
Thanks!!
__________________
4.4.1
Reply With Quote
  #10  
Old 01-19-2011, 03:54 PM
 
herniarelievers herniarelievers is offline
 

Member
  
Join Date: Sep 2007
Posts: 27
 

Default 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.
__________________
4.4.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020