cchiacchierini
Member
I need to be able to output only the "label" of a link element to a custom list. I do not need the "link." In the following example, I only need to output the text: The Hard Cider Buzz.
{"label":"The Hard Cider Buzz","link":"http:\/\/www.foodandwine.com\/articles\/the-hard-cider-buzz"}
I do not want this output to be hyperlinked. Rather, I need the output to appear as basic text. (The reason for this is that I have the list published in a module where the entire module is linked to a particular page. I do not want the items in the list to contain their own links as well..)
After searching the forum, I think I need to use json_decode in the calc element, but I could not find an example close enough to what I am after to use as a starting point.
The list and field: press___headline.
Any ideas would be appreciated. Thanks.
J 2.5.14
Fabrik 3.0.8
ciderweekny.com (press dropdown on home page has the hyperlinked link I am trying to replace with regular text).
{"label":"The Hard Cider Buzz","link":"http:\/\/www.foodandwine.com\/articles\/the-hard-cider-buzz"}
I do not want this output to be hyperlinked. Rather, I need the output to appear as basic text. (The reason for this is that I have the list published in a module where the entire module is linked to a particular page. I do not want the items in the list to contain their own links as well..)
After searching the forum, I think I need to use json_decode in the calc element, but I could not find an example close enough to what I am after to use as a starting point.
The list and field: press___headline.
Any ideas would be appreciated. Thanks.
J 2.5.14
Fabrik 3.0.8
ciderweekny.com (press dropdown on home page has the hyperlinked link I am trying to replace with regular text).