9
votes
Accepted
How do you add a custom context menu to run an SPE script not in the scripts section?
The first step would be to create a custom script in one of your modules.
For example, create a custom SPE module using the wizard followed by whatever library structure you prefer. Check out the ...
3
votes
How to only allow the creation of a child item by given template
"Insert from template" option appear just for the admin user. You can not really remove it really easy and I don't recommend it to remove it.
To have a flexible solution I recommend you to ...
2
votes
Accepted
Hide items from admins
No, that's not possible in Sitecore.
Admins have access rights for all the items.
You cannot disallow read or write access rights for them.
You should not make users administrators if they are not ...
2
votes
"Target" dropdown in Internal Link options not populating in Sitecore 9.3 for Non Admin Users
If it works correctly for your Administrators, then items should already be in the core index.
As the issue you described is only happening for non-admin users, I suspect that the problem is in ...
2
votes
Accepted
Sitecore Solr - Content Editor search returns no results but Experience editor and context search works fine
As you wrote in your comment, Solr query generated for admin and non-admin users are the same.
I don't expect that you have any customizations for build in checks of security in Solr, so that would ...
2
votes
Accepted
Disable Image Upload button in Rich Text Editor
To remove/customize it from the Richtext editor, I would recommend creating a custom rich text editor to customize as per your need and as a best practice to reduce complexity and challenges during a ...
2
votes
Accepted
How to add restriction to a Template Field so that it ll show/hide based on selected language version
For this you need to write some custom code snippet which allows you to hide the field on the basis of your condition.
This is an example of code that you can follow and modify it as per your needs.
...
1
vote
Accepted
Grey out content editor ribbon button
This is the solution that worked for me
Create a Custom Command: Create a new class that inherits from
Sitecore.Shell.Framework.Commands.Command and implement the necessary
logic for your button.
...
1
vote
Grey out content editor ribbon button
To visually "grey out" a ribbon item, you can use custom CSS. You can apply CSS styles to make it appear disabled.
I checked the html element for the ribbon chunk you mentioned in Sitecore 9....
1
vote
Tokens on Child Items
You need to create a custom token to achieve it. Create a custom Token processor inheriting ExpandInitialFieldValueProcessor with the following code. It checks if the value of the field contains the $...
1
vote
Sometimes publishing an item auto-selects all boxes
It is absolutely not possible that Smart/Republish radio button, Subitems and Related items checkboxes and language checkboxes are selected automatically on their own.
All their values are coming from ...
1
vote
Can We Affect Visibility of Review History?
The Sitecore workflow panel works a little bit differently and the workflow panel renders small buttons and added in a flag to decide whether it should be disabled/greyed out. This flag is only ever ...
1
vote
How to add custom data attribute on Sitecore general link fields
You need to extend General Link field in Sitecore that way you can provide the ability to authors so that they can configure custom data attribute values.
follow the steps to add extending general ...
1
vote
Disable Image Upload button in Rich Text Editor
you can create a custom rich text profile by duplicating the default rich text profile at path
/sitecore/system/Settings/Html Editor Profiles/Rich Text Default
and set a desired name.l e.g., Custom ...
1
vote
Accepted
Can you display an indicator for a div in the rich text editor
Another approach is to add a CSS class to the html/body element when in experience editor mode:
<body class="@(Sitecore.Context.PageMode.IsExperienceEditor ? "experience-editor" : ...
1
vote
Can you display an indicator for a div in the rich text editor
This is a good idea for helping content authors be more aware of what they are copying / pasting / changing in rich text fields.
Look for this setting and override it with your desired values. The RTE ...
1
vote
Accepted
Checklist field not decoding option labels while other field types do
Checklist field does the whole rendering in backend code.
You can find it in Sitecore.Shell.Applications.ContentEditor.Checklist class in the Sitecore.Kernel assembly.
RenderOptions method goes ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
content-editor × 325sitecore-client × 27
experience-editor × 24
fieldtype × 21
content-search × 15
media-library × 15
templates × 15
publishing × 14
content-management × 14
multilingual × 13
security × 10
workflow × 10
validation × 10
speak × 10
presentation × 9
richtext-editor × 9
ribbon × 9
buckets × 8
powershell-extensions × 7
sheer-ui × 6
solr × 5
versions × 5
editor-user-permissions × 5
wffm × 4
configuration × 4