• 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.

Output Item ID in Item field's Value Display HTML

C.Birch

Member
AMS Premium
SC Premium
UBS Premium
Hi @Bob

Right now in the item fields you can add the {$value} {$valueUrl} {$choice} {$fieldId} to the Value Display HTML, could an {$itemID} be added, so that a items id number can be placed into the value display html content.

So for eg if the Showcase item 123 is viewed the value display html for that item would be
HTML:
<br><br><img src="http://www.yourpshome.net/img/ratingtitle.png" alt="Rating" />
<div class="ItemContainer">
<div class="Item">
<div class="boxModelFixer"><b>Style</b><br>How do you rate the style and design of this space?
<div id="rate_{$itemID}" align="center"></div>
</div>
</div>

would be output as

HTML:
<br><br><img src="http://www.yourpshome.net/img/ratingtitle.png" alt="Rating" />
<div class="ItemContainer">
<div class="Item">
<div class="boxModelFixer"><b>Style</b><br>How do you rate the style and design of this space?
<div id="rate_123" align="center"></div>
</div>
</div>
 
Last edited:
Upvote 0
I know {$item.item_id} can put outputted direct into a template via editing the template, so exposing that in the value display html would be handy.
 
Back
Top