Questions tagged [piranha-cms]

Piranha is the fun, fast and lightweight framework for developing cms-based web applications with an extra bite. It's built on MVC 5 and Web Pages 3.0 and is fully compatible with both Visual Studio and WebMatrix.

About

The main idea with Piranha is to create a lightweight cms template for building custom web applications. The project includes content management, user, group and permission handling. Everything in the core framework can be extended or overridden in the projects and the manager area is design so that custom views can easily be integrated to provide clients with a single user interface to adminstrate their data.

Another focus of the project is to adopt to the write-once-publish-everywhere principle. Apart from of course beeing able to display the content through a client web-interface the core library also includes rest APIs so other clients can connect and retrieve the content from the system.

Links

Website

Github

Codeplex

151 questions
0
votes
1 answer

Piranha CMS UI menu returns empty on post page

I have the default template menu from the piranha install. It works very well for all the pages of the site, but when it comes to viewing individual post pages the menu bar is empty, even when I specifically define root node as the startpage of the…
Erik Inkapööl
  • 378
  • 2
  • 11
0
votes
0 answers

'has-child' class added when menu only has hidden children

I have come across a case where I am using the @UI.Menu helper and customizing the look using the css classes that are applied by default and I think a class is being added when it probably should not be. If the 'has-child' class is on then I am…
0
votes
1 answer

Manager Piranha CMS Forms

Working with Piranha CMS and am working on custom forms in the Manager area. Leaning how it is put together and get a basic empty page up. I have: Created a menu group and added an item Added the namespace to the webconfig file Created a…
glerler
  • 39
  • 8
0
votes
1 answer

Piranha CMS - Entity Framework Context

I got my feet wet with using Piranha CMS for a small site. One point I am not sure how to handle is extending the DB and CMS model for site data. For example, visitors fill out a form and I capture their info. With EF I have created the class and…
glerler
  • 39
  • 8
0
votes
1 answer

All requests goes against the same action in Piranha

I've started using Piranha CMS and really enjoining it, but now I came into a bit of trouble. One of my pages is a contact form where I want to post an extended page model with contact information to the controller. I've created a page template…
FatAlbert
  • 4,890
  • 6
  • 22
  • 34
0
votes
2 answers

Piranha CMS Menu items

Trying to add some new menu items as per here with the following code: private void Add_MenuGroup() { Manager.Menu.Add(new Manager.MenuGroup() { InternalId = "HireModules", Name = "Hire Modules", CssClass =…
amun1000
  • 453
  • 1
  • 8
  • 18
0
votes
1 answer

Run Piranha cms from source code

I am trying to run Piranha CMS from source code (downloaded from Git). I opened the code in Visual Studio 2012 and compiled it successfully. Changed the database connection string to local host Tried to run the code and received following…
user2739418
  • 1,623
  • 5
  • 29
  • 51
0
votes
1 answer

piranah-cms in ASP.NET MVC: Not able to preview

I am trying to setup PiranahCMS into my MVC application. I am able to create database and access Admin (Manager section) where one can create pages etc as below: Once I try to publish the page, I am getting below error: Server Error in '/'…
user2739418
  • 1,623
  • 5
  • 29
  • 51
0
votes
1 answer

Piranha module development template

Is there a template that can be used to develop custom Piranha CMS modules? If it's possible is there a way to integrate the module with the CMS?
kaygee
  • 23
  • 4
0
votes
1 answer

Multiple sites in one Piranha-CMS

I'm planning to run multiple sites in one instance of Piranha-CMS. The sites are small (< 20 pages) and all have their own layout. According to this line in the documentation i have to create multiple IIS websites: "A note on caching: As most…
Gerard
  • 13
  • 3
0
votes
1 answer

Resstrict anonymouse user to access the site

We are building a website inwhich user must be authenticated before access the site. However, I don't know if it's possible to do that in Piranha? I used but it does not…
Kent
  • 1
  • 3
0
votes
1 answer

PirahnaCMS Manager using Organizational Authentication in project

While using Windows Organizational authentication in the ASP.net MVC project, I am unable to access the /Manager portion of PirahnaCMS. Whenever I attempt to login, it just redirects back to the login page. Is there a solution to this problem, or a…
0
votes
1 answer

Piranha cms paging

Is there anyone using Piranha as base framework to develop your site? I'm having an issue with paging the content in the Manager mode. I have a look at the core and it seems that there is no paging functionality for any content, Page, Post, setting.…
Kent
  • 1
  • 3
0
votes
1 answer

MVC 5 - Url.Content("~/") throws "Cannot use a leading .. to exit above the top directory" exception

I have an interesting issue with the MVC UrlHelper.Content function when it's called from a page using the root of the url: Issue occurs when called from mysite.com/some-content but does not occur when called from content 2 slashes deep such as…
Gavin
  • 5,629
  • 7
  • 44
  • 86
0
votes
2 answers

Piranha CMS - How to view individual posts when Prefixless Permalinks in use

We're using Piranha CMS with the following setting: However this breaks individual posts urls generated using the Permalink helper e.g. @UI.Permalink(post.PermalinkId) With prefixlessPermalinks set to False…
Gavin
  • 5,629
  • 7
  • 44
  • 86