Simple edit layout metadata description keyword


(TT) #1

Hello,

We currently have this basic simple edit interface for most of our content container templates which is this:

<!-- Template Edit Layout Start: -->
<div id="tmp_id-%asset_assetid%" data-id="%asset_assetid%">
    <div class="tmp_metadata-wrapper">
        %__custom-contents%
        %metadata-F_metadata_values%
    </div>
</div>
<!-- Template Edit Layout End: -->

Is there anyway to pull out the description of each metadata field with a keyword? We have simple instructions in there that would be useful to have next to the input fields but I can’t get any keyword to work unless I manually code in each metadata field which would mean having a different simple edit template for each container template (using the %asset_data_metadata%)

Cheers

Tim

Matrix Version:5.5.6.3


#2

The workaround for this was to use asset_data on the metadata fields:

%globals_asset_data:12345^index:attributes^index:description^index:value%

Edit: nevermind I see now this doesn’t solve your problem. I am not aware of any other solution.


(TT) #3

Thanks and yeah it looks like I will just create new simple edit layouts if the templates require the description for each template.