Quantcast
Channel: Developer to developer
Browsing all 9076 articles
Browse latest View live

Unable to get tag from ViewData

So I have a block (controller + view) that has a TemplateDescriptor attribute:[TemplateDescriptor(AvailableWithoutTag = true, Tags = new []{"NoForm"})] public class SearchBookBlockController :...

View Article


Unable to access the ContentArea containing a block

I have a page ContentArea that contains a list of blocks where every other block gets a certain CSS class. Do accomplish this, each block view asks what its index in the ContentArea is when it's being...

View Article


Dojo ColorPicker

A custom property for colorpicker to be used in edit mode.Folow the below link:https://www.nuget.org/packages/Liquidhub.Episerver.Colorpicker/

View Article

No Default Instance defined for PluginFamily EPiServer.Data.IDatabaseHandler

I'm working on upgrading an Episerver solution from 6 R2. I'm on version 8.11 at the moment.Some of the old code uses Dynamic Data Store. When I run the code that reads content from the DDS, I get the...

View Article

Allowing only administrators to edit property

Hi allI'm pretty new to EPiServerI need to implement something similar to Simple adapter for showing hidden EPiServer properties in edit mode for administratorsUnfortunately I didn't find...

View Article


Wider string property

I'm trying to get the input fields on some of my string properties wider.I have made a property, a custom UIHint and an EditorDescriptor.I can make all string properties wider with the EditorDescriptor...

View Article

Media URL in Resource window?

Hi!I'm developing an EPiServer 7.5 site at the moment and I'm curious... Is there a way for editors to easily retrieve the URL of a specific media (ex. PDF or DOC) file in the Resource window...

View Article

Has anybody done Duo two factor authentication with epi?

We've standardized internally with Duo and would like to apply this to our remote box.  

View Article


Update Start page content based on content of the latest page of another type

Hi All,I want to update start page content based on the creating the new instance of another page.I have two PageTypes StartPage and ArticlePage.So basically on addition of new Article Page in my...

View Article


ImageResizer and preview page

In one of my projects I have created a preview page for images, so an editor can preview the different sizes of the image defined by the ImageDescriptor attribute.This works perfectly...

View Article

I have a pagereference where i want to redirect but I am unable to redirect...

HI All,I want to redirect to some other page from startpage,based on some condition.I have pagereference of the page to which i want to redirect but I am not able to write the code which will allow me...

View Article

Dojo color picker - nice, but once you use, you can never go back

Am I missing how to deselect a color once one is chosen? 

View Article

I have a pagereference where i want to redirect but I am unable to redirect...

HI All,I want to redirect to some other page from startpage,based on some condition.I have pagereference of the page to which i want to redirect but I am not able to write the code which will allow me...

View Article


How to set the height and width of the XHtmlString property and TextArea...

Hi All,I have a XHtmlString and TextArea property in my application.I want to give it a fixed height and width to it.By default what is happening it's displaying very small by default and after putting...

View Article

Localization in Range attribute

Hello!How should the path to the resource string containing error messages should be passed to Range attribute in int properties?I have declared the property like this:[Display( GroupName =...

View Article


Personalization

Howdy,I am attemtping to create a custom visitor group that looks for a user agent that the web editor specifies.My model public class BrowserModel : CriterionModelBase { [Required] public string...

View Article

Problems with google analytics for episerver plugin

Hi,Im trying to install google analytics for episerver (version: 1.8.1.8000) add-on on an Episerver cms 8 site via nuget. But after it is installed and I browse the dashboard all I get in the google...

View Article


Find pages that fetches content from specific page

I'm trying to find pages that uses the function "Fetch content from page in EPiServer CMS" and fetches from a specific page. Is there a handy function for this or does anyone have an idea on how to...

View Article

Problem when opening links to media files on Android

HelloWhen linking to media in a XhtmlText field, in this case a pdf file, it works fine on all platforms except for Android.What happens on Android is that when you choose to open the file in Adobe you...

View Article

Is it possible to create non-page content?

Hi,I need to create aliases for documents. These aliases would have a number of properties. In a sense, it is exactly as if it were a page, except that there is no need to create display views for it....

View Article
Browsing all 9076 articles
Browse latest View live