Forums de discussion
Documents and Media Display 6.1
Pathman nava, modifié il y a 9 années.
Documents and Media Display 6.1
New Member Publications: 20 Date d'inscription: 09/07/14 Publications récentes
Hi,
I have installed Liferay 6.1 in my personal site.
But i need Documents and Media Display view same as Liferay 6.0.6 not like 6.1 format ,Because when i click Liferay 6.1 documents at Documents and Media Display it is drive to another details page, i need to download documents when i click documents (same as 6.0.6.)
How to change 6.1 Documents and Media Display view like 6.0.6 .
please help me
Thank you.
I have installed Liferay 6.1 in my personal site.
But i need Documents and Media Display view same as Liferay 6.0.6 not like 6.1 format ,Because when i click Liferay 6.1 documents at Documents and Media Display it is drive to another details page, i need to download documents when i click documents (same as 6.0.6.)
How to change 6.1 Documents and Media Display view like 6.0.6 .
please help me
Thank you.
Jitendra Rajput, modifié il y a 9 années.
RE: Documents and Media Display 6.1
Liferay Master Publications: 875 Date d'inscription: 07/01/11 Publications récentes
You can create a hook and change look and feel as per your requirement.
Pathman nava, modifié il y a 9 années.
RE: Documents and Media Display 6.1
New Member Publications: 20 Date d'inscription: 09/07/14 Publications récentes
Thanks for your reply Jitendra Rajput
Can you give me details like hooks name and which codes i need to edit
It will helpful to me.
Thanks
Can you give me details like hooks name and which codes i need to edit
It will helpful to me.
Thanks
Pathman nava, modifié il y a 9 années.
RE: Documents and Media Display 6.1
New Member Publications: 20 Date d'inscription: 09/07/14 Publications récentes
I need Documents and Media Display view same as Liferay 6.0.6 not like 6.1 format
So i modified view_file_entries.jspf hook and apply to Liferay 6.1
//rowHREF = tempRowURL.toString(); - Original code
rowHREF = DLUtil.getPreviewURL(fileEntry , fileEntry.getLatestFileVersion(), themeDisplay, StringPool.BLANK);
It is working
So i modified view_file_entries.jspf hook and apply to Liferay 6.1
//rowHREF = tempRowURL.toString(); - Original code
rowHREF = DLUtil.getPreviewURL(fileEntry , fileEntry.getLatestFileVersion(), themeDisplay, StringPool.BLANK);
It is working