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

Custom Block Help please

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-11-2008, 11:37 AM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Custom Block Help please

Hi there I have created a new_menu.tpl and uploaded it to the skin1 root folder

This is temp code I have added to the file

new_menu.tpl

Code:
<h1>New Menu</h1> <h3>Home</h3> <h3>Products</h3>

I have then added this code the the home.tpl file to make it show on the homepage on the left handside

Code:
{include file="new_menu.tpl" }


My question is why do I not have a box around the module and blue header like the navagtion block above

See image attached
Attached Thumbnails
Click image for larger version

Name:	screen.JPG
Views:	186
Size:	61.6 KB
ID:	1172  
__________________
X Cart Version 4.1.11
Reply With Quote
  #2  
Old 10-11-2008, 12:36 PM
 
pcparts pcparts is offline
 

Advanced Member
  
Join Date: Jul 2006
Location: Aussie
Posts: 85
 

Default Re: Custom Block Help please

Hi

Try this mate.

Code:
{* $Id: categories.tpl,v 1.1.2.34 2008/05/26 07:35:16 max Exp $ *} {capture name=menu} <h1>New Menu</h1> <h3>Home</h3> <h3>Products</h3> {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu cellpadding=$fc_cellpadding}
__________________
Greg
X-CART Gold 4.1.10
Reply With Quote
  #3  
Old 10-11-2008, 11:54 PM
 
ibit-matt ibit-matt is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 60
 

Default Re: Custom Block Help please

HI there that work.

Can you explain what the extra lines of code mean please.
__________________
X Cart Version 4.1.11
Reply With Quote
  #4  
Old 10-12-2008, 05:04 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Custom Block Help please

See http://forum.x-cart.com/showthread.php?t=21529
It explains pretty much what each template does.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
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 03:47 PM.

   

 
X-Cart forums © 2001-2020