sitecore

Experience Editor issue while adding any component

主宰稳场 提交于 2019-12-11 16:25:55
问题 On one environment noticing this error when I try to attach a component in Experience Editor. Any ideas? Using Sitecore 8. 2288 16:33:39 ERROR Application error. Exception: System.Web.HttpParseException Message: Could not load type 'Sitecore.Support.Shell.Applications.WebEdit.Palette'. Source: System.Web at System.Web.UI.TemplateParser.ParseString(String text, VirtualPath virtualPath, Encoding fileEncoding) at System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath

sitecore: multi-lingual site

扶醉桌前 提交于 2019-12-11 14:56:23
问题 I'm working on a site that will support several languages. I create a template and a content item. Then I fill in the fields for language-specific versions of a content item. Thats OK. I want to translate labels that go through the whole application. Let it be "More" label. I thought it is something about Dictionary and usage of Sitecore.Globalization.Translate.Text("More") but it doesn't work for pages with non-default language(provided I created a language-specific version of a dictionary

Sitecore doesn't show changes on page unless recycle AppPool

橙三吉。 提交于 2019-12-11 14:03:37
问题 Sitecore Version: Sitecore 7.2 I have an control that queries web index to get item, but when new items are added or old items are edited, the changes won't show on page. I tried: Disable htmlcache in web.config Republish items and go to web database to make sure they are in web Rebuild web index and use the same query (from search.log) in Luke to check the query result Clear cache using /sitecore/admin/cache.aspx tool Recycle AppPool in IIS (only this worked) The items are in web database

sitecore web form for marketers form post to external url

一笑奈何 提交于 2019-12-11 13:55:11
问题 We are using Sitecore's Web form for Marketer's module to generate forms. Now i have a special requirement, i need to created a form using Web Form for Marketer's module which will post to an extrenal site web page. External site web page is expecting certain form fields so i need to make sure that form fields generated by Web Form for Marketer has id/name as we want to send it to page on external site. Is this possible using web form for marketers? If not what would be best practice to have

Sitecore Include Files sort order broken

老子叫甜甜 提交于 2019-12-11 13:53:52
问题 Suddenly, Lucene indexes at my Sitecore website got broken and after some investigation, I've noticed that Sitecore include files are "patching" web.config in non-alphabetical order. John West mentioned in one of hist blog posts: Sitecore processes Web.config include files in alphabetical order (technically, the order returned by the Directory.GetFiles() method). However, MSDN says: The order of the returned file names (from GetFiles()) is not guaranteed; use the Sort() method if a specific

Scheduled task fails - Unspecified Error

好久不见. 提交于 2019-12-11 13:34:31
问题 I have a c# console app that uploads data to a Sitecore/UCommerce implementation. It is based on the UCommerce UConnector. When I run this from the command line it executes without a problem all data is uploaded and downloaded correctly without error. When I try to schedule this task it exits with a 0xffffff error. The task specifies a command line parameter that sets the app to read all configurable options from the App.Config I have search this error and found many suggestions which I have

sitecore making a login page

谁说胖子不能爱 提交于 2019-12-11 13:27:49
问题 I want to make a loginpage for my website, but im confused in what to use and where to put the functions that would validate the authentication, and keep how can it keep track of sessions. Should I do it in the controller, and use xlst? 回答1: If you are just interested in creating a registration page/ login page, I would recommend reading this article. The following code snippet comes from that article, which shows you the Login usercontrol: public partial class Login : System.Web.UI

Where could I store custom field attributes for a field in Sitecore?

断了今生、忘了曾经 提交于 2019-12-11 13:11:36
问题 I would like to be able to find a place to store custom attributes for a field in Sitecore. For example let's say that I have a data template called ProductData. And it has three fields: Title (Single line text) StrengthInPPM (number) AbsoluteStrength (number) The two numeric fields also have a unit of measure associated with them. The first one is ppm, the second is mg. Eventually this data will need to be displayed on a page. When the data is displayed on a page I would like it to display

Refresh Sitecore after changing icon of Item

丶灬走出姿态 提交于 2019-12-11 13:04:13
问题 I hooked up an extra eventhandler to the Sitecore onItemSaved actions to change the icon of an item in Sitecore. The icon gets changed, but you have to refresh the Sitecore content tree to see that it has changed. Is it possible to programatically make sure the changed icon gets visible to the user instantly in the content tree? I used: item.Field["__icon"].Value = "someicon.pgn" with a Editing.BegintEdit() and a EventDisabler around it. When you change the Icon of an item in Sitecore itself,

Clone sitecore Media Library image folder

♀尐吖头ヾ 提交于 2019-12-11 12:59:31
问题 I have more than 500 images in Sitecore Media Library each image size is more than 1MB. Currently we are displaying these images as thumbnails in webpage but it takes more time to load. So I planned reduce the size to less than 50KB for thumbnails and which click the image it shows the original size image. So how can I programmatically clone all the 500 images and compress the size in Sitecore? 回答1: Sitecore has builded solution for resize image due to the size of image will be smaller. You