是否可以在“详细信息"选项卡中添加自定义字段 [英] Can it possible to add the custom fields under Details tab liferay

查看:110
本文介绍了是否可以在“详细信息"选项卡中添加自定义字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

参考以下链接, https://www.liferay.com/community/wiki/-/wiki/Main/Custom+Fields+and+JSP+Hooks 我能够添加自定义字段.但是默认情况下,新添加的自定义字段显示在自定义字段"选项卡下.但是我需要在详细信息"选项卡下显示我的自定义字段.我怎样才能做到这一点.有什么建议!

With reference to the following link, https://www.liferay.com/community/wiki/-/wiki/Main/Custom+Fields+and+JSP+Hooks I am able to add the custom fields. But by default the newly added custom fields are showing under the "Custom Fields" tab. But I need to display my custom fields under the "Details" tab. How can I do that. Any suggestions please!!

推荐答案

您将不得不挂钩正在使用的Portlet的JSP.例如,如果您正在处理Journal文章portlet,则必须将JSP挂接到TOMCAT/.../html/portlet/journal/article/... jsp中,然后根据需要在这些JSP中进行更改. 希望对您有帮助

You would have to hook the JSP of the portlet that you are working on. For example if you are working on Journal article portlet, than you will have to hook the JSPs in TOMCAT/.../html/portlet/journal/article/...jsp and make the changes in these JSPs as per your need. Hope it help

这篇关于是否可以在“详细信息"选项卡中添加自定义字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆