What I need is to get the path from this file
Code: Select all
{$entry->file_location}/{$fields.Audio1->displayvalue}{$entry->fields.Audio1->displayvalue}
Code: Select all
/uploads/js/id3.js
I've wrapped plain php and javascript in {literal} but nothing is working out.
I have also tried to use the smarty {capture} and {assign} but still it is not working.
Now I'm totally out of options...can anyone more experienced in cmsms help me out?
for more clarification: the file is an .mp3 and I need to assign it's path to the .js variable for reading the ID3 tags bound to the file.