I upgrade the kentico site version 10 to 11 and rebuild the application and I run the application I am gettiong below error message.Could not load type 'CMS.Ecommerce.Web.UI.CMSPaymentGatewayProvider' from assembly 'CMS.Ecommerce.Web.UI, Version=11.0.0.0, Culture=neutral, PublicKeyToken=834b12a258f213f9'.
↧
Kentico Upgrade 10 to 11 issues
↧
drop down list values put -select- as initial value
i have drop down list which filling from custome table but i want to put -select- as initial value also that when in dropdown not selected any value just showing -select- at that time validation required page cannot save invalid option
↧
↧
Repeater - filter out Template with WHERE
Hello, Is it possible to filter out certain Templates in a Repeater? I'm trying to use the WHERE cause to do this but I'm having trouble finding the correct syntax to use.I've tried:NodeTemplateID NOT LIKE 'Forms'{%NodeTemplateCodeName%} NOT LIKE 'Forms'and others along the same linesThanks
↧
Add product option (accessory) to existing cart item
Hello,Is there a way to add a product option (accessory) to an existing shopping cart item? I'm already able to add items without options and items with options to the cart. I couldn't figure out how to add an option later, without removing and adding the entire product.My goal is to allow customers to add and modify options later direcly from the shopping cart page.Thanks,
Andy
↧
Kentico upgrade from 9 to 12
Hi All,I am using Kentico 9 CMS and I have customized it to suit my client's needs. If I have to upgrade to Kentico 12, is there an option from Kentico CMS admin to directly upgrade it or do i have to purchase Kentico 12 and then re-customize it entirely like I did it in Kentico 9?Kindly advise.Thanks,Narayan
↧
↧
structure of smart search
I am a bit confused about the relationship between the smart search dialog. I have a smart search box on my master page. On my search sub page i have two drop down smart filters, I also have a smart search results web part. The search seems to be only consistent when i also place a smart search dialog with these combinations on the page, yet i dont want to display the search box or the button. When i have tried to have just the button from the smart search dialog it spans across the whole section. So 1st question do i need the smart search dialog for the search to work correctly, and if so how do i reduce the span of the button, or hide itBest regards, hope this makes sense
↧
Custom Module is not available for the selected site
Hello guys , I have created a custom module and on Roles@@ UI personalization @@ Administration @@ Custom , said that my module is not available for the selected site .Please contact global administrator to enable it.Thank you
↧
[Kentico MVC] SiteContext.CurrentSiteName is empty everywhere beside Chrome Desktop
Hi I have a problem which only happens on PRODUCTION. Recently for some reason we get this error, everytime app uses SiteContext.CurrentSiteName,we get null reference exception, we use it to get the Pages documents, because every controller uses CurrentSiteName, no controller is working in that case.Tried Production code on my machine and on Test Environment and can't reproduce the problem, website doesn't crash on mobile.I get the error:ERROR CENSORED.MvcApplication - Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at CMS.DocumentEngine.DocumentQueryBase`2.OnSite(SiteInfoIdentifier siteIdentifier, Boolean includeGlobal)
at CENSORED.Controllers.HomeController.ResolveContextItem(RouteData routeData)
A custom error I set when CurrentSiteID == 0:Controllers.HomeController - CurrentSiteID is 0.I also get the error:Message: [GetMediaFile.aspx]: Site not running.
Exception type: System.Exception
Stack trace:
at CMS.MediaLibrary.GetMediaHandler.ProcessRequestInternal(HttpContextBase context)
at CMS.Routing.Web.AdvancedGetFileHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.@@c__DisplayClass285_0.b__0()
at System.Web.HttpApplication.StepInvoker.Invoke(Action executionStep)
at System.Web.HttpApplication.StepInvoker.@@c__DisplayClass4_0.b__0()
at Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.OnExecuteRequestStep(HttpContextBase context, Action step)
at System.Web.HttpApplication.@@c__DisplayClass284_0.b__0(Action nextStepAction)
at System.Web.HttpApplication.StepInvoker.Invoke(Action executionStep)
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean@ completedSynchronously)
What could be the cause OR solution ?
↧
DocumentType_Edit_General.Page_Load() null reference
The editElem.FieldControls["ClassShowTemplateSelection"] is null when the Document_Type_Edit_General.Page_Load is called. Has anyone experienced this?
Is it related to how the PageType is set up?I am experiencing it with all the PageTypes we've created so far.protected void Page_Load(object sender, EventArgs e)
{
// Get original value
oldClassName = DocumentType.ClassName;
oldInheritedID = DocumentType.ClassInheritsFromClassID;
oldResourceID = DocumentType.ClassResourceID;
// Bind events
editElem.OnAfterSave += editElem_OnAfterSave;
editElem.OnBeforeSave += editElem_OnBeforeSave;
// Assign category identifier to page template selector
if (ValidationHelper.GetBoolean (editElem.FieldControls
["ClassShowTemplateSelection"].Value,false))
↧
↧
Repeater where clause for multiple choice field
I have added a custom field to the Blog Post Page Type. This field is multiple choice, using checkboxes, allowing the author to select several options.On a different page, I am trying to make a repeater which can filter these blog post pages based on one of those multiple choice options. How can I write the WHERE clause so that:It uses a query string parameter as the value to compare againstIt compares against all the selected values in the fieldI am baffled on how to write this WHERE clause because I looked in the database, and the Page Type is saving the multiple choice options as a single string separated by @|@.
↧
[Kentico MVC] SiteContext.CurrentSiteName is empty
A
↧
Adding Activity records via the API
I am in need of adding Activity records via the Kentico API. I was originally going to add them via the
ActivityInfoProvider but then I came across the CustomActivityInitializerBasehere.What is the difference between using the two?I mainly need to record Activities of the purchase activity type. The data being recorded will eventually be used in automated marketing tasks. Would one have a benefit over the other in this regard?
↧
Site localization
Hi,I have issues with making a website in multiple languages.Could you please hint me where I can find the forms/ frames with different writings to make bilingual.I tried to manage it from site localization section, still translating the resourse strings didn't give me the appropriate information.Kind Regards,
Loreta
↧
↧
Boosting Title/DocumentName field in Pages/Pages Crawler Index
Does Kentico have any way to boost fields without building my own custom indexer? I would like to slightly boost title over content, since some pages are scoring higher due to referencing certain documents multiple times. For example a page title @Cancer Center@ is scoring 3rd, whereas a page called @Breast Cancer@ that has @Cancer Center@ in it's content multiple times is scoring 1st. I would prefer titles to get preference over content, as it's the most common thing people will be searching for.I would prefer not to build a custom indexer if I don't have to, but if there was a way to duplicate the functionality of the standard Pages / Pages Crawler indexer and just alter it slightly to include the boost, that's an option, too.
↧
Force lowercase on URLs - Kentico MVC
Hi,Has anyone implemented a way to force lowercase of URLs on Kentico MVC and got it working?I've tried setting this option in the CMS:Settings / Content / URLs and SEO / SEO - URLs /Redirect invalid case URLs to their correct versions / Redirect all requests to lower case URLsbut it doesn't seem to do anything.I've also tried this method: https://stackoverflow.com/questions/878578/how-can-i-have-lowercase-routes-in-asp-net-mvcThe first part routes.LowercaseUrls = true; doesn't seem to change anything either. Handling the Application_BeginRequest event seemed to bring other issues, or at least the way I implemented it.Any help would be appreciated.Kind regards,Gustavo
↧
Repeater custom query
Hello , I am having some trouble finding out how custom queries work when using a CMSRepeater. The problem i am facing is i have a CMSRepeater which pulls data from 3 different page type classes which have different column names, what's the correct syntax to specify only the needed columns in order not to pull everything?
↧
Create CTA buttons in Hero Image within CMS
I am totally new to Kentico, having only installed it locally yesterday. I couldn't even get the demo instance working, as page requests kept resulting in .Net errors. I eventually just created a new empty site. Anyway...A friend has asked if I could help them with their existing Kentico site:
I've been asked to put buttons in hero images. Ideally to be able to put text and an image within the button.At the moment, this means nothings to me - I'm that new to Kentico (and CMS in general, although I am a .Net developer). I do plan to learn Kentico, but the change need to be live asap, so I'd like to learn just enough to help them out initially.Can anyone give some advice/pointers to get me going as quickly as possible? Should this be easy to do? I'd really like to be able to help out, but I won't have time to learn Kentico fully first.Many thanks
↧
↧
Error on Loading the web part
Guys i get this error when i am loading the web partException type: System.Web.HttpCompileException
Stack trace:
at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath)
at CMS.Base.Web.UI.ControlDefinition.Load(Page page)
at CMS.PortalEngine.Web.UI.CMSWebPartZone.LoadWebPart(Control container, CMSWebPartZone zone, WebPartInstance part, Boolean reloadData, Boolean isVariant)Thank you
↧
Repeater with Custom Query where condition lenght limited
I have a Repeater with Custom Query. Currently, there's a WHERE Condition like this PracticeAreas =
(Custom_BusinessUnit.BusinessUnitId IN (SELECT BusinessUnitId FROM Custom_BusinessUnit AS Custom_BusinessUnit_3 WHERE (ParentBusinessUnitId IN (SELECT BusinessUnitId FROM Custom_BusinessUnit AS Custom_BusinessUnit_2 WHERE (ParentBusinessUnitId IN
(SELECT BusinessUnitId FROM Custom_BusinessUnit AS Custom_BusinessUnit_1 WHERE (ParentBusinessUnitId = @bu) OR (BusinessUnitId = @bu))) OR (ParentBusinessUnitId = @bu) OR (BusinessUnitId = @bu))) OR (ParentBusinessUnitId = @bu) OR (BusinessUnitId = @bu))) AND (CMS_User.UserEnabled = '1') AND (CMS_User.UserType = 1) AND (custom_certificate.DevelopManagerFlag = 1) AND (custom_certificate.AssistanceDevelopFlag = 1)WHERE condition item , Cannot insert due to field length limit.
please help me
↧
Trying to debug a Kentico website but cant
I have a Kentico website project and I wish to debug and develop content on Kentico. I am a c# developer and wish to use Visual studio code.
How can I open the website in Visual Studio 2019 and work with it?I have the website open in my visual studio code and can't find the contents of the website.
↧