Quantcast
Channel: DevNet Questions
Viewing all 11920 articles
Browse latest View live

Media Gallery Querystring

$
0
0
I was looking to use the Media Gallery webparts (gallery/filter/folder tree) but with querystring paths different than the defaults, for example "folder" for "path" and "toyid" rather than "fileid." I've updated the appropriate fields in the webpart settings for each that I have on the page, but am having issues with the gallery webpart and the default transformation. The default transformation is using HTMLHelper.HTMLEncode(MediaLibraryFunctions.GetMediaFileDetailUrl(Eval("FileID"))) to create the URL to the image's detail page (ex: url?path=name&fileid=123). I know I could simply modify the transformation to use something like "url?toyid=" + Eval("FileID"), but I was wondering about the mechanisms to the MediaLibraryFunctions.GetMediaFileDetailUrl? Is it possible for it to use toyid rather than fileid in creating the URL to the details? Also, how are the File ID's assigned? We'll be directly linking to these in the future so I need to make sure the URL to specific images won't change. I know I could use the permanent link directly to the image, but we'd really like to link to a page with the image details on it as well. Thanks in advance!

Web Analytics - No Data

$
0
0
Good Day All, I currently using the developer license for Kentico and I have enable web analytics in settings. The problems I am facing is that I cant view the web analytics dashboard and I am not seeing data being stored in the Tables

Blog Comment View

$
0
0
I am using the webpart BlogCommentView.ascx on a page. If there are no comments I would like to have the section that says: Comments No Comments to NOT be displayed. Is there any easy way to do this? Thanks

Amending page content of Kentio 5.5 R2

$
0
0
Hello, I work for an organization that uses Kentico 5.5 R2, and i'd like ask you a doubt that i have. I'm trying to change the setup of the master page. This is the current setup ...
Now, when u try to insert a new CMSWebPartZone, eg. ... it does work, and when i try to add the "Static HTML" web part, it overlaps with the other web parts/Zones in the page. I tried to find how it works, but i just couldn't. 1.) Could you tell me how can i setup the page layout? 2.) Where can i edit the css of the page? 3.) If i'd like to not partition my page into left/right zones, but want to use the entire horizontal section, how can i do it? I mean i'd like to partition left/right on the top, keep the entire zone in the middle, and partition it again at the bottom. I would appreciate your help! Many thanks!

Free version: The licence limit for feature Editors was exceeded. Please check event log to get more

$
0
0
Hi all Using the free version - I am trying to delete or edit the users which are automatically installed in the free version, but it comes up with the following error: Free version: The licence limit for feature Editors was exceeded. Please check event log to get more details. No issues in the event log. I need to clear out all those users as obviously someone has passwords etc and will be able to use them to log into my site. Regards JM

Display Custom localization Web Parts

$
0
0
Hello Support, I need to show localization web parts on site on POP Window. Means visitor click on langauge image icon window will be popup then visitor choose langauge from pop up windows. regards, Harshal

Kentico8 Custom Module doesn't Insert record properly using info and infoprovider class with adobe

$
0
0
**Error::::: Add and Update Operation is not proper in Custom Module** for ref. see the below Comment: Hello All, I am getting some strange error in Custom Module Implementation. I have Create one Custom Module Named "Test" sucess fully Define class of Test Module TestUser. Define UI interface like AddtestUser and EditTest User. Now I am able to add testuser and edittest user successfully. Now I am going to fetch adobe user and add into table success fully. Now I am going to fetch Courses of adobe and getting error.. my error is i am getting 100 record from adobe connect and i am using foreach and that loop run 100 times and when i am seeing in db table i am getting only 1 record!!!!!!!!!!!!!!. Yes only one record!!!!!!!!!!!!!!!!!!!!Strange but i think kentico Merge function which is used by kentico developer in api is not proper or i am doing some mistake ...btw .. **i am adding 100 course and in db only one course is there**.....

Safe to delete or ignore /App_Data/CMSTemp?

$
0
0
Is it safe to delete /App_Data/CMSTemp? How about ignoring it for version control? How about omitting it from a deployment?

Encrypt password in Web config

$
0
0
Hi, I have enabled a Encrypted password in web.config file. But when I connect to CMS desk, it is giving me below error: The application could not connect to the database, please check the connection string in the web.config file and SQL server availability. Could anyone please help me with this, why this is happening. And can anyone also let me know how to reslove this issue. Thanks,

Show number of results of smart search result in content after of smart search box.

$
0
0
Hi Team, I am using two web parts "Smart search box" and "Smart search results" at the same page to search on the site. Now my need is how can i show the number of results at the content after field of smart search box. Such as ( results found for ) OR (24 results found for ABC company). Note : I don't want to modify the Kentico default code of search results. Thank you.

Random number generator inside transformation

$
0
0
Hello All, I wanted to generate inside transformation a suffix to add to my html. I wrote this method which is giving me a random number between 1-4. However, I was expecting that may be it will give me a random value for each iteration of the repeater. However, what is happening is that all items are taking same random no. Though, this is working for me, however, I would like to create more randomness. " category_tag="window_location" action_tag="<%#Eval("Heading")%>">
-<%#GetRandomNumber()%>">
<%#Eval("Heading")%>
Any suggestions will be appreciated Regards, Chetan

How to add additional CSS files , Inline CSS styles to Basic repeater with effect

$
0
0
How to add additional CSS files , Inline CSS styles to Basic repeater with effect ? what to mention in additional CSS files & Inline CSS styles ? additional CSS files : is this way ? .IE9 .MyFont  {    font-size: 20px;  }    .Opera .MyFont  {    font-size: 18px;  } It would be great if you explain and give example

Previous / Next Buttons on Menu Item Pages?

$
0
0
This Question was ask some time ago. Is it possible if so how can I get it done. I have a request to have Previous and Next buttons for a certain section of our site so the user can navigate to the next item in the content tree. How can I achieve this?

Erratic failures after DB upgrade (6.0.58 to 8.0)

$
0
0
I previously succeeded in upgrading my web application project (files) and database from 6.0.58 to 8.0. Now I need to deploy the files and upgrade a different CMS database from version 6.0.58 to 8.0. After doing so, I'm getting all kinds of erratic failures. The steps I took to upgrade the database were simple, but different between the first (successful) and second (unsuccessful) attempts. The first time, I upgraded the database and files in tandem, following these general steps: 1. Ran the 7.0 upgrade utility. 2. Ran the 7.0.34 hotfix utility. 3. Ran the 8.0 upgrade utility. The files and database were upgraded together, successfully. The second time, I just needed to upgrade the database, so I: 1. Ran upgrade_6_0.sql (from the Kentico 7 upgrade package) on the database. 2. Ran upgrade_8_0.sql (from the Kentico 8 upgrade package) on the database. Now the administrative interface reports that it's version 8.0. I can use all of the "apps" that I've tried. However, the actual pages will not render. I pasted some common errors below: System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.String.System.IConvertible.ToInt32(IFormatProvider provider) at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) at CMS.DataEngine.SimpleDataClass.SetData(Int32 columnIndex, Object value) at CMS.DataEngine.SimpleDataClass.LoadData(DataRow dr) at CMS.DataEngine.AbstractInfo`1.LoadFromDataRow(DataRow dr) at CMS.DocumentEngine.DocumentFieldsInfo.New(String className, DataRow dataRow) at CMS.DocumentEngine.TreeNode.LoadFromDataRow(DataRow dr) at CMS.DocumentEngine.TreeNode.Initialize(String className, DataRow dataRow, TreeProvider treeProvider) at CMS.DocumentEngine.TreeNode.New[NodeType](String className, DataRow dataRow, TreeProvider treeProvider) at CMS.DocumentEngine.TreeProvider.SelectSingleNode[NodeType](NodeSelectionParameters parameters) at CMS.DocumentEngine.TreeProvider.SelectSingleNode[NodeType](String siteName, String aliasPath, String cultureCode, Boolean combineWithDefaultCulture, String classNames, String where, String orderBy, Int32 maxRelativeLevel, Boolean selectOnlyPublished, String columns) at CMS.DocumentEngine.TreeProvider.SelectSingleNode(String siteName, String aliasPath, String cultureCode, Boolean combineWithDefaultCulture, String classNames, String where, String orderBy, Int32 maxRelativeLevel, Boolean selectOnlyPublished, String columns) at CMS.DocumentEngine.TreeProvider.SelectSingleNode(Int32 nodeId, String culture, String classNames) at CMS.DocumentEngine.DocumentContext.get_CurrentDocument() at CMS.DocumentEngine.PageSecurityHelper.CheckPermissions(String siteName, PageInfo pi, Boolean excludeSystem, String relativePath) at CMS.DocumentEngine.PageSecurityHelper.CheckPageSecurity(PageInfo pageInfo, SiteNameOnDemand siteName, ViewModeOnDemand viewMode, String relativePath) at CMS.URLRewritingEngine.URLRewritingHandlers.CheckSecurity(RequestStatusEnum status, SiteNameOnDemand siteName, ViewModeOnDemand viewMode, String relativePath) at CMS.URLRewritingEngine.URLRewritingHandlers.CheckSecurity(Object sender, EventArgs eventArgs) at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler`1 h, TArgs e) at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List`1 list, TArgs e, Boolean important) at CMS.Base.SimpleHandler`2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler`2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler`2.StartEvent(TArgs e) at CMS.Base.ApplicationModule.AcquireRequestState(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Here's another: System.Exception: [LockObject.EnterRead]: Primary thread didn't provide valid result, the Data property must be explicitly set in order to provide the result to other threads, please review the code. at CMS.Base.LockObject.EnterRead[OutputType](OutputType& output) at CMS.Helpers.CachedSection`1.EnterLock(TData& result) at CMS.Helpers.CachedSection`1..ctor(TData& result, CacheSettings settings) at CMS.DocumentEngine.DocumentContext.get_CurrentDocument() at CMS.DocumentEngine.PageSecurityHelper.CheckPermissions(String siteName, PageInfo pi, Boolean excludeSystem, String relativePath) at CMS.DocumentEngine.PageSecurityHelper.CheckPageSecurity(PageInfo pageInfo, SiteNameOnDemand siteName, ViewModeOnDemand viewMode, String relativePath) at CMS.URLRewritingEngine.URLRewritingHandlers.CheckSecurity(RequestStatusEnum status, SiteNameOnDemand siteName, ViewModeOnDemand viewMode, String relativePath) at CMS.URLRewritingEngine.URLRewritingHandlers.CheckSecurity(Object sender, EventArgs eventArgs) at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler`1 h, TArgs e) at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List`1 list, TArgs e, Boolean important) at CMS.Base.SimpleHandler`2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler`2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler`2.StartEvent(TArgs e) at CMS.Base.ApplicationModule.AcquireRequestState(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) And this error shows up in the Event Log, over and over again: EventType: E Source: MacroResolver EventCode: CHECKSECURITY UserID: 84 UserName: bdrenner EventDescription: Security check of the expression 'Rule("!CurrentUser.CheckPrivilegeLevel(UserPrivilegeLevelEnum.GlobalAdmin);", "does not have!0select operationtext0GlobalAdminGlobalAdmin0select leveltext1")|(user)administrator|(hash)1b18c0ae79f22696ec3155661ad589fa10ba2df8d11654bae55ca1eeba57ed6f' didn't pass. The expression was signed by user 'administrator'. Remove the signature and re-save the expression by a user with proper permissions. EventUrl: /Admin/CMSAdministration.aspx I'm stumped. What did I do wrong, and how can I successfully upgrade a database from 6.0.58 to 8.0 independently from the files?

LongText field rendering image URL incorrectly

$
0
0
I have a doc type that has a long text field with a Rich Text Editor as the control. The user goes to the form and adds content. They added an image from the content tree and when it is rendered, there is an additional forward slash ( / ) added to the url. When I save the data the text editor displays the image and when I view the source I see `/path/to/image.png` but in the database the data stored is `~/path/to/image.png`. When the data is rendered simply using `<%# Eval("BodyText") %>` the src of the image field is rendered as `//path/to/image.png` causing the image to throw a 404 error. I'm using 8.0.16

AD intergartion issue

$
0
0
Hi, I am implementing AD integration functionality. The server is recently moved into domain from workgroup. Now the issue is that the tools stops working as soon as we enter specify the database name (the first step of importing) when ever we are running the AD import utility tool. We are the owner of database. Please see image below, the Error which I am getting. ![Image Text](http://www.imagesup.net/?di=13140687440110 )

AD import utility download link

$
0
0
Hi, Can anyone please let me know where Can I download AD import utility for kentico 7 ?

Customer chat support software

$
0
0
I want customer chat support software for my website, can have any user who suggest me the best live chat software ?

Responsive Web Design using Bootstrap

$
0
0
I believe Kentico has bootstrap, is this correct? I am also looking for some guides on doing Responsive Web Design for Kentico. Thanks

Country Selector

$
0
0
Hello Support, I need to show all countries with countries regions (eg. Asia,europe etc.) with popup window.
Viewing all 11920 articles
Browse latest View live