I have a Sharepoint 2007 site that is displaying the old/original title in the Breadcrumb rather then the updated Page title... help!
Under "Site Content and Structure" I went to "[SiteName] > Pages > [Page] > Edit Page Settings..." which took me to "Page Settings". Here I edited "Page Title and Description > Title" to the new title, simple and done. But the site Breadcrumb is still showing the old title!??!
When I go into "Site Content and Structure > [SiteName] > Settings > Site Settings... > Navigation", under "Navigation Editing and Sorting" I get the list of Pages with their old titles (as is being displayed in the Breadcrumb). As they are Pages the "Edit..." button is disabled so I cannot change their titles here.
I cannot believe a bug this stupid made it into a major release! It's pretty obovious the page titles are being cached somewhere at creation and not updated later. It's this cache that the Navigation is using rather then the current page titles. But I have been unable to locate this mythical cache. And it doesn't look like I can access the sitemap.xml at my access level (grr!), can I get to this via the webUI (I've always done it in the source directories, which I cannot see).
So... where in the hell is the Breadcrumb getting the page titles from, and can I change this (preferably non-programaticially as I am but a simple MOSS editor on this project)?
If you are able to access the Site Collection Administration at the top level, you can access the Site collection object cache, the site collection cache profiles, and the site collection output cache. If you go into the settings of these items, you can check a box to "flush" the cache, that should reset it.
Related
I've got a new SharePoint Teams site that I'll be building out as a knowledge repository. We'll be creating articles in the "Site Pages" area, though happy to use a new Wiki Page Library if that makes it easier.
I'm trying to amend the Search Query used in the "All" vertical, so that it shows only results from the Site Pages. To test this, I've created a word document in the documents section and named it "Apples WORD.docx" and a Wiki page called "Apples WIKI". When I search for "Apples", I should only see "Apples WIKI" in my results.
I can't seem to figure out the query required to achieve this.
Thanks in advance.
So I've got this working now.
First I renamed an existing managed property by doing the following.
Go to the Site Settings, then Under the 'Site Collection Administration' go to "Search Schema".
Find an available RefinableStringXX managed property; edit it and give it an Alias. Add a mapping to "ContentTypeID".
Back out to the Site Settings then under 'Web Designer Galleries' click on "Site content types".
Find "Wiki Pages" and click on it to find the Content Type ID (which was 0x010108).
Back out to the Site Settings then under 'Microsoft Search', click on "Configure Search Settings".
Click on Verticals, then double click on the vertical that you want to edit. Click the Edit button at the bottom of the page.
Click on 'Query' and enter the text "ContentTypeID:0x010108*"
Save the vertical.
By editing the "All" vertical, the default 'current site' search from the site's homepage now only shows Wiki Page articles.
Maybe you could try adding the search vertical to the search navigation web part to set up a search page for displaying Site Pages.
Reference:Change settings for the Search Navigation Web Part
Silly really - but I just can't seem to find my way around this just yet....
I installed the Orchard CMS in Azure - worked like a charm, added a few pages, played around, watched the Pluralsight "Orchard Fundamentals" course - seemed to make a lot of sense.
But now I'm stuck - I'm trying to create a public facing site, where some of the pages should be visible to any visitor including anonymous users, and some of course should be visible to only authenticated users.
OK, so I understand those are layers in play - default for everyone, authenticated for authenticated users - great. But how do I limit a given page which is present as Content in my dashboard so that it'll be displayed only on a given layer (e.g. only on the authenticated layer - not the default layer for everyone)
Seems like a simple task - but I just cannot seem to find the way to do it (nor does any of the docs or tutorial videos really help :-( )
Any takers?
Layers are only for widgets. In order to restrict access to a content item such as a page, what you need is content item permissions. That's a separate feature that is not enabled by default.
To enabled the Content Item Permissions module
In the admin panel go to Modules
Start typing permissions into the filter box at the top left hand corner of the tabs.
The Content Item Permissions should be shown in the list, click Enable in the top right hand corner of its box
This will reload the page and you should see a message at the top saying Content Item Permissions was enabled
Enabling this feature with your pages
Orchard CMS uses a concept where you can glue components together however you want them to be composed in order for them to support the features you want. The concept of a page is just a collection of parts like a page title, a url, text, setting a publish date and things like that.
By default simply enabling the module doesn't make any difference. You will need to add the feature to the Page content. To do this you just need to:
In the admin panel go to Content Definition
Find / filter the Page content type and click Edit on the right hand side
Scroll down to Parts and click Add Parts
Search for Content Permissions in the list, tick the checkbox and press Save at the bottom of the page
You will be taken back to the Page content definition screen. At the bottom of the Parts list you will now see a Content Permissions entry. If you want to set up defaults for new pages click the little > arrow to the left of the header and a panel will expand.
If you want to add it to other content types such as blog posts then you can repeat this process and add it to any content type you want to.
Making an individual page password protected
Now that the feature is enabled and attached to your Page content type you can create a new private page by following these steps:
In the admin panel click New > Page in the sidebar
Give the page some basic content
Scroll down close to the end of the page and tick the checkbox labelled Enable Content Item access control
Let's say you want to make it so anon uses cannot see the page. Under the View this item section just tick all of the roles except for Anonymous (the second one in the list)
Publish the page
Open up a new incognito / in-private browser tab (so the site thinks you aren't logged in) and visit the new page you just published.
You will be redirected to an error screen similar to this page:
You will want to enable the Content Item Permissions feature in order to restrict individual content items to certain permissions. With layers you can only make widgets appear in different zones defined in your theme when the layer's rules are met.
To enable the Content Item Permissions feature, go to your admin dashboard and click on "Modules" on the left hand side. On the modules page enter "Content Item Permissions" in the filter text box to help find the feature. Click on the enable button of the feature in the top right corner. The feature will now be enabled.
Now that you have the feature enabled, you need to add the Content Permissions part to one of your content definitions. To do this click on "Content Definition" on the left hand side of the admin dashboard. Find the content type you want to add permissions to (for instance, Page) and click the edit button. Click the Add Parts button. You will see a list of parts you can add to the content type. Check the checkbox next to Content Permissions and click save.
Next, in the admin dashboard go to one of your content items that is of the content type that you just added the content permissions part to. You will see a new checkbox towards the bottom to enable content item access control. Click the checkbox and you will be able to set the different roles for that content item.
Edit: It looks like it took me too long to write my response. rtpHarry's editted answer is very similar but better formatted.
I just created a new Orchard website. I added 5 articles to it and when I was done, I have 6 menu links.
See: http://www.where-to-find-gold.org/. Home and A Quick Look are the same page and same url. This was the first article I added and I just overwrote the content of the existing hello world page. I wanted the link text to be "A Quick Look" instead of "Home", so I clicked Show on main menu:
How do remove the "Home" link?
I had considered deleting the hello world page first and then adding my content, but It seems Orchard is still a bit rough around the edges and didn't want to risk anything that would crash the app like I have been seeing on a regular basis. Like, don't put a dot in table prefix or the site will crash. Don't put "http://" in the url when creating the Tenant site, ditto on the crash. Anyways, any advice would be great!
You can manage your menu through the Navigation link in the Orchard dashboard. Just delete the extra item from the menu there and your menu should look like what you want it to look like.
And of course, if you want to be safe, make a database backup before doing so, even though I don't think that would be necessary.
Make a backup first and then try it. This way, you're safe.
How do you add a content query webpart to a apublishing page layout and configure it to aggregate content from the pages in the page library??Can some one give me some insight on this?? Do I drop a content query webpart in SP designer?? If I do that, how do I configure the query??
Or do I add a content query webpart using ribbon and then export it and make customizations and import and drop that one on the page layout??? Please someone???
SCENARIO: I have to insert a content query webpart to a publishing page layout for Physicians profile site. Based on the page layout, there will be profile pages for each physicians. Now, each physician's' profile page will have his/her primary practice location name, address, phone etc as well as other multiple practice locations. Say Mr Tom's primary location is listed as hospital 'x' on his profile page, now I want to be able to also aggregate the names of all the other lawyers that also work in hospital 'X' as Tom's office members on his bio page using content query webpart on the page layout. How do I add and configure the webpart? I mean it's easy to add a content query webpart in just one page and configure it but I want to add it on a page layout so all the content pages will have its implementation as the pages are created by the authors.
say there are 10 profile pages in the pages library and 5 of them have at least one of their pracice locations as hopital X(they may be working at hospital Y, Z..etc at the same time too), now I want all 5 doctors name aggregated on the Tom's profile pages as his office members!?
Lots of question marks... yes you can add the content query webpart to a layout by using SP designer. This will COPY that webpart to every page that is created using that layout (or has its layout switched to that one). That makes the query to set up tricky because it needs to get the input on WHICH physician from somewhere - check out this article here. Using the PageFieldValue option should do the trick.
To change a CQWP, don't modify the default version. Instead, navigate to your XSL file in the Style Library in SPD and copy the ItemStyle.XSL and rename the copy to something else (such as CUSTOMItemStyle.xsl). Then go to a test page, place a blank CQWP, and click "Export". Open the .webpart file that you exported and modify the properties to link to your CUSTOMItemStyle.xsl.
Save the .webpart file and import it back to the gallery through the browser. Rename the new CQWP (to something like CUSTOM_CQWP.webpart or whatever).
Now you can modify the CUSTOMItemStyle.xsl to use custom XSL. Shape the XSL file how your requirements dictate, then in your test page, change the Web Part properties to use your new custom ItemSTyle. Once your web part look like you want it to, you can export it again and then reimport it back into the gallery and all your settings will be saved.
Now you can go to Designer and add this web part to your page layouts. When the user uses that layout, the web part is already placed on the page and wired up accordingly. Additionally, by usign this method, they can change teh web part properties of the web part or even delete the web part altogether if they don't want it, without affecting your page layout.
http://msdn.microsoft.com/en-us/library/bb447557(v=office.12).aspx
If I am on page
http://mysite.com/first/second/third/Wiki/pages/home.aspx
and click the Navigate Up button I can see the following hierarchy (whis is correct):
Home - first - second - third - Wiki
But if I navigate up one step to
http://mysite.com/first/second/third/SitePages/Home.aspx
and click the Navigate Up button again the first subsite is not showing up.
Home - second - third - Home
I set the navigation settings to be identical on both sites but still the same issue/error.
How can I fix this?
Cheers
A few things you can try....
In your masterpage / page layout, find your SiteMapPath control. This has a property called ParentLevelsDisplayed. If you set it to -1 (the default) it should show all parent sites in the breadcrumb. Also, make sure that the SiteMapProvider is the same for both controls on both pages.
In your /second subsite, check whether or not the global navigation is set to inherit from its parent. This setting will affect how the breadcrumb is displayed, more on this [here].
Third (and this only applies to publishing sites), open the page layout that your Home.aspx page is referencing. Search for PlaceHolderTitleBreadcrumb. Lots of the OOTB layouts override this placeholder and construct their own breadcrumb. There is a great list [here] of all the layouts and their individual breadcrumb settings.
Hopefully this helps!