![]() |
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? |
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.
|
Re: How do i call Html page ?
Hi,
But i call html b4 with version 4.3? i thought something missing? 8O Thanks |
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.
|
Re: How do i call Html page ?
HI balinor,
Thanks, i'll do that but is this logic correct? Quote:
|
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.
|
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 |
Re: How do i call Html page ?
Ah, then yes, this method will work for you.
|
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 |
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 |
All times are GMT -8. The time now is 03:35 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.