I have added one custom attribute in SimpleCMSComponent which I am able to see in backoffice but not in CMS cockpit.
Is there any file do I need to update to show this field in CMSCockpit ?
to be more precise I am trying to show this field in BannerComponent's Admin or Basic tab.
Thanks
Changes need to be added in EditorArea_BannerComponent.xml and then system update is required by selecting OOTB cockpits and custom cockpit extensions.
Related
How can i change the Type of the Custom field in Acumatica customization project? I created a new custom field of "TextEdit" via acumatica gui. Now i would like to change its type to "ComboBox".
I've changed it but after publish the customization project custom field still is TextEdit.
When you add the control to the UI using the customization, select the control as combo box.
I am working on Hybris and see that Facet Search option under System in Backoffice is not present but when I see in HMC I can see the Facet Search under System. Please see the images attached. Let me know why its not visible in Backoffice and how can I add that option to it. Is it a restriction for admin in backoffice or do i need to configure the widget in backoffice.
Basically admin user usually has no restriction.
So you should be able to see Facet Search folder just right after Personalization.
Please check that you have added all required solr extensions enabled in you localextensions.xml
solrfacetsearch
solrfacetsearchbackoffice
solrserver
And please execute ant updatesystem
I am adding some custom fields to the "user" model of liferay (6.2).
As per my use-case I need to show all the fields to all the users, but enable editing on a few of them, other remains read-only.
I read about the "view" permission and "update" permission but former makes all read-only and later makes all editable.
Do I need to create a hook for this or can there be any other solution?
Read this too:
Customizing liferay hook custom fields
Thanks!
AJ
There is a set of permissions for each custom field which can be tweaked based on roles, which is what I was looking for.
I overlooked and rightly answered/pointed by #OlafKock.
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!!
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
How do I create a custom form only for admin to enter 2 setting values.
Admin should be able to enter number of published sites.
Admin should be able to enter number of paid sites.
The site then uses these values to display on UI. Is there anyway in Orchard CMS to do this?
Sure. In Orchard, settings are a content item of type Site. You can extend them like you extend any content type, by adding parts and fields. Look at any example of module with settings.