1 zafrusteria Jul 14, 2008 10:20
3 zafrusteria Jul 14, 2008 20:00
Thanks for the reply :) . I'm not exactly sure what I am going to do with the code though. When I paste the two lines into my plugin I get an error message.
[code]Parse error: syntax error, unexpected T_GLOBAL, expecting T_FUNCTION in /usr/share/b2evolution/blogs/plugins/code_sample_plugin/_code_sample.plugin.php on line 64[/code]
So I guess that is not the right place.
4 yabba Jul 14, 2008 20:20
Assuming you want to use the code in your plugins function RenderItemAsHtml()
function RenderItemAsHtml( & $params )
{
global $media_path, $media_url;
// $media path / url are now available in this function to your plugin ;)
¥
5 zafrusteria Jul 14, 2008 20:25
Thank you :)
sorted !
6 yabba Jul 14, 2008 20:26
No problem ;)
¥
;)
¥