Correct use of Smary

From: Date: Thu, 20 Feb 2003 16:37:29 +0000
Subject: Correct use of Smary
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8016@lists.php.net to get a copy of this message
I would like to know if how I now use Smary is considered 'correct'. My Smarty site works, but I am questioning if it is accessible to search engines, especially Google. If my approach is 'incorrect', then please advise me how it should be done. Here is an example of the files I have: index.html: <?php require("Smarty.class.php"); $smarty = new Smarty; $smarty->assign("Page", "index"); $smarty->display("director.tpl"); ?> director.tpl: {include file="head.txt"} {include file="leftcolumn.txt"} {if $Page eq "index"} {include file="index.txt"} {/if} {include file="rightcolumn.txt"} {include file="tail.txt"} Then, inside of the include files, I have the HTML for the pages. Thank you, Dave Meysman

« previous php.smarty.general (#8016) next »