How can you disable blog comments in Orchard CMS? - orchardcms

How can you disable blog comments in Orchard CMS? I can't see how to do this. There's nothing about disabling comments in settings.

You can add control functionality on your site by enabling and disabling features exposed by the modules that are installed to Orchard. To view the available features, click Features under the Modules heading in the Orchard admin panel.
I think you will have one called Orchard.Comments
To disable the feature, simply click Disable for that feature.
Also, you can modify the page content type in Orchard to not allow comments.
Log in as an administrator and then head over to the Admin Dashboard. On the left hand navigation, select the Content item.
Then click on the Content Types tab at the top.
Find the Page Content Type and click the edit link.
Click the Add Parts button.
And then uncheck the Comments part check box.
Click Save on this page and then Save again on the Page content type.
Also, when you create a new Page in your Orchard site you will see the Allow new comments check box so that your users can leave comments on the page/article that you create.

Related

Unable to add New Page in SharePoint online Pages library

I am using the SharePoint Online team site. I need to add new pages in the SharePoint Pages library when I click on the New button Page option is missing in the menu.
Click here to check the current options which I have shown while clicking on the New button.
1.Go to library settings -> Check whether it has Page content type. If it does not have, please add the Page content type.
2.Click Edit new menu -> Check whether you could add the Page content type.

Sharepoint server publishing feature was activated but not show hide ribbon in Site Actions

Sharepoint server publishing feature was activated on one of my SharePoint sites, but it's not showing hide ribbon in Site Actions.
Also when we edit the page, it's appending the parameters “?PageView=Shared&InitialTabId=Ribbon.WebPartPage&VisibilityContext=WSSWebPartPage” to the address bar insted of "?ControlMode=Edit&DisplayMode=Design".
NB : In the navigation setting the "Ribbon" and "Hide Ribbon" commands are already set as "true"
Your issue seems to be similar to that reported here:
https://social.technet.microsoft.com/Forums/ie/en-US/35c7f486-2b20-4129-b461-65b147a4490e/when-editing-the-page-in-sharepoint-we-cannot-edit-the-content-area-and-we-need-to-click-on-save-and?forum=sharepointgeneral
We found your issue and the solution because when our users edited a sharepoint online page they got take to
intranet/pages/somepage.aspx?PageView=Shared&InitialTabId=Ribbon.WebPartPage&VisibilityContext=WSSWebPartPage
Which showed them a view of the page with no ribbon and no ability to edit the content.
On some pages they were shown the ribbon. In thoses cases they still couldn't edit the content until they clicked the "save and keep editing" option from the ribbon save button. When they did this they were taken to
intranet/pages/somepage.aspx?ControlMode=Edit&DisplayMode=Design
After going through the solution outlined on technet (turn publishing off and turn it on again) our users now experience : edit page taking them to full ribbon, and editable content without a URL suffix i.e. they end up at the following when they edit the page
intranet/pages/somepage.aspx
Hope this helps someone

Editing Sharepoint Site Homepage in Sharepoint Developer

I have just edited my publishing site home page in SharePoint Designer. The page originally contains some web parts.
I am a newbie as far as SharePoint branding is concerned. I did the editing in Advance Mode when I realized that I couldn't edit areas outside my Web Part Zones and since I need to do that, I tried it using the advance mode. I edited the page adding some inline CSS styling and even added some additional Web Part Zones. Everything looked good when I previewed so I saved and thought all was okay. But to my surprise, Only my account (System Account) can see the changes I made. Every other user on the domain are still see the original page without any of my recent changes.
I have done the Check-In and Publish circle over and over again but no luck.
Does any one have any idea as to what I might have done wrong here and what I can do to fix the issue.
Follow below steps for publishing:
Select “Publish a major version,”. When
prompted to approve the master page, click Yes. This automatically
invokes a SharePoint master page approval page, where you
will find your new master page listed at the top of the page.
Click the drop-down menu beside the master page. Select
Approve and select the Approved radio button. Click OK. Your
master page is now saved and approved in SharePoint.
Navigate to your top-level site collection, and click Site Actions -> Site Settings
Under Look and Feel, select the Master Pages link. For both the
Site and System Master Page settings, select your new master
page from the drop-down menu.
Once you click OK, your changes should be available to all users

How to make document library in top level visible to subsites

I'd like to ask if you came up with a solution that will allow for subsites to access a centralized document library at the parent level. I'm still trying to no avail. I've tried doc library templates, views, Doc Center and the best method i have OOTB is a page view web part on the subsites page display a view from the parents library. (by the way to remove the ribbon, append ?IsDlg=1 to the url and the ribbons hidden) cool tip. Say will you give be a Y/N on a solution that will allow one to keep a set of documents in the doc center and surface them in the sub-site.
There are another option without such hard coding. You can open any view of your document library, as mentioned earlier AllItems.aspx for example with SharePoint Designer. Open it for editing in advanced mode (there are option when you click right mouse button on file in SP Designer). Then just point mouse cursor inside web part and chose in ribbon web parts, Add to Site gallery, see the picture. Fill in name of new web part. That is all, now you can add this web part on any page on any web site from webpart gallery through the user interface or through the SP Designer by clicking Insert, Web Part in the ribbon on any page.
You can do this by editing the AllItems.aspx (or other view page) and scraping off the WebPartPages:ListViewWebPart and pasting it into a page on the subsite.
This will give you an error "List does not exits The page you selected contains a list that does not exist."
Then you need to get the WebID for the root site (where you took the ListViewWebpart from and replace the part of the webpart that looks like this:
<WebId xmlns="http://schemas.microsoft.com/WebPart/v2/ListView">00000000-0000-0000-0000-000000000000</WebId>
with (for example)
<WebId xmlns="http://schemas.microsoft.com/WebPart/v2/ListView">7b04dee8-b120-4dee-abea-28b77316ec7d</WebId>

Accidentally deleted a webpart, how can I get it back

I have deleted "New comment" webpart on the Blog Post detailed Page on the my SharePoint blog site, I am unable to find it in the webpart list.
How can I get undo / add the webpart back.
If you have clicked the X button in the top-right corner of the web part, it is simply closed. You can get it back as follows:
Click on Actions, Edit Page
Click Add a web part
Click Advanced Web Part Gallery in the top bottom-right corner of the dialog
Click on Closed Web Parts in the tool pane on the right
Drag the closed web part from the tool pane back onto the page
If you have actually used the drop-down menu on the web part and clicked Delete, it really is deleted. If you have check-in/out available to the page you can go back to a previous version to restore it. Otherwise you will need to restore from backup if you have one.
A very usefull way to see all web parts on the page, including closed ones, is the Web Part Maintenance Page, which is accessed by simply adding '?Contents=1' to the page address
I faced the same problem (it was my mistake :(), but I am able to get my “New Comment” webpart back on the page by using SharePoint Designer.
Steps to get “New Comment” webpart back on the page
Create New blog site just to get “New Comment” list form Webpart
Open Newly created blog site in SharePoint designer and address]/ Lists/Posts/Post.aspx page and
Copy the full XSLT code of “New Comment” list form Webpart
Go back to your production blog site and place the copied XSLT just after “comments” list view Webpart on the page
Provide “your comments list GUID” under List Name property of the copied XSLT
Save and close.
That’ it. Your “New comment” Webpart is back on the page
Regards,
Moorthy Annadurai
"If you have actually used the drop-down menu on the web part and clicked Delete, it really is deleted."
Here is a solution that does not require SP Designer and fixes the problem in a couple minutes.
In fact, it is only the Default View associated to the webpart that is deleted. Click on View All Site Content. Then on the defective library link. It will open the listedit.aspx page. Go down to the Views section. Select another view or create a new view and make it the one by default. That's it. You are back in business. Of course, you need to correct the library link in the Quick Launch section.
Regards,
Pierre Audette
In my case it was a "Summary Link Web Part" that was added to a Document Library and the user accidentally "x'd" out off it. I found the "closed" web part by doing the following:
Click on "Site Actions | Edit Page"
Click on "Add a Web Part"
In the "Categories" list box on the left the last folder is "Closed Web Parts". Select the Web Part and re-add it.

Resources