1. REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Output Item Name in Item field's Value Display HTML

Discussion in 'Showcase Closed Suggestions' started by alfa1, Jun 21, 2015.

  1. alfa1

    alfa1 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:
    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>
     
  2. Bob

    Bob Developer Staff Member

    {$itemName} and {$CategoryId} have been added. Don't ask for any more of these. Those are the only ones I will add to core.
     
    alfa1 likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.