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
2
votes
0 answers

Piranha CMS Deploying site using VS Web Publish loses images

I'm using Visual Studio publish to deploy a site using Piranha CMS to a web server. Whenever I deploy the actual image content is lost and I have to upload the image file again to restore it. The database isn't altered during the deployment process,…
2
votes
5 answers

Foreign Key constraint error when performing fresh install of Piranha CMS

Piranha CMS is a programmer oriented CMS (I prefer to write it since I've been downvoted last time!). I've spent all the afternoon trying to fix this problem : Whether I try to migrate from a Sql Compact Server Database to a SQL Server Database, or…
tobiak777
  • 3,175
  • 1
  • 32
  • 44
2
votes
1 answer

Adding items to the manager menu in Piranha CMS

Following the PiranhaCMS 2.2.0 documentation does not insert the menu items into the Manager menu. What am I doing wrong? I've placed this in my _AppStart.cshtml Manager.Menu.Add(new Manager.MenuGroup() { InternalId = "MyApp", …
Alex
  • 1,549
  • 2
  • 16
  • 41
2
votes
1 answer

Piranha CMS Management Custom Controller Not Found

I am having an issue with adding a custom controller to my Piranha CMS. I have set up a new site and installed from the template and all the base functionality is working well. I have added the menu to the manager section using the following code…
Lepon
  • 23
  • 6
2
votes
2 answers

Piranha CMS and Azure Storage

I am currently evaluating Piranha CMS and I like what I see so far. The only real concern I have is how binary assets are managed. Does the image upload support storing images on CDN like amazond s3 or Azure Blob Storage? If so, how is that…
jason
  • 767
  • 2
  • 9
  • 24
2
votes
1 answer

Getting Piranha CMS working with MVC

I'm quite interested in Piranha, but unfortunately getting it up and running following these instructions is frustrating. When I follow these instructions (I tried 3 times) and run the site I just get "The resource cannot be found". From the routing…
Ben Power
  • 1,786
  • 5
  • 27
  • 35
1
vote
1 answer

Upgrade to Piranha 10.1 now all saves/posts in the Manager result in 400 error

I recently upgraded a .NET 5 MVC project that is working with Piranha 9.x to .NET 6 and upgraded Piranha to 10.1. Everything works except nothing will save from the Piranha manager. All HTTP POST transactions return a 400 error. I am suspicious of…
brsfan
  • 472
  • 5
  • 13
1
vote
1 answer

PiranhaCMS: manager language after publishing

My problem is the following. Locally, the Piranha manager's language is correct. But after the publication - english. What's wrong? Maybe it's nececcary to explicitly set the language of the manager? But how?
vladver
  • 97
  • 1
  • 1
  • 8
1
vote
2 answers

Piranha CMS block inside and outside container div

From code template we have:
@Html.DisplayFor(m => block, block.GetType().Name)
it make my content block always inside container class. How to make a flexible page…
ktary
  • 41
  • 1
  • 8
1
vote
1 answer

Piranha CMS: base class for content types

I have several types of pages. But they have the same regions with settings. The question is as follows. Is it possible to define a base class with common regions for inheritance organization? So as not to define the same thing in different classes…
vladver
  • 97
  • 1
  • 1
  • 8
1
vote
1 answer

How to create a DataSelectField with a list of all the blocks of the current page Pirnaha CMS

I'm am trying to make a TabView for the user. The idea that I came up with is in the manager to create a GroupBlock that holds all the buttons ("tabs") of the TabView and I want to give each of them a DataSelectField where the manager can select…
1
vote
0 answers

How do I route Piranha CMS to a particular path in an existing ASP.Net Core MVC app?

I've been trying to add Piranha CMS (version 10) to my existing website, which is an ASP.Net Core MVC app on .Net 6. It currently uses Areas to hold content for different topics (Music, Games, etc), and I'd like to have a Blog area that runs the…
Heffay
  • 11
  • 1
  • 3
1
vote
1 answer

Use Piranha CMS Manager editor in application for other users

I am trying to create some dynamic forms using Piranha CMS. As far as I managed to learn it is not supported right now, so I'm looking for work arounds or alternatives. What I want to do now is use the editor from the manager for other users. To be…
Marian Simonca
  • 1,472
  • 1
  • 16
  • 29
1
vote
2 answers

Unable to get the Piranha CMS manager edit page to work

I am working on adding blogging functionality to an existing site and thought that Piranha might be the way to go. I have added the following: csproj
Aleksandr Albert
  • 1,777
  • 1
  • 19
  • 26
1
vote
1 answer

Piranha 9.0.1 - Custom Block Group: Unable to add items in the content Manager UI

I created a Block and Block Group. The Block Group is decorated with BlockItemType [BlockItemType(Type = typeof(DocumentBlock))], which is my custom Block. Following the Piranha documentation, I registered the Block and Block Group at StartUp.cs.…
brsfan
  • 472
  • 5
  • 13
1
2
3
10 11