Quote:
Originally Posted by kh99
I've seen that before but can't remember what was causing it. But you have to remember, vb works by collecting up all the output into a string and printing it at the end. So those characters could come from any code that's executed, and not just from the very beginning of the script.
|
I tried removing completely the content of the template, it's still there. I tried removing line after line the content of the php file, it's still there. The only way to have it gone is to remove the whole content of the php file between <?php and ?>
@Cellarius : it's Notepad++ I meant, of course ^^
Thanks for your answers anyway
Edit : I just tried to use a hook instead of an external php file, following
the method of Cellarius
Code:
$templater = vB_Template::create('my_own_template');
$templater->register_page_templates();
print_output($templater->render());
and there are no more extra characters.