I'm new to Sharepoint and I try to create application pages (via visual studio).
I want to see the design of the pages without the administrator header and the left column. I want to see the page only without anything else to summarize.
Of course I tried to log-in with a read only user but i can't figure out how to remove those for the non-admin.
Is-it a permission setting? Or is it a template setting? Or something else?
Sorry if the question is stupid.
For the header, I have done this before by putting a control on the page which checks to see if the current user is an admin or not and if they are not an admin, the following CSS is added to the page
div#s4-ribbonrow
{
display: none;
}
Not sure if it is the best solution but I created a custom master page with code-behind to show/hide the unwanted parts depending on the rights.
Maybe some others solutions would be quicker but I had to create a master page for design reasons anyway.
Related
My website runs under Django 1.6 and I'm using the very nice Django admin two box multi-selector widget for some of my site forms. I've just discovered, however, that the two box selector only appears in my forms for users who have staff/admin status. Everyone else sees the not so nice one box selector that requires scrolling and holding down the control key to find select multiple items.
I don't want to give all of these users access to the entire admin site. Is there a way to fix this? I can't seem to find where the check for admin rights is being made. It seems like this widget is pretty popular and I don't see similar questions, so I feel like I'm missing something.
Thanks for your help.
Since I still don't have any clear direction on this, I took the alternative action of adding code to assign is_staff=1 when users are given access to the forms that use the multi-select control and remove those rights when access is removed.
I have a content editor that, when she logs into the Sitecore content editor and clicks an item, nothing happens. The item doesn't load for editing. If she clicks off of the item to another item she's prompted "do you want to save the changes to the item"?
Logging in with another account resolves the issue. Logging in with her account on another PC resolves the issue.
Has anyone ever seen this before? Sitecore is non-functional on this user's PC.
When you say that the item doesn't load for editing, you need to be more specific? Obviously, if she's clicking off the item and getting prompted to save, then the user is able to edit the item. What is it that she can't do?
Also, it depends on what role you have the user set to use, but depending on how you have your site configured, a user can simply click the item, see the fields and enter content in them. There may not be any "edit" queue. Is this not the case? If not, then there's more details that are needed to properly answer your question.
It sounds like a browser / caching issue. I usually try the following.
1. If IE 9 the I try and open a session in private and try again
2. Clear all browser history
3. If that doesn't work try with another browser.
4. If other browser fixes the issue then try to reset the original browser's settings to the defaults.
Last check if you are using a proxy server and try without. This is a long shot.
What version of Sitecore is being used? Older versions using IE9 require compatibility mode to be enabled (this was resolved in later updates of 6.5)
I find the Content Editor most stable in Firefox and IE9 compatibility mode. Chrome has a few finicky issues but generally works.
In the last year we've had a couple of incidents where a user accidentally unpublished the 'Home' item (which is the root item in our site), before publishing it to our 'Live' database, which removed it from the site.
What is the best way to prevent important content from being unpublished from a production Sitecore web site?
Your "easy" security options are to either protect the Home item itself from editing, or to restrict access to publishing options. Using standard Sitecore security, disable write access on Home for a particular user role, or disable read access on the Publishing Restrictions chunk or button in core (/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Publish Restrictions/Change).
If you really don't need anyone besides admins editing the Home item, you can also Protect the item from the Configure ribbon.
If you'd like to just disable publishing restrictions on Home, that could be more complicated. Your best approach would likely be to extend the SetPublishing command. The following is untested:
Extend Sitecore.Shell.Framework.Commands.SetPublishing
Override Execute(CommandContext)
Check context.Items[0] to see if it's your home page (GUID or Template ID check if multi-site). If so, abort. If not, call base.Execute(context). (You could also add a check for Sitecore.Context.User.IsAdministrator if so desired.)
Replace item:setpublishing command in Commands.config.
Reference Sitecore.Shell.Framework.Commands.SetPublishing in your favorite decompiler as needed.
You can also just mark the home item as protected. You can double-check but I believe that prevents any mod/del of an item. In the Configure tab, see Protect Item button
I am in the process of adding Like buttons to all of the product pages on a website. I am using all of the proper open graph tags and an app_id and everything seems to be working fine. I will be using a version of the button that does not give you the Admin or Insights links to choose from. I am wondering if there is an easy way to access those pages without the links?
Even though I am listed as an admin of the App, I am not automatically listed as an admin of each of the product pages as they are created. The only way I have been able to do it is to:
Add the default Like button code to another area of the page.
Click on the admin link then add myself as a page admin.
Delete the extra button on the page.
Access the admin area by going to facebook/pages.
This will be a pain as I add in hundreds of products! Any advice would be appreciated.
I'm facing the same issue. Sadly your way of being admin of a page via an extra button didn't work for me.
I've found this related bug in facebook developers website : http://developers.facebook.com/bugs/160664854023586?browse=search_4e946433c82379f78564182
I'd like all my wordpress posts to be editable by all users, guests included.
does anybody know if this is possible?
I already tried all the "wiki" plugins but without success.
it's absolutely possible. However, there are certain step that require manual programming.
The step is:
create an edit page in non admin area
do the editing there (you can mimic admin's edit page or you just display the body only)
upon saving, you can, either create new user programmatically and assign that user as the editor (this, off course will require another table or another mechanism) or leave the editor as post's previous owner