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

Help with Putting Full Width on Home.php

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-28-2013, 03:38 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Help with Putting Full Width on Home.php

Hi guys, im having a little problem trying to get something to work but im sure im over thinking it

All im trying to do is put the banner above the rest of the content (sidebar & main content)

like this

http://www.mavenstudios.co.uk/help.jpg

ive tried placing in the welcome.tpl but it doesnt line up because the sidebar is called in before the welcome then the content

I would really appreciate any help
__________________
X-Cart Version 4.55
Reply With Quote
  #2  
Old 06-29-2013, 01:01 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Help with Putting Full Width on Home.php

anyone ?
__________________
X-Cart Version 4.55
Reply With Quote
  #3  
Old 06-29-2013, 06:55 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Help with Putting Full Width on Home.php

anyone at all ?
__________________
X-Cart Version 4.55
Reply With Quote
  #4  
Old 06-29-2013, 11:45 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Help with Putting Full Width on Home.php

am i on the right forums ?
__________________
X-Cart Version 4.55
Reply With Quote
  #5  
Old 06-29-2013, 10:49 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Help with Putting Full Width on Home.php

You can put it in home.tpl before content.tpl is called
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 07-01-2013, 04:11 AM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Help with Putting Full Width on Home.php

thanks for the reply mate but that just makes the slider appear on all pages. I only want it to appear on the home.php only...any idea how i do that ?
__________________
X-Cart Version 4.55
Reply With Quote
  #7  
Old 07-01-2013, 06:08 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Help with Putting Full Width on Home.php

{if $main eq "catalog" and $current_category.category eq ""}
YOUR CONTENT
{/if}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #8  
Old 07-01-2013, 12:18 PM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Help with Putting Full Width on Home.php

Your a star mate thanks very much
__________________
X-Cart Version 4.55
Reply With Quote
  #9  
Old 07-01-2013, 12:21 PM
 
liamb2001 liamb2001 is offline
 

eXpert
  
Join Date: May 2006
Posts: 216
 

Default Re: Help with Putting Full Width on Home.php

is there somepart of xcart that stops javascript working or any reason you know this isnt loading properly its absolutley puzzling me !

http://www.modernwatch.co.uk/home.php

Its a static banner slider im using but For some reason the slider is showing a load screen despite all code being correct

seems to work perfectly when i call it in via HTML but as soon as i interst into the xcart tpls i get this black loading screen

http://www.modernwatch.co.uk/slider.html

am i missing something ?
__________________
X-Cart Version 4.55
Reply With Quote
  #10  
Old 07-01-2013, 12:38 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

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

Default Re: Help with Putting Full Width on Home.php

http://forum.x-cart.com/showthread.php?t=66240

---
__________________
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
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 11:19 PM.

   

 
X-Cart forums © 2001-2020