We have a Kentico powered Intranet site. Every user of the site gets authenticated with IWA.We now have a need to allow all users of the company to create and submit structured Kentico pages. Obviously we can't give everyone access to the Admin application.
How is this need typically achieved with Kentico? Do I build a custom front-end that calls the REST API for page creation? We want to leverage the out of the box CKEditor so rebuilding the form entry front-end seems prohibitive. Thanks
↧
crowd sourced content. How to implement in Kentico?
↧
DocType, XMLNamespace, BodyClass & BodyParameters Not Existing
I searched this site, including the upgrade sections, but have not found an answer to this. We recently upgraded from Kentico 7 to 9 and are having a compilation problem with DocType, XMLNamespace, BodyClass @ BodyParameters in the Root.master page not being defined. What have these values been replaced with in 9?
↧
↧
Increase size of documentname field in CMS_Document
Is there a place in the UI that would allow me to increase the size of the documentname field in CMS_Document from 100 to 200?Thanks!
↧
Message Board - Error on opening board
Hi:After a Kentico site upgrade to version 9 i was trying to open the board page in @Message Board@, but the page throw the following error:[UniGrid] : Error during reloading data.On Event log page displays the following information related to the error:Message: [SqlHelper.ReplaceOrderBy]: Missing ##ORDERBY## macro in the query text 'SELECT TOP 150 [BoardID], [BoardDisplayName], [BoardEnabled], [BoardModerated], [BoardMessages], [BoardLastMessageTime], [BoardDocumentID], [BoardOpened], [NodeID], [NodeSiteID], [DocumentNamePath], [DocumentCulture], [ClassName] FROM Board_Board
JOIN View_CMS_Tree_Joined ON (BoardDocumentID = DocumentID) AND (NodeLinkedNodeID IS NULL) AND ((BoardSiteID = 1)) AND ((BoardGroupID IS NULL OR BoardGroupID = 0))', cannot apply the specified order by 'BoardDisplayName ASC'.Do you know any way to solve this error ?
↧
S3 with Amazon endpoint cause error.
Failed to upload new files/create new folder into the s3. This happen after I put additional settings on S3 for Amzaon endpoint in web.config file. If without @CMSAmazonEndPoint@ the upload is working fine.S3 settings
Below is the error log.Event ID: 1902
Event type: Error
Event time: 6/16/2016 9:31:29 AM
Source: MultiFileUploader
Event code: UPLOADMEDIA
User ID: 90
User name: xxxx
IP address: xx.xx.xx.xxx
Description:
Message: Access DeniedException type: Amazon.S3.AmazonS3Exception
Stack Trace:
at Amazon.S3.AmazonS3Client.processRequestError(String actionName, HttpWebRequest request, WebException we, HttpWebResponse errorResponse, String requestAddr, WebHeaderCollection@ respHdrs, Type t, Exception@ cause)
at Amazon.S3.AmazonS3Client.handleHttpWebErrorResponse(S3Request userRequest, WebException we, HttpWebRequest request, HttpWebResponse httpResponse, Exception@ cause, HttpStatusCode@ statusCode)
at Amazon.S3.AmazonS3Client.getResponseCallback[T](IAsyncResult result)
at Amazon.S3.AmazonS3Client.endOperation[T](IAsyncResult result)
at Amazon.S3.AmazonS3Client.EndPutObject(IAsyncResult asyncResult)
at CMS.AmazonStorage.S3ObjectInfoProvider.CreateEmptyObject(IS3ObjectInfo obj)
at CMS.AmazonStorage.Directory.CreateDirectory(String path)
at CMS.IO.Directory.CreateDirectory(String path)
at CMS.IO.DirectoryHelper.EnsureDiskPathInternal(String path, String startingPath)
at CMS.MediaLibrary.MediaLibraryUploader.ProcessRequest(HttpContext context)
Machine name: KENTIDEV00
Event URL: /CMSModules/MediaLibrary/CMSPages/MultiFileUploader.ashx?InstanceGuid=91cb383d-6ebc-409f-b380-01a942fd19c5@filename=Koala.jpg@FilesCount=1@ResizeArgs=0;0;0@GetBytes=true@MediaLibraryArgs=MediaLibraryID%7c3%7cMediaFolderPath%7cjune%2b2016%7cMediaFileID%7c0%7cIsMediaThumbnail%7cFalse%7cMediaFileName%7c%7cHash%7cbe59db0a998b399461e1eb47395040a0d96b6e1cae2ba75e3a7679a51c493a0f@AdditionalParameters=SourceType%7cMediaLibraries%7cParentElementID%7clibraries%7cIsInsertMode%7cTrue%7cAfterSaveJavascript%7c%7cTargetFolderPath%7c%7cTargetFileName%7c%7cIncludeNewItemInfo%7cTrue%7cOnlyImages%7cFalse%7cRaiseOnClick%7cFalse%7cTargetAliasPath%7c%7cTargetCulture%7c%7cEventTarget%7c%7cHash%7cbf5d2a262b4f031089e0320868a261e7ee74a2184bdc5ce41f17f737157e22f8@CurrentFileIndex=1@AllowedExtensions=pdf;doc;docx;ppt;pptx;xls;xlsx;htm;html;xml;bmp;gif;jpg;jpeg;png;wav;wma;wmv;mp3;mp4;mpg;mpeg;mov;avi;swf;rar;zip;txt;rtf;webm;ogg;wav;ogv;oga|Hash|d74cd1ccf46e29a1ffb14a049b3411e0f1452b27371c42a814cbda4d42619f58
URL referrer: http://xxxxxx/CMSModules/MediaLibrary/FormControls/Selectors/InsertImageOrMedia/Tabs_Media.aspx?output=url@content=allfiles@pagetypes=All@web_hide=1@documentid=141@parentid=136@content_userelativeurl=True@content_culture=en-US@editor_clientid=m_c_f_MainImage_mediaSelector_txtPath@siteid=1@tab=libraries@hash=0d027e8232fee6a883953f446ae882b87387b1c2011949974ca43faf486d07bf
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
↧
↧
Validate Page Step within ASCX usercontrol
I can find documentation to validate a page within a custom Web Part which is part of Kentico's Page Wizard with the ValidateStepData method ( https://docs.kentico.com/display/K8/Connecting+web+parts+with+the+document+wizard ).Is there also a way to validate step data when you are using ASP.Net usercontrols (system.web.ui.usercontrol / ascx ) on the page wich are imported with the Usercontrol Web Part? So you want go further unless the requirements defined in the usercontrol are ok?
↧
Kentico webpart visibility
i'm trying to hide an editable text webpart if it's empty. Tried some JS methods which aren't elegent (the webpart has a bottom border, so there is a flicker). I then came across this post: Kentico 7 hide editable text if it@s emptyAny reason why this won't work in Kentico 9? It's hiding my webpart regardless.
↧
Media library does not upload .xlsm file in Kentico 9
I want to upload .xlsm file into media library but there is limitation of extensions.
For this, I have added .xlsm extension in system file under settings of site but error remain same.
Please suggest me, how can upload this type of file?
Thanks in advance...
↧
Change icon for search result display
I would like too modify the search results displayed within my transformation so that they have a different icon based on there URL or NodeAliasPath. I have the same page type appear in mtuliple part sof the site so I would like to display as Search results
1st page is in /home/content/dog/disease
2nd page is in /home/content/cat/disease
Both pages would use the same page type and templateIn the search results I would like to say if the page is in the /dog/ path then display icon A, if in path /cat/ then display icon B and if in neither display icon ZAny help appreciated as still getting to terms with searches and the relevant results.
↧
↧
Country Dropdown change creates error
When visiting this page: http://www.fluidcomponents.com/support/contact-us-europe
and changing the country select dropdown, it breaks, and redirects to an error page. Anyone have any ideas? The error from the logs is below:Exception type: InvalidOperationException
Exception message: The script tag registered for type 'System.String' and key 'p_lt_ctl13_Javascriptinlinescript' has invalid characters outside of the script tags:
@!--. Only properly formatted script tags can be registered.
at System.Web.UI.ScriptRegistrationManager.CheckScriptTagTweenSpace(RegisteredScript entry, String text, Int32 start, Int32 length)
at System.Web.UI.ScriptRegistrationManager.WriteScriptWithTags(HtmlTextWriter writer, String token, RegisteredScript activeRegistration)
at System.Web.UI.ScriptRegistrationManager.RenderActiveScriptBlocks(List`1 updatePanels, HtmlTextWriter writer, String token, List`1 scriptRegistrations)
at System.Web.UI.ScriptRegistrationManager.RenderActiveScripts(List`1 updatePanels, HtmlTextWriter writer)
at System.Web.UI.PageRequestManager.ProcessScriptRegistration(HtmlTextWriter writer)
at System.Web.UI.PageRequestManager.RenderPageCallback(HtmlTextWriter writer, Control pageControl)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at CMS.UIControls.ContentPage.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information:
Request URL: http://www.fluidcomponents.com/CMSPages/PortalTemplate.aspx?aliaspath=/Support/Contact-Us-Europe
Request path: /CMSPages/PortalTemplate.aspx
User host address: 107.142.156.65
User:
Is authenticated: False
Authentication Type:
Thread account name: EP264\fluidcomponent_web
↧
Issue with macro
I am trying to use this macro {%CurrentDocument.Parent.MenuPath#%} to pull a field from a document. This works {%CurrentDocument.MenuPath#%} to pull the current document's field but the previous does not. Am I missing something?
↧
Country Dropdown change creates error
When visiting this page: http://www.fluidcomponents.com/support/contact-us-europe and changing the country select dropdown, it breaks, and redirects to an error page. Anyone have any ideas?The error from the logs is below:Exception type: InvalidOperationException Exception message: The script tag registered for type 'System.String' and key 'p_lt_ctl13_Javascriptinlinescript' has invalid characters outside of the script tags: 1 updatePanels, HtmlTextWriter writer, String token, List1 scriptRegistrations) at System.Web.UI.ScriptRegistrationManager.RenderActiveScripts(List`1 updatePanels, HtmlTextWriter writer) at System.Web.UI.PageRequestManager.ProcessScriptRegistration(HtmlTextWriter writer) at System.Web.UI.PageRequestManager.RenderPageCallback(HtmlTextWriter writer, Control pageControl) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at CMS.UIControls.ContentPage.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)Request information: Request URL: http://www.fluidcomponents.com/CMSPages/PortalTemplate.aspx?aliaspath=/Support/Contact-Us-Europe Request path: /CMSPages/PortalTemplate.aspx User host address: 107.142.156.65 User: Is authenticated: False Authentication Type: Thread account name: EP264\fluidcomponent_web
↧
contribution list is not working after upgrade from verson 7 to 9
Hi There,I am writing this to ask your help on kentico9. After I upgraded from version 7 - 9, I have a problem with @contribution list@ webpart. It's not working fine.
The error in front-end is :
[Error loading the WebPart 'EventContributionList' of type 'ContributionList']Directory : CMSWebParts/UserContributions/ContributionList.ascx.cslist.ClassNames = value; =@ @The name list doesn't exist in current context@I am looking forward to hearing from you.
Thank you beforehand.
Best Regards,
Kimsan
↧
↧
Page fields default values ignored (DocumentMenuHideInNavigation / DocumentShowInSiteMap)
I have a custom Page Type which I want to have some default values set on the built in Page fields. Namely :DocumentMenuHideInNavigation (true)DocumentShowInSiteMap (false)DocumentMenuItemInactive (true)DocumentMenuRedirectUrl (./)I've added these to my Page Type and where DocumentMenuItemInactive and DocumentMenuRedirectUrl get set as expected on creation of the page, the values I've set for DocumentMenuHideInNavigation and DocumentShowInSiteMap are completely ignored.. that is the @Show in sitemap@ and @Show in navigation@ check boxes on the Navigation properties are still checked - I need them unchecked by default.Are there additional steps required to achieve this.. or am I looking at a bug ?We're on Version 9.0.26
↧
Getting Google Remarketing Tag to work with Kentico 9
HI - I've implemented the google remarketing tag on to our root page using a static html template in the footer. I've just pasted the code in to the web part source. Google Tag assistant detects the tag, but I'm getting an error that says: @No HTTP response detected@. Has anyone come across this before? How can i resolve?
↧
Where to set the value of CacheHelper.PhysicalFilesCacheMinutes?
In Kentico cms performance settings, I already set the server cache and client cache time to more than 7 days but this property CacheHelper.PhysicalFilesCacheMinutes still returns 7 days. Sorry but I cant find the answer in kentico documentation so I really appreciates if someone knows the answer. thanks! :)
↧
http handler
I am using KTCO 8.2.
I am trying to implement a basic http handler, but when I try to integrate it into kentico, the CMSApplicationModule is blocking it somehow.
here is what my web.config file looks like:@system.webServer@
@modules runAllManagedModulesForAllRequests=@true@@
@remove name=@WebDAVModule@ /@
@remove name=@XHtmlModule@ /@
@remove name=@CMSApplicationModule@ /@
@remove name=@UrlRoutingModule-4.0@ /@
@add name=@UrlRoutingModule-4.0@ type=@System.Web.Routing.UrlRoutingModule@ /@
@add name=@XHtmlModule@ type=@CMS.OutputFilter.OutputFilterModule, CMS.OutputFilter@ /@
@add name=@CMSApplicationModule@ preCondition=@managedHandler@ type=@CMS.Base.ApplicationModule, CMS.Base@ /@
@/modules@
@handlers@
@remove name=@WebDAV@ /@
@remove name=@MetaWeblogAPI@ /@
@remove name=@ChartImageHandler@ /@
@add name=@HelloWorldHandler@ path=@*.sample@ verb=@*@ type=@CMS.Base.DefaultHttpHandler@ resourceType=@Unspecified@ requireAccess=@None@ preCondition=@integratedMode@ /@
@/handlers@@
Basic http handler:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// @summary@
/// Summary description for HelloWorldHandler
/// @/summary@
public class HelloWorldHandler : IHttpHandler
{
public HelloWorldHandler()
{
}
public void ProcessRequest(HttpContext context)
{
HttpRequest Request = context.Request;
HttpResponse Response = context.Response;
// This handler is called whenever a file ending
// in .sample is requested. A file with that extension
// does not need to exist.
Response.Write(@@html@@);
Response.Write(@@body@@);
Response.Write(@@h1@Success!@/h1@@);
Response.Write(@@/body@@);
Response.Write(@@/html@@);
}
public bool IsReusable
{
// To enable pooling, return true here.
// This keeps the handler in memory.
get { return false; }
}
}
↧
↧
Get page output html
When a user fills in an e-mailadress and clicks a button, a PDF of the current page should be send to this e-mailaddress. The current page output also depends on sessions, so it's not a static page.I already have a service which can create the pdf by sending the html.Is there a way to get the output html at the moment of the button click ( in a user control )?Or are there any other solutions?
↧
Get fieldvalues from items in custom macro
Hello, We're creating a custom breadcrumb function where we need field values from the items we want to display.
Underneath you can see our code to receive the link @ title:Item is of type TreeNode.
@@div class='pull-left item'@@a href='@ + item.RelativeURL + @'@@ + item.GetValue(Constants.Title) + @@/a@@/div@@;
Our problem is as following: The GetValue function to receive the Title does not always answer correctly. In most cases it returns NULL.Anyone has an idea what is going wrong?
↧
Why does the newsletter subscription send multiple confirmation emails?
This is a follow up to my previous questions. I am trying to understand this process. The CustomSubscriptionForm webpart allows a user to subscribe to multiple newsletters via one form. Why then, does the back end process send multiple confirmations for a single action? Is this intended? If so, why? Also is it possible to access this process and make modifications. The code for the aforementioned webpart does not appear to do the actual mailing so I am confused at to how I may adjust the process to meet the needs of my client.Thank you.
↧