I want to add this little funky flash:
http://julk.net.free.fr/nectarine/ticker/necta_julk.php
Into my sidebar, with the html bugget plugin, but the problem is
that it loads the flash incorrect not showing the playlist as it should,
but if i open the flash just with my browser it works. Any ideas ?
Problem with adding a flash in the sidebar
Yeah, I was afraid of that.
You can run PHP from your templates through a customization file called config.inc.php. For instance, you could create a config.inc.php in your template directory with this content:
Then modify your template with {$my_content} wherever you want the output to go. You've got to be careful with paths: see this entry for embedding PHP in your blog.
You could also try the externalphp sidebar plugin, which allows you to call (as the name suggests) external PHP programs.
The documentation for using PHP in your templates is here.
You can run PHP from your templates through a customization file called config.inc.php. For instance, you could create a config.inc.php in your template directory with this content:
Code: Select all
<?php
ob_start();
include your_php_file.php
$data = ob_get_contents();
ob_end_clean();
$serendipity['smarty']->assign('my_content', $data);
?> You could also try the externalphp sidebar plugin, which allows you to call (as the name suggests) external PHP programs.
The documentation for using PHP in your templates is here.