Textpattern CMS support forum
<txp:jnm_audio /> inserts an mp3 audio player (flash) in your pages and articles.
- Eliminated some warnings in debug mode.
- The plugin now generates valid xhtml code.
- Added “special” value ‘.’ (evaluate body)
- Initial release
Last edited by juanjonavarro (2014-03-25 19:15:51)
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
A very nice plugin. Thanks.
Last edited by lee (2006-04-29 14:25:37)
It appears that you cannot use textpattern tags within this tag… ie…
[txp:jnm_audio fileid=”[txp:file_download_id /]”/]
Is it possible to change it so the variables can be txp tags? Is there any other way round? . . . Begining to panic!! ;)
Last edited by shearstock (2006-04-29 12:02:45)
I think you can write it like this instead. Correct me if I’m wrong.
< txp:php >
< /txp:php >
Hmmm, thanks csandberg. This replacement isn’t working correctly, it doesn’t seem to output any code. Sorry, I am really not a PHP coder (yet)! Any idea what could be wrong?
You need to specify a file_download_id number, I suppose. To do so you have to call the parameters, using file_download(array(‘id’=>‘XX’)), or something similar, inside the jnm_audio php call.
file_download_id isn’t the correct tag, because it should be used inside a form in a context of file download.
I don’t know if I catch the problem, only guessing…