I have a multilingual Website where i would like to add a Multiple Text String to the upload file in the media section.
So either the nodeName of the upload file is being displayed or the Text String entered.
Having set up the Multiple Text String to a maximum of 2 i would like to display the first value in a raw and the other one in another raw depending on the language set up.
Can someone explain how do i get the first value of the multiple text string ?
@foreach(dynamic files in pressFldr){ if(!String.IsNullOrEmpty(@files.umbracoFile)){ var bytes = Convert.ToInt64(@files.umbracoBytes); var x =((Math.Round(Convert.ToDecimal(@bytes)/1024,1)).ToString() + "KB"); var y = ((Math.Round(Convert.ToDecimal(@bytes)/1048576,1)).ToString() + "MB"); var fileName = @files.fileTitle; if(files.HasValue("fileTitle")){ @fileName }
Multiple TextString with Media Section
Hi Guys,
I have a multilingual Website where i would like to add a Multiple Text String to the upload file in the media section.
So either the nodeName of the upload file is being displayed or the Text String entered.
Having set up the Multiple Text String to a maximum of 2 i would like to display the first value in a raw and the other one in another raw depending on the language set up.
Can someone explain how do i get the first value of the multiple text string ?
This aint working for me
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.