Questions tagged [n2]

N2 is a lightweight open source content management system that runs on top of ASP.NET.

N2 is a lightweight open source content management system that runs on top of ASP.NET.
The N2 CMS is extendable through events, the content classes themselves, custom editable attributes, plug-ins and other enabling hooks.

60 questions
0
votes
1 answer

N2 CMS - all links are green in tree view

I have an existing ASP.NET MVC 3 website, and I installed N2 CMS using NuGet packages. All links are green in tree view, but in MVC Minimal Example only upload folder is green and all other links are black. Can I change that in code/web.config? Any…
šljaker
  • 7,294
  • 14
  • 46
  • 80
0
votes
1 answer

Mutually Exclusive Editable Items in N2 CMS

I need two editable items to be mutually exclusive, such that when an admin user goes in to the edit interface and edits one, the other becomes greyed out (and blanked out). Let's say I have something like this: public sealed class MyPart : PartBase…
jimasp
  • 962
  • 9
  • 26
0
votes
0 answers

N2 CMS: Implementing Owin with OpenId connect authentication method. (FAILED)

Implementing Owin with OpenId connect authentication method within existing N2 CMS system. Before was using "FORMS" authentication. Forms authentication disabled. OpenId connect is working without problems. I am able to login trough central login…
0
votes
1 answer

N2 MVC controller action caching?

I've got a really odd problem when using N2 with MVC. It seems to be related to the N2 side of things, as it doesn't happen within a purely MVC only app I wrote to test. Basically, when making calls to controller actions from within a page, the…
pauldunlop
  • 484
  • 9
  • 20
0
votes
1 answer

.NET Open Source CMS to use as framework with Jquery and MVP

I've been reading some articles about Open Source CMS. I am looking for something like a .NET CMS framework that implements MVP (no MVC) structural pattern, jQuery so i can add my own classes, UserControls, Pages and whatever i want. I've heard…
Tony
  • 39
  • 7
0
votes
1 answer

N2CMS and dropdown navigation menu

I'm using the N2 CMS and I'd like to create the dropdown javascript menu. Only these two options come to my mind: Create a new page type which represents the dropdown menu. Recursively load all pages and dynamically generate the menu. I guess that…
šljaker
  • 7,294
  • 14
  • 46
  • 80
0
votes
3 answers

N2cms add settings page

I want to add some settings which the admin of the site can change. First idea came to my mind is to create an N2 page called settings, and every property of this page is single setting, and each time I need to get the settings I have to search for…
Nour
  • 5,252
  • 3
  • 41
  • 66
0
votes
1 answer

N2CMS - Missing Prepare_Dependencies-vs2008.bat

I am attempting to run the sample project for N2CMS. This is required in order to run the project, but the file appears to be missing. However, my VS2008 solution file shows it. What could be going on?
smartcaveman
  • 41,281
  • 29
  • 127
  • 212
0
votes
1 answer

N2 CMS - Protected upload subdirectory?

I can add new directories to the ~/upload section of my website. Is there a built-in way to protect these directories to be accessible only by certain users/roles?
Ropstah
  • 17,538
  • 24
  • 120
  • 194
0
votes
1 answer

Field placement when editing items in N2 cms?

Working on N2 CMS I'm adding my own content type Product. I derive my Product class from ContentPageBase and I can add it in the content tree. When I edit an item however, the fields seem to be inverted (Title and Text). For all example items (e.g.…
Ropstah
  • 17,538
  • 24
  • 120
  • 194
0
votes
1 answer

N2 CMS Asp.Net MVC 3 Razor ControlPanel HtmlHelper

I just bolted on the N2 CMS to my existing MVC 3 Razor site. So far no problems, things are editable etc. The only thing I'm missing is how to show the N2 control panel on the actual site rather than going to the /N2/ folder of the live site and…
Dave Jellison
  • 924
  • 13
  • 22
0
votes
1 answer

N2CMS host transfer...worth it or use different CMS?

A friend asked that I help move his site from one host to another. Turns out it's a site within a CMS called N2CMS. I've never heard of this and it's been very problematic. I looked for info online and it looks like the CMS is old and barely/not…
GeekInTheBox
  • 139
  • 2
  • 11
0
votes
1 answer

N2: Set default values for ContentItems

When using N2 CMS: If I want to set some default values when a new ContentItem is created (e.g. setting the CreatedByUser value for a new Page so I can record who originally created it) where is the best place to put that code? I figure the…
codeulike
  • 22,514
  • 29
  • 120
  • 167
0
votes
0 answers

System.StackOverflowException when adding list item

Im currently using N2CMS to create a website however I am having the below issue. I have a page where I have a list of images: [EditableChildren("SliderImageItem", "SliderImageItem", 150)] public virtual IList SliderImages …
Andrei0427
  • 573
  • 3
  • 6
  • 18
0
votes
1 answer

N2 CMS Setup problem, missing an assembly reference

I'm trying to use N2 CMS. I've download the Template MVC version. I've followed the steps in the installation text. When I run it I get: The type or namespace name 'Web' does not exist in the namespace 'Microsoft' (are you missing an assembly…
Mantisimo
  • 4,203
  • 5
  • 37
  • 55