sitecore

Cannot get a Sitecore form to display in a placeholder (Web Forms for Marketers module)

给你一囗甜甜゛ 提交于 2019-12-11 21:46:20
问题 I'm busy writing a sitecore solution to manage a news site. I have a NewsArticleLayout (used to display a NewsArticle item), with a NewsArticleMailPlaceholder which I want to use to display a form where a user can enter a name and email address where a news article link must be mailed to. On the NewsArticleLayout page is already a NewsArticleSublayout with a phNewsArticle placeholder, which is currently correctly displaying data related to a news article. When I try to link the form to this

Limit number of Characters entered for Link Title Field in General Link

一世执手 提交于 2019-12-11 21:27:31
问题 Can we limit number of characters that a content author can enter in the Link Title Field for general link for both Internal and External Link as shown below Thanks in Advance, 回答1: I have yet to find a way to set this per template-field but I managed to add a MaxLength on the input in this file: sitecore\shell\Applications\Dialogs\ExternalLink\ExternalLink.xml <Edit ID="Title" Width="100%" MaxLength="20" /> Edit: new solution to enable per template-field maxlength I dug a bit further and

Add enclosing tag for only UnOrdered list from Rich Text Editor in UL

丶灬走出姿态 提交于 2019-12-11 21:08:08
问题 I need to style UL's coming from Rich Text Editor in Sitecore. I am trying to find out if there is a class that I can add to all UL's coming from Sitecore's Rich Text Editor. Thanks in Advance Ashok 回答1: The easiest solution is just to wrap your FieldRenderer with an HTML element with appropriate class applied in code: <div class="rich-text"> <sc:FieldRenderer ID="frRichTextField" runat="server" FieldName="MyFieldName" /> </div> And then add in some CSS styles to handle your UL's within this:

If seems I have duplicate dll, but I have tried to elimate or then the other… they both are required

泄露秘密 提交于 2019-12-11 21:04:56
问题 Hi I am trying to load/install a software product called "YAF" YetAnotherForum"... it runs great as a standalone, but now I am trying to integrate it in my Sitecore CMS system so that I may utilize the single sign-on features and create an IFrame. in any case, I am making some progress but this is my current error that I cannot seem to get past, any help will be appreciated. Compiler Error Message: CS0433: The type 'YAF.Forum' exists in both 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319

TDS .update package fails with object reference error - 8.0 update 2

孤人 提交于 2019-12-11 20:37:35
问题 We are trying to use TDS update package to deploy items to TEST environment. When we install, all the items are getting skipped though items are marked with "Always Update". When we reviewed the log we found that there is an object reference error while removing versions. We then updated the items using Deployment manager to Deploy Once and selected all the fields under Field level deployment. Note: Image shows deploy action as 'always' above After doing this, the package is installed

Sitecore 8 SPEAK: Getting an Error When calling a Method in JS File

╄→尐↘猪︶ㄣ 提交于 2019-12-11 19:34:11
问题 When I calling a method in JS file from Sitecore SPEAK application once a button clicked, I'm getting the following error message: TypeError: this.product is not a function this.product() this.product() is the function name: define(["sitecore"], function (Sitecore) { var model = Sitecore.Definitions.Models.ControlModel.extend({ initialize: function (options) { this._super(); }, products: function () { var input = this.get("input"); $.ajax({ url: "/api/sitecore/Product/Find", type: "POST",

Can not access the website via SSL

微笑、不失礼 提交于 2019-12-11 19:23:09
问题 We have deployed our website to the live webserver, Windows Server, IIS 7.5. Website asp.net, .NET 4.5 I have configured the website bindings to allow https requests for this website. Asked the hosting provider to open up the port 443. I can access the website over internet with port 80, no issues at all. (http://mysite.com) But I can not access via https, (https://mysite.com). But I can access the site via SSL from the server itself, that means SSL configurations are fine.(https - localhost)

Sitecore IFrame displays Page Editor ribbon

孤人 提交于 2019-12-11 19:12:43
问题 I am working on integrating an iframe to a Sitecore template. I have created the ASPX page and added that to the iframe in Sitecore template. (e.g. /sitecore/content/Custom Editors/SampleIFrameEditor ) It works fine, I can see my ASPX page gets rendered in the iframe control. Only issue is that it shows the "Page Editor" ribbon control on top (Home Advanced Expereience...), which I do not need to be displayed. (It's like I opened it up in Page Editor.) How can I hide "Page Editor" options

Sitecore 8.2 : Solr is not working giving error

自古美人都是妖i 提交于 2019-12-11 18:48:19
问题 I am using Sitecore 8.2 update 5. Now switching from Lucene to Solr 6.6.3 using the steps mentioned in https://sitecorerockz.wordpress.com/2018/08/01/lucene-to-solr/ I created a diagnostic page to check if Solr is working or not, I got the below error (screenshot) : Exception Details: Ninject.ActivationException: Error activating ISolrOperations{Dictionary{string, Object}} No matching bindings are available, and the type is not self-bindable. Activation path: 1) Request for ISolrOperations

Lucene search not working

自古美人都是妖i 提交于 2019-12-11 18:18:06
问题 I have a function which searches some articles in the Sitecore content items and give me the value. So far I have build up my indexes and it is showing in my IndexViewer. But the return of the function is 0. I looked up this link: http://sitecoregadgets.blogspot.com/2009/11/working-with-lucene-search-index-in_25.html for more information. protected IEnumerable<Item> ShowHomePageNews(int numOfArticles, string stringofCountries) { List<Item> items = new List<Item>(); Sitecore.Search.Index indx