Hi Team
I need to display the size of custom content types on the details view page in read only format.
I searched in this fourm and tried using:
<field-visibility>
<show id="size"/>
</field-visibility>
It works and shows the size same as what i see in node browser.
But it also shows the size as editable when i go to edit properties. Another thing i wanted to implement, how can i show the size in KB,MB, GB etc formats.
Currntely it shows bytes which is understandable for me but not for general users. Do i need to customize the form?
I am still a learner so pardon for these silly questions.
Appreciate your guidance.