Fórum

Need to remove "Permission" and "shedule" Link

Abdur rasheed, modificado 7 Anos atrás.

Need to remove "Permission" and "shedule" Link

Junior Member Postagens: 71 Data de Entrada: 26/09/08 Postagens Recentes
Hi,
I want to remove "Permissions" and "Shedule" for normal user , I have attached screenshot.

Thanks
Abdur Rasheed
thumbnail
Pankaj Kathiriya, modificado 7 Anos atrás.

RE: Need to remove or "Permission" and "shedule" Link

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
Below portal property is used to display, update web content form section.
 
    #
    # Input a list of sections that will be included as part of the article form
    # when updating an article.
    #
    journal.article.form.update=content,abstract,categorization,schedule,display-page,related-assets,custom-fields


You have to override this property in portal-ext.properties to remove schedule and permissions values.

Regards,
Ronak Parekh, modificado 7 Anos atrás.

RE: Need to remove or "Permission" and "shedule" Link

Junior Member Postagens: 76 Data de Entrada: 06/04/15 Postagens Recentes
Hi Pankaj,

I want to know that what if we want to display these links to user with administrator role and for normal site member it should hide?


Thanks & Regards,
Ronak Parekh
Abdur rasheed, modificado 7 Anos atrás.

RE: Need to remove or "Permission" and "shedule" Link

Junior Member Postagens: 71 Data de Entrada: 26/09/08 Postagens Recentes
Hi Pankaj,
I want to remove for normal user, admin should see the link.

Thanks
Rasheed
thumbnail
Pankaj Kathiriya, modificado 7 Anos atrás.

RE: Need to remove "Permission" and "shedule" Link

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
Then you have to override portal-web\docroot\html\portlet\journal\edit_article.jsp to hide those sections.

Search out for variable categorySections and have its value based on role as you need.