sitecore6

Sitecore has no necessary permissions for reading/creating counters

我怕爱的太早我们不能终老 提交于 2019-12-03 05:41:17
In the Sitecore (6.6 v130404) log file there are so many "Sitecore has no necessary permissions for reading/creating counters." records being created. I have disabled the performance counters in the server. <!-- ENABLE COUNTERS Indicates if performance counters are enabled. Default value: true --> <setting name="Counters.Enabled" value="false"/> Log extract: (For every 6seconds this keeps updating the log) Heartbeat 19:07:33 WARN Sitecore has no necessary permissions for reading/creating counters. Heartbeat 19:07:39 WARN Sitecore has no necessary permissions for reading/creating counters.

Create link to Sitecore Item

旧巷老猫 提交于 2019-12-03 04:39:36
I know I have done this before but I can't seem to remember where or how. I want to create a link to an Item in Sitecore. This code: Sitecore.Data.Items.Item itm = Sitecore.Context.Database.GetItem(someID); return itm.Paths.Path.ToString(); Produces the following string: http://localhost/sitecore/content/Home/Item1/Item11/thisItem I would like to have this string instead: http://localhost/Item1/Item11/thisItem.aspx What is the correct way to get the path to the item? In this case I can't use a normal Sitecore link: Sitecore.Web.UI.WebControls.Link Mark Cassidy You're needing this one, assuming

What is the difference between Sitecore's core, master, and web databases?

↘锁芯ラ 提交于 2019-12-03 04:38:04
What is the difference between Sitecore's core, master, and web databases? I recommend you look at the Launch Sitecore site to understand more about the CMS. From the page on Sitecore Architecture : Master The Master database is the authoring database - it contains all versions of any content or assets. Core The Core database is all Sitecore settings, as well as the tables containing the .Net membership provider (i.e. users/roles contained in the Sitecore repository) Web The Web database is only the latest published version, and the content that is driving the live web site. Therefore it is a

How to sort the selected items in a Sitecore Treelist?

拜拜、爱过 提交于 2019-12-02 07:36:19
问题 Is there a way to always have the selected items in a Sitecore Treelist sorted alphabetically? 回答1: No, but you could look in to creating your own 'sorted treelist'. Someone asked a different question earlier today but it has basically the same answer: Sitecore Tree list datasource - VersionExist Sitecore lets you create custom field types. They can be based on existing ones, but with some added tweaks. As mentioned in the answers to the other question, here are 2 articles which are good

What inbuilt parameters can I access in Sitecore XSLT? How should I expose global settings I need?

情到浓时终转凉″ 提交于 2019-12-02 06:39:25
Is there a list of inbuilt parameters available to Sitecore XSLTs? I've looked around but haven't seen anything that looks like a full list, at least not in comparison to the sort of data a .NET component can access directly. Using XSLT out of the box in Sitecore seems a little limited in respect to the data it can easily access in comparison to .NET presentation components. I'm specifically interested in being able to access various pieces of information relating to running multiple sites and languages on a single instance installation - the home node, host name, site name etc. In .NET most

Getting Sitecore 404 for physical files

别说谁变了你拦得住时间么 提交于 2019-12-02 05:28:10
问题 The media library URL (/sitecore/shell/Applications/Media/MediaShop/default.aspx) is being picked up by the SiteCore handler and redirected to the page-not-found page Sitecore uses (/sitecore/service/notfound.aspx). The file is a physical file and is actually there. I've seen things like this happen with items in the Sitecore content tree, but not with physical files. Any ideas where to look would be appreciated. Thanks. Update: So, the issue as described above is fixed, but it's clear that

How do I email the original submitter using Workflow in Sitecore?

你离开我真会死。 提交于 2019-12-01 20:08:19
When an item is rejected by a reviewer in the workflow process, how do I inform the submitter? This seems like a very common situation, but I just see the most basic fields in the "Email Action" item: To, From, Subject, Message Is there a system variable for the user and then something for the user's email address? I'd expect it to be something like: $user.email. marto Get the Mail Workflow Action from the shared source workflow actions. Then you need to extend Populate context a little bit to make access to the last users easier. Here is my implementation on one of our recent projects:

tracking NullReferenceExceptions in sitecore

谁说胖子不能爱 提交于 2019-12-01 16:43:19
问题 i'm trying to track a NullReferenceException that shows up on sitecore 6.5 at loading any webpage: [NullReferenceException: Object reference not set to an instance of an object.] Sitecore.Diagnostics.Log.Error(String message, Exception exception, Type ownerType) +133 Sitecore.Diagnostics.Log.Error(String message, Type ownerType) +45 Sitecore.Configuration.Factory.LoadAutoIncludeFiles(ConfigPatcher patcher, String folder) +680 Sitecore.Configuration.Factory.LoadAutoIncludeFiles(XmlNode element

In Sitecore, when adding a field to a template, there's a checkbox called “shared”. What's it for?

早过忘川 提交于 2019-12-01 15:51:09
This seems like a stupid question, but the closest answer I could find in the sitecore docs I have (online and offline), is that shared fields are "shared across languages". I took that to mean a shared field's content would be the same across all translations of that item in sitecore. Is that correct? Yes, that's correct - the same across versions and languages of an item. Here the quote about Shared from SDN (though for 5.3, still valid for 6.x): When this checkbox is set, the Field in question will have the same value for all versions of the parent Item. When the Shared property is set,

Sitecore Language Embedding multiple sites

匆匆过客 提交于 2019-12-01 08:00:41
I'm looking to run two sites off one Sitecore install. The first site will only be in UK English therefore I won't include the language in the file path. languageEmbedding=never The second site will be in multiple languages and I need to include the language in the file path. languageEmbedding=always Is there a way I can define multiple link managers and configure the sites to use a specific link manager? I've found the best way was to create a custom link manager that supports both scenarios. Then have a supporting config setting which defines whether the language is embedded. public class