Skip to main content

Timeline for Print Link field in View template

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Nov 3, 2015 at 22:45 history edited Shawn Conn CC BY-SA 3.0
formatting
Apr 30, 2015 at 13:47 answer added srodrig timeline score: 0
Apr 30, 2015 at 0:01 answer added Geoff timeline score: 1
Apr 29, 2015 at 21:53 comment added Geoff if you're using the Link module, you can choose how the link is displayed, including plain text
Apr 29, 2015 at 20:38 history edited srodrig CC BY-SA 3.0
added 136 characters in body
Apr 29, 2015 at 20:35 comment added srodrig The view is displaying fields. I got the raw data from using dsm($fields). The raw data doesn't show the Link url entered by the user, it shows the node id where the Link was entered. Is this suppose to be the case or is something broken? Is there another way to display the plain text entered by the user without any HTML, other than using raw value?
Apr 29, 2015 at 19:48 comment added RoloDMonkey Having said that, what is the view displaying content or fields? If you are displaying fields, then there should be a way to get the raw value in the field-level configuration of the view.
Apr 29, 2015 at 19:46 comment added RoloDMonkey Even before you solve your problem, please understand that outputting raw content that is put in by users is never a good idea. You are setting yourself up for CSRF and XSS security breaches. If you are doing this in a template file, you really need to make sure that the raw content is handled by Drupal's built-in filtering functions.
Apr 29, 2015 at 19:37 history asked srodrig CC BY-SA 3.0