Hi all and sorry for my english and for my stupid question:
I have one html file (a box template) link this :
<h1>$data->title</h1> <p>$data->content</p>
I have $data that contain title and content.
Which is the function (and how use it) that get my file, merge with $data and return the final HTML ? If I need to write it, how can I realize it ? Any RTFM is wellcome because I have read the Pro Drupal Development's Theme Chapter, but without any help from it.
Tnx again.
M.
On Fri, 18 Jan 2008 15:20:57 +0100 Davide Michel 'ZioBudda' Morelli michel@ziobudda.net wrote:
Hi all and sorry for my english and for my stupid question:
I have one html file (a box template) link this :
<h1>$data->title</h1> <p>$data->content</p>
$output.=theme('catalog_item_details',$Item);
where catalog_item_details is "linked" to a file named catalog_item_details.tpl.php in your theme dir
but you're going to reformat your "html" file like
<h1><?php print $title ?></h1>
sort of
I don't know about other template engines...