-
Type:
Bug
-
Status: Closed
-
Resolution: Inactive
-
Affects Version/s: 6.1.1 CE GA2
-
Fix Version/s: 6.1.1 CE GA2
-
Component/s: Portal Configuration
-
Labels:None
Hi All,
Currently i am using Liferay 6.1 and i am facing issue in getting the file path from Document and media through WebContent/structure.
I have Created a Structure named "Document and media" as field name. I have created the VM template as below in getting the file path from Document and media.
VM:
<html>
<head>
<body>
<img src="$file.data">
</body>
</head>
</html>
But when we select the path from Document and Media, it shows the link as below.
/portal/portal/documents/1044044/1044057/marketing_image_connect2.jpg/a2ee40c3-55be-4661-b58e-6490aa73691f?t=1400590602524
But it should be as below
/ec_developer_workarea/myfolder/marketing_image_connect2.jpg
Could you please help on this to retrieve the value as such. Thanks in advance.