Welcome Guest, Not a member yet? Register   Sign In
loading menu for all controllers ?
#5

[eluser]überfuzz[/eluser]
Nice going harddik. If you're using the same template throughout the site, you might as well put the <head> stuff, the footer and what have you in the template. CI helps you with some nice functions in the url class.

Code:
<?php echo doctype('xhtml1-strict'); ?>

<html >

<head>
<title>Your beautiful site</title>

<?php echo meta($meta); ?>

<?php foreach($link_tags AS $tag): ?>
<?php echo link_tag($tag); ?>

<?php endforeach; ?>

<body>
<?php //maybe render a menu from sql-table. ?>

<div id="footer"></div>


&lt;/head&gt;


Messages In This Thread
loading menu for all controllers ? - by El Forum - 11-27-2009, 01:24 AM
loading menu for all controllers ? - by El Forum - 11-27-2009, 03:40 AM
loading menu for all controllers ? - by El Forum - 11-27-2009, 05:14 AM
loading menu for all controllers ? - by El Forum - 11-27-2009, 08:19 AM
loading menu for all controllers ? - by El Forum - 11-27-2009, 08:20 AM
loading menu for all controllers ? - by El Forum - 11-27-2009, 02:00 PM
loading menu for all controllers ? - by El Forum - 12-18-2009, 03:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB