[eluser]Massimiliano Marini[/eluser]
Hi all,
In my theme I want to load the metadata.php file directly in default.php file, like theme_view('metadata').
My complete folder structure is this:
Code:
application/themes/my_theme/views/layouts/default.php
and the metadata.php is here:
Code:
application/themes/my_theme/views/metadata.php
Into default .php between
Code:
<head></head>
tags I want to put something like this
Code:
theme_view('metadata')
I think it must be something like a theme_helper.php, Phil Sturgeon do this in PyroCMS, I've tried to reproduce it but without success.
Any idea or help?