Hello everybody,
i need some help. I have a joomla site and in the template i want to write something like this
<?php echo HTML_SOBI::execJPlugins( "{audio}$fieldsFormatted['field_pd']{/audio}" ); ?>.
the execjplugin is a function as far as i know that calls the plugin {audio}.
the $fieldsFormatted['field_pd'] calls the value of the field named pd
If i write
<?php echo HTML_SOBI::execJPlugins( "{audio}somestatictext{/audio}" ); ?>
the plugin works...
if i create an new variable
$test="somestatictext"
and then <?php echo HTML_SOBI::execJPlugins( "{audio}$test/audio}" ); ?>
this works again!
BUT!
i want to give the variable $test the value of the pd field.
So i wrote:
$test=$fieldsFormatted['field_pd']->data;
and then <?php echo HTML_SOBI::execJPlugins( "{audio}$test{/audio}" ); ?>
but the player hangs in buffering! it seems that it finds the file (in cases that it cant its shows error opening file) but it doesnt start! :(((
[edited by: coopster at 2:22 pm (utc) on May 24, 2010]
[edit reason] no personal urls please [/edit]