Alpha1
Active Member
AMS Premium
CAS Premium
EMS Early Adopter
IMS Premium
LD Premium
RMS Premium
SC Premium
UBS Premium
Right now in the item fields you can add the {$value} {$valueUrl} {$choice} {$fieldId} {$itemId} to the Value Display HTML, could an {$itemName} be added, so that a itemsName can be placed into the value display html content.
So for eg if the Showcase item Tesla is viewed the value display html for that item would be:
And the output would be:
So for eg if the Showcase item Tesla is viewed the value display html for that item would be:
Code:
<script type="text/javascript" src="//www.google.com/trends/embed.js?hl=en&q={$itemName}&tz&content=1&cid=TIMESERIES_GRAPH_0&export=5&w=500&h=330"></script>
<script type="text/javascript" src="//www.google.com/trends/embed.js?hl=en&q={$itemName}&tz&content=1&cid=GEO_MAP_0_0&export=5&w=500&h=530"></script>
And the output would be:
Code:
<script type="text/javascript" src="//www.google.com/trends/embed.js?hl=en&q=Tesla&tz&content=1&cid=TIMESERIES_GRAPH_0&export=5&w=500&h=330"></script>
<script type="text/javascript" src="//www.google.com/trends/embed.js?hl=en&q=Tesla&tz&content=1&cid=GEO_MAP_0_0&export=5&w=500&h=530"></script>
Upvote
0