I've been working on a custom page in Sitecore over the holidays, and I've noticed an issue where Sitecore removes JavaScript lines from the editor.  Here's an overview of my current scenario:   I add Javascript to the page. I save, check...
I'm using UploadProcessor to block specific file uploading into MediaLibrary. Everything is working good and I can see the alert Sitecore's message. But, Sitecore's error message is not really user-friendly "One or more files could no...
I got a problem for a website I was working on. A WebMethod is called from a JavaScript function:  var ajaxOptions = {     url: "/layouts/foobar/Foo.aspx/GetBar" } $.ajax(ajaxOptions).done(function(result) {      loadResult(result, a); });...
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...
I am using Sitecore 7.2 with Web Forms for Marketers 2.4. Using wffm form designer I created a form that has a droplist in it. I want to be able to hide or unhide another field in the same form based on the selected value of the droplist. Through my...
I need to put span tags around first word in a line. I used the below Jquery which is working fine in sitecore standard mode.  $("body").has(".widget h2").addClass("standard-mode"); $("body").has(".scLoadingIndicat...
I have a controller with a function ShowEvents(EventCategory eventCategory). Is it possible to call this function from client-side JavaScript? I know that I can retrieve items from the database using the Sitecore.Services.Client (SCC), but is it poss...
I'm using Sitecore 8 Update 2 to make a page where people can leave some personal information. If the user is logged in the information is filled in for them. ( Standard mvc 5 form )  I added a WFFM ( 8.0 rev 141217 ) login form ( if succesfull t...
I want to add a button to the sitecore page editor ribbon and I want it to work as a link. For example, when I click this button, the page should be redirected to HOMEURL/sample.aspx.  I have written a class, that inherits from Command.  public class...
I need to match on a string such as this:  'if Country equals "United States" then Show'  I'm working with the Webforms for Marketers Module in Sitecore.  Sitecore is a .NET based CMS.  The Webforms for Marketers Modules is a modu...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.