I am new to this Liferay.I drag and drop the Calendar Portlet from Collabaration.Is there any way to customize the Calendar Portlet.I want to show only the Calendar and the events added by admin.
That is possible to change the permission for each calendar. So you can configure who has access to manage events:
Related
I have a sharepoint site with multiple Lists. I created and saved calendar views based on these lists, and the individual views are working fine.
Afterwards I go to the Calendar page -> Calendars Overlay -> New Calendar. Type of Calendar: SharePoint. My site URL is pre-populated, I click Resolve, and the only list that shows up is the pre-made "Tasks" list.
I would like to add these Calendar views to a Calendar Overlay to display on the SharePoint site. Thank you.
Click the Resolve button to populate the List drop-down with available Calendars from this site and select the desired calendar.
Alternatively, you can overlay another SharePoint calendar as long as both SharePoint calendars are in the same site collection. In all, you can add up to four SharePoint calendars.
For more details, please refer to the link: https://www.sharepointdiary.com/2019/01/create-calendar-overlay-in-sharepoint-online.html
If you are using modern experience calendar views in custom list in SharePoint online, it is not possible to add these modern calendar views in calendar overlays.
You will need to create lists with classic experience "Calendar" list template to add calendars in calendar overlays.
Related Read: Create a modern Calendar view in SharePoint Online/Microsoft Lists
In sharepoint 2007 user alerts page, can we disable the dropdown box of user selection?
We want to show the alerts only of current logged in users.
Disabling the alert is not the only solution. You will have to create a custom solution with the following
Custom solution to update a Temp List or file whenever someone logs in or logs out
Anothe Application Page to read from the above list and display their alerts.
I need to customize as to which portlet appear in the "Add more portlet menu" as shown in the image below:
I need to restrict the number of portlets displayed in this menu based on the logged-in user or site (community). So that Site-owner or Site-admin will be able to add only those portlets to their pages which the omni-admin decides for them.
Does Liferay provide any such functionality (through configuration or something) or do I have to create a new portlet and a hook to achieve this?
Environment: Liferay 6.1 CE GA2
Any idea would be very much appreciated.
Thank You
The following is an answer given to the same question in the Liferay forum:
You can limit what portlets can be added to the page from the Administration side and don't have to do any development.
You will need to create a role however and add everyone on it. Here are the steps for achieving this:
Have the user be part of the organization or site that you want them to add portlets to.
Go to Control Panel -> Rolesand make a Regular Role (not an Organization or Site role)
In Define Permissions drop-down menu go to Portal -> Site -> Page -> and check Update as a defined permission.
Go to Define-permissions drop-down menu again and go to Site Application -> (choose Portlet Name that you want your user add to the page) -> Add to page.
Repeat Step-4, if necessary if there are other portlets you want the users to add.
Add this role to your user: Go to Control Panel -> User and Organizations. Click on your User and go to Roles.
Finally you need to go to Server Administration and execute the Clean Up Permissions to clear permissions for the Guest and Power Users roles.
This should now make it so that whatever user is attached to this role they will see an "Add" button on the left hand corner and will only be able to add portlets you specify in the role permissions.
You need to grant the ADD_TO_PAGE permission for the portlets that you want to allow. By default, Community Administrators have quite broad permissions for all portlets. Check the "Community Administrator" Role in "Define Permissions" (Control Panel/Roles/Community Administrator/Action/Define Permissions).
I suggest to see what a community administrator is allowed to do and create a custom role, define its permissions and make your "limited" admins member of this role instead of the default Community Administrator.
there is beter way .
all portlets permissions is checked in its permission table.
go to portlet manager and first un check all for "user"
so its not shown "Add more portlet menu"
I am developing a sharepoint 2010 visual webpart that will show some sort of ajax content.
I have a property on the webpart for the refresh rate, but I want this property to be set only by an Administrator (or any specific group).
What is the best way to achieve this?
Thank you.
In our organization, everyone by default is granted "Read" permission to our SharePoint sites through an "All Employees" Active Directory group. This allows users to browse the pages, but not edit them; and if you can't edit a page, you can't edit any web parts on the page.
Those who should have elevated privileges are added to other AD groups (you could use SharePoint groups too), and those groups are granted appropriate permissions.
You could create a custom Toolpart. Take a look at this example for a tutorial on how to create one.
Overall, your general steps will be:
Create your custom Toolpart class inheriting from Microsoft.SharePoint.WebPartPages.ToolPart
In your custom Toolpart, override CreateChildControls, write the code to display your textbox as long as the current user has permission (based on whatever rules you choose, ex: SharePoint group).
In your webpart, override GetToolParts and add your custom ToolPart so that it shows up in the right hand side
How can I display a calendar in SharePoint that behaves like my Outlook calendar? I know I can link the calendar to outlook, but anyone can make changes to my calendar in Sharepoint. How can the Sharepoint calendar enforce security on the calendar so that nobody can override my changes?
In SharePoint 2007, there is an option to configure item-level permissions if you go to your List Settings -> Advanced Settings page.
In the Item-Level Permissions section, under Edit access: Specify which items users can edit, select "Only their own".
That should take care of it for you.