Closed (fixed)
Project:
Drupal for Facebook
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2010 at 06:24 UTC
Updated:
29 Feb 2012 at 19:20 UTC
I have a series of mp3 files that I would like to would like to output to facebook using views.
I have created a view block which I can display on my canvas. I can manually type
<fb:mp3 src="<i>file src</i>"></fb:mp3>
onto the canvas and this works, but when I try to output the url with views and wrap the fbml tag around using the views 'change html output', I get nothing at all. It seems to filter out the fbml.
Any suggestions?
Comments
Comment #1
mbiddlecombe commentedsorry thought the < i > tags would produce italic above rather than be visible*
Comment #2
Dave Cohen commentedIt is probably an input filter. By default they usually strip fbml tags.
Comment #3
tommy kaneko commentedI had the issue with Views stripping out FBML. The workaround I used was to add the field displays the link to the file, then "exclude from display". Then create another field "Global: PHP", and put the FBML into the Output code. You can use the values from other fields within the output code.
So, your "Output Code" would probably look something like this:
<fb:mp3 src=""<?php print $row->src; ?>"></fb:mp3>You would replace
$row->srcwith the variable holding the link to the file.Comment #4
Dave Cohen commentedThis is an old issue and sounds fixed to me. Thanks for sharing that tip.