Welcome Guest, Not a member yet? Register   Sign In
phil sturgeon template library how layout.php
#1

[eluser]umefarooq[/eluser]
HI i have check phil sturgeon template library its nice, i have check how to use it but i want to ask which variable has to put in layout.php file please anybody who has use that please help me

http://philsturgeon.co.uk/code/codeigniter-template
#2

[eluser]umefarooq[/eluser]
anybody has face this problem please share
#3

[eluser]Phil Sturgeon[/eluser]
Ooops, my documentation is missing "$template['body']".

Here is an example of a layout:

Code:
<html>
<head>
<title><?php echo $template['title']; ?></title>
<?php echo $template['metadata']; ?>
</head>
<body>
<?php echo $template['body']; ?>
</body>
</html>




Theme © iAndrew 2016 - Forum software by © MyBB