| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  User manuals |  Login | 
|  | 
| How do i call Html page ? | ||||
|  |  | |||
|  | Thread Tools | Search this Thread | 
| 
			 
			#1  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  How do i call Html page ? {* $Id: home.tpl,v 1.1 2010/05/21 08:32:02 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} <?xml version="1.0" encoding="{$default_charset|default:"iso-8859-1"}"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> {config_load file="$skin_config"} <html xmlns="http://www.w3.org/1999/xhtml"> <head> {include file="customer/service_head.tpl"} </head> <body{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}{if $container_classes} class="{foreach from=$container_classes item=c}{$c} {/foreach}"{/if}> {if $page_container_class} {if $main eq "catalog" && $current_category.category eq ""} {include file="pages/en/homepage.html"}{/if}> {else} <div id="page-container"> <div id="page-container2"> <div id="content-container"> <div id="content-container2"> {include file="customer/content.tpl"} </div> </div> <div class="clearing"> </div> <div id="header"> {include file="customer/head.tpl"} </div> <div id="footer"> What i did wrong? 
				__________________ Version 4.2.0 Testing v 4.4 | |||||||
| 
			 
			#2  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: How do i call Html page ? You can't do that - you need to make it a .tpl file - should be as easy as simply changing the extension and putting it in the skin1 directory. 
				__________________ Padraic Ryan Ryan Design Studio Professional E-Commerce Development | |||||||
| 
			 
			#3  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: How do i call Html page ? Hi, But i call html b4 with version 4.3? i thought something missing?   Thanks 
				__________________ Version 4.2.0 Testing v 4.4 | |||||||
| 
			 
			#4  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: How do i call Html page ? That isn't the proper way to be doing it, even if it worked before.  Just rename it to a tpl file and put it in the skin1 directory, it is the correct method and won't take you 2 seconds. 
				__________________ Padraic Ryan Ryan Design Studio Professional E-Commerce Development | |||||||
| 
			 
			#5  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: How do i call Html page ? HI balinor, Thanks, i'll do that but is this logic correct? Quote: 
 
				__________________ Version 4.2.0 Testing v 4.4 | |||||||
| 
			 
			#6  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: How do i call Html page ? customer/main/welcome.tpl is already coded to do just that - you seem to be doing more work than you need to.  But yes, that logic is correct. 
				__________________ Padraic Ryan Ryan Design Studio Professional E-Commerce Development | |||||||
| 
			 
			#7  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: How do i call Html page ? Quote: 
   This welcome.tpl only change the middle of the page isn't it? but i want totally new front page 
				__________________ Version 4.2.0 Testing v 4.4 | |||||||
| 
			 
			#8  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: How do i call Html page ? Ah, then yes, this method will work for you. 
				__________________ Padraic Ryan Ryan Design Studio Professional E-Commerce Development | |||||||
| 
			 
			#9  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: How do i call Html page ? Is there already a preset way of displaying a static home page (landing page) which then directs customer to the shop via a 'click here to enter shop' type of design.  You used to be able to choose to have a html home page, and then click through to shop. Only we want to be a bit more creative with our home page. Nick 
				__________________ 4.1.9 X-Magnifier X-FAQ's Manager Skin-'Fashion Mosaic' Links Manager Meta Tag Pro A-O-M RSS Feed SnS Live Help Marketing Manager Pro Banner Manager | |||||||
| 
			 
			#10  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: How do i call Html page ? Those kinds of portal pages will kill your seo.  But if you want to do that, just create an index.html page, and then change your .htaccess file to: DirectoryIndex index.html home.php index.php 
				__________________ Padraic Ryan Ryan Design Studio Professional E-Commerce Development | |||||||
|  | |||
| 
X-Cart forums © 2001-2020
 | |||