sitecore

Log4Net - Can I have a custom section name in Config

孤者浪人 提交于 2020-01-13 08:50:12
问题 I have a need to use section name other than log4net in the config section. I know this is what we generally use <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> But I need to have a section like this <section name="log2net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" /> I am working on a sitecore website and it has its own Sitecore.Logging dll which is also derived from log4net. So the Sitecore Logging dll is referring to

Sitecore set/change default language from 'en'

家住魔仙堡 提交于 2020-01-13 06:18:11
问题 Can anyone recommend the best way to change the default language in Sitecore 6.1. On a fresh install, the typical language for all items is 'en' English, witha nice little USA flag and all. However, we are setting up a system which is targeting en-AU and en-NZ. When I rename the main 'en' language item in any database, every other item is left without a version in the "correct" language. I recall in the past that renaming this item causes an update across the whole system, but that didn't

How to use sitecore query in datasource location? (dynamic datasource)

久未见 提交于 2020-01-13 02:25:21
问题 Is it possible to set the datasource location (not the datasource) to be a sitecore query? What I'm trying to do is to have the sublayout set its datasource location to a folder under the item containing it (current item). The sublayout datasource location should point to a folder under the current item. So I tried setting the datasource location to query:./Items/* but that did not work. 回答1: You don't need the query -- the sublayout datasource location can simply use a relative path. e.g. .

sending data from one sublayout to another in sitecore

泄露秘密 提交于 2020-01-12 08:28:13
问题 I'm having a hard time building a filtering system in Sitecore 7. I have 2 sublayouts, on the same level of the page. Sublayout A is a sidebar that contains a list of checkboxes and has an event that populates a List with the selected values. Sublayout B displays a set of items. What I would like to do, is send the populated List from sublayout A to sublayout B in order to filter the items list based on what the user selected. I was able to do this by passing the data through Session, but

Strange Timeout in Sitecore 7

荒凉一梦 提交于 2020-01-12 07:59:26
问题 I've been using Sitecore version 7.1 for a few months now and have noticed that the Sitecore client logs me out after being idle for around 20 mins. Also other users have reported these issues whilst content editing. I'm using Windows 7, IIS 7, .NET framework 4.5. I've checked the error log for anything and can see no obvious errors and the keepalive service is running - I get this information in the logs: ManagedPoolThread #14 12:47:24 INFO Scheduling.UrlAgent started. Url:http://testsite

How to get the Sitecore.Current.Site object inside custom save action WFFM?

痞子三分冷 提交于 2020-01-11 11:08:10
问题 I'm using Sitecore Webforms For Marketers . In the save action of my form I get the Sitecore.Context.Site object, but the object doesn't return the right context. The value is "modules_shell". Does anyone know how I can get the right context? Thanks a lot. 回答1: Without knowing the specifics of your setup I would suggest determining the correct site in the same way that Sitecore's site resolver does: var url = System.Web.HttpContext.Current.Request.Url; var siteContext = Sitecore.Sites

Where are stylesheets typically stored in Sitecore 6.2

你说的曾经没有我的故事 提交于 2020-01-07 04:39:29
问题 I'm taking over the day to day maintenance of a sitecore 6.2 installation for a corporate website. The vendor that originally designed and constructed it are no longer available to contact for information. Also, no documentation has been written on how it was designed or constructed. My asp.net skills are good and I do have some understanding and exposure to Sitecore and will be attending training soon but in the meantime can anyone give me some ideas as to where a vendor would put the

How to clear cache on Sitecore 7.5 delivery server?

牧云@^-^@ 提交于 2020-01-07 03:48:13
问题 I have 2 CD servers using Sitecore 7.5 that have the actual Sitecore interfaces turned off. Is there any way for me to clear the caches on the 2 CD servers? I know that there is probably a way I could write code to do it, but I would be surprised that there is no way to do it out of the box. Thanks, Corey 回答1: As @Marek mentioned, you have to have your html cache clearing specified for your site in the web.config. Since you're trying to clear the cache on the CD servers, you have to have this

Sitecore 8 experience editor and jquery

橙三吉。 提交于 2020-01-07 03:07:23
问题 Following javascript is not working in page editor mode: Page.ClientScript.RegisterStartupScript(this.GetType(),"script","<script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js\"></script><script src=\"http://code.highcharts.com/highcharts.js\"></script>"); I changed it to: Page.ClientScript.RegisterStartupScript(this.GetType(),"script","<script src=\"//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js\"></script><script src=\"http://code.highcharts.com/highcharts

Sitecore 8.1: Purpose of Submit Queue and MediaIndexing folders under $(dataFolder)

馋奶兔 提交于 2020-01-06 21:13:53
问题 Could someone please help me understand purspose of following folders under data sitecore folder: Submit Queue a. What's the purpose of this folder? b. Does it get used only if we use Sitecore xDB Cloud or also for our standalone xDB? MediaIndexing a. What's the purpose? b. Where can I find the folder path configuration details? I looked at sitecore.config and didn't find it. c. When doese it get created, as I understand the temp media files are sstored on mediacache folder and indexes should