Bugs » Cant Call Links in PHP InClude

added on Jan 27, 2009 by Jimmy
Where can I add the <include tage> ???? below ? it is in a forum.

CODE#########################

<?php

class component_public
{
var $ipsclass;

function run_component()
{
$this->pagetitle = "The title";
$this->nav[] = "<a
href='{$this->ipsclass->base_url}autocom=custom'>{$this->pagetitle}</a>";
$this->ipsclass->load_template( 'skin_global' );
//-----------------------------------------
// Only necessary if you choose to
// use the template system
//-----------------------------------------
//$this->ipsclass->load_template( 'skin_custom' );
//$output .= $this->ipsclass->compiled_templates['skin_custom']->the_template();


//-----------------------------------------
// Or you can write plain HTML to this file.
//-----------------------------------------

$output .= "This is my HTML :)<br /><br />";

$this->ipsclass->print->add_output ( $output );
$this->ipsclass->print->do_output ( array( 'TITLE' =>
"{$this->ipsclass->vars['board_name']} - {$this->pagetitle}", 'JS' => 0, 'NAV' => $this->nav
) );

}
}

?>

END CODE############################

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.