Questions tagged [n2cms]

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

N2CMS is a lightweight CMS framework. With just a few strokes of your keyboard a wonderful strongly-typed model emerges complete with a management UI. You can spend the rest of your day building the best site imaginable.

With N2CMS, you build the model of the data that needs to be managed using C# or VB code in Visual Studio. The type below is picked up by the N2 engine at runtime and made available to be edited. The code uses an open API with multiple built-in options and unlimited customization options.

83 questions
0
votes
1 answer

Using EditableChildren in N2CMS

When I using the EditableChildren in N2CMS(ver 2.7.5), in a model page, I getting the error "Cannot add any parts due to zone/user/type restrictions". I have try everything. See code below: [EditableChildren(Title = "Reviews list", ContainerName =…
Don Juan
  • 171
  • 2
  • 17
0
votes
1 answer

How I can add N time item using n2cms

I am new in N2 CMS and i am stuck in dynamic content like add n time item. This is an example This object consists of: WYSIWYG / Richtext Editor (This will be [EditableFreeTextAreaAttribute]) **n-times item** caption …
Riyadh Ul Islam
  • 172
  • 1
  • 7
0
votes
1 answer

N2CMS : Using Server.Transfer with contentItem page

Is it possible to use Server.Tranfer() method between 2 ContentItem Pages? I'm trying to substitute content of one with another, but Transfer() method throws an exception because server cannot retrieve ContentItem page.
0
votes
1 answer

N2CMS Issues creating template first parts

What is the proper way of adding template first part as shown here..https://n2cmsdocs.atlassian.net/wiki/plugins/servlet/mobile#content/view/524349 I have done the same thing in my mvc project and the part appear in the drag drop list with the name…
eadam
  • 23,151
  • 18
  • 48
  • 71
0
votes
1 answer

N2 CMS Is it possible to add a part to non-cms Page

I am using N2 in asp.net mvc. Is it possible to add a part to a dropable zone defined in a non-n2cms page?
user3219798
  • 333
  • 6
  • 14
0
votes
1 answer

Css/JS issues with N2CMS 2.5.9 and Dinamico templates

I sometimes have problems loading java script and CSS, and i think that Url.ThemedContent is the culprit. Everything will work perfect, but if I refresh my page multiple times fast (CTRL + R in chrome) to clear my js-cache, for some reason it just…
Jonathan Andersson
  • 1,057
  • 1
  • 10
  • 19
0
votes
0 answers

n2cms Admin errors when the content item is clicked in managemen UIt

I am using N2CMS in my project. I have two project in the solution 1. N2CMS Controllers, Views and Models 2. N2CMS Management UI Zip I am using N2CMS Admin to manage Content Model defined in my first project. The Management UI is able to load all…
0
votes
1 answer

N2CMS collection editor in mvc

I have List of strings (List) as a ContentItem property. Which editor should I use to add/edit/delete list items in the editor interface? Please let me know if there are some examples available. I am new to N2 and don't really have an idea at the…
eadam
  • 23,151
  • 18
  • 48
  • 71
0
votes
1 answer

N2CMS: Tilde path not working

I am trying to use N2CMS in an existing MVC website. The problem is that when I browse the dhasboard (http://localhost:64826/N2/), I get some of the Menu links with Tilde. e.g. This is the ink for…
eadam
  • 23,151
  • 18
  • 48
  • 71
0
votes
1 answer

n2cms parent pages DroppableZone

I try to make the parent page showing part in all child page but I cannot be I try to using this code but its not working only for the start page\ @{ Html.DroppableZone(Content.Traverse.StartPage, "Recursive-Right").Render(); } im using N2CMS…
Ahmed Almahmeed
  • 97
  • 2
  • 15
0
votes
1 answer

Integrate n2cms to static html site

I would like to start n2Cms. there were lots of samples available. but i could not understand any. my requirement is 1) am having the html static site, so need to add cms feature to it 2) the site is not MVC. if any know how to do this, please…
0
votes
1 answer

implement a N2.Engine.IServiceContainer for Ninject

I am investigating integrating N2CMS into an existing website. The problem that I am getting is that the IOC engine that N2CMS uses (tinyIoC) doesnt know about any of the dependencies of my Controllers. So when any of my Controllers are created I…
Steven H
  • 189
  • 6
0
votes
1 answer

Role Management in N2

N2 CMS has the following roles by default: Everyone, Members, Writers, Editors and Administrators. It allows you to assign users to these roles and offers role assignments for each editable page. Is there a way to easily create additional roles for…
Tron5000
  • 844
  • 11
  • 24
0
votes
1 answer

N2CMS MVC - new page under Trash

I am using N2 CMS (taken templates Dinamico MVC project). I created a new model "TextPage" and respective controller as well. I registered page with "TextPageRegistration" class. And I set parent type for this type as Start Page. But when I run the…
dotnetrocks
  • 2,589
  • 12
  • 36
  • 55
0
votes
1 answer

N2CMS: how to add popup conent

I have a news-type website that I am looking to create using N2CMS, but besides the regular operations (being able to see a calendar, viewing lists of news, viewing news details etc.), part of the content in the website is displayed in "modal"…
Sucata Mihnea
  • 349
  • 1
  • 5
  • 15