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

Web Config : 'request for configurationPermission failed' error

I'm trying to deploy a website and I'm getting the following error : Request for ConfigurationPermission failed while attempting to access configuration section 'system.web/globalization'. To allow all callers to access the data for this section,…
tobiak777
  • 3,175
  • 1
  • 32
  • 44
0
votes
1 answer

Writing a cache provider with Redis and Service Stack for Piranha - keeping track of cached object type

I'm writing a caching provider to cache any type of object. The problem is casting to the correct type when I read the value out of the cache. using (var redisClient = redisClientsManager.GetClient()) { redisClient.Set(key, value, new…
Neil
  • 5,179
  • 8
  • 48
  • 87
0
votes
1 answer

Managing users with Pirhana CMS

What is the best way to manage users with PirhanaCMS? I would like to prevent some users from adding content (posts etc...) in some categories and prevent that some sites be listed for some users. (For people who don't know it, PirhanaCMS is a micro…
tobiak777
  • 3,175
  • 1
  • 32
  • 44
0
votes
0 answers

Piranha CMS + Devexpress 12.2 Deployment Exception - Unable to load one or more of the requested types

I've been trying for the last few nights to upload an MVC solution to either Azure or a VM with IIS 7.5 that uses Pirahna CMS. This uploads fine without DevExpress but when I reference DevExpress I get an exception (see below). I know that Piranha…
David Hawkins
  • 1,049
  • 1
  • 10
  • 30
0
votes
1 answer

Piranha CMS error on Azure websites

Using the prerelease 2.2 version of Piranha CMS, MVC 5 and EF 6.02 and publishing to an Azure website, I receive the following error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. …
jason
  • 767
  • 2
  • 9
  • 24
0
votes
1 answer

New MVC4 solution, adding Piranha CMS, missing assembly

I just created a new MVC4 site, pressed run to see that it works, and then ran the command: Install-Package PiranhaCMS.Mvc And then pressed run again. This results in the following error being displayed: Could not load file or assembly…
JensB
  • 6,663
  • 2
  • 55
  • 94
0
votes
1 answer

Adding Piranha CMS to an existing application

I have problem with adding Piranha CMS to my existing project. I am using MVC. After I have set up everything like it is described here I am receiving error "Entry point was not found." System.Collections.Generic.IEnumerable`1.GetEnumerator() at…
Nikola Gaić
  • 117
  • 1
  • 11
0
votes
1 answer

Piranha CMS existing models and Piranha Menu

I cannot seem to figure out how to add my preexisting pages to the auto navigation menu that Piranha generates when I call @UI.Menu(). Currently, I am using the method described here under Getting the Models to pull CMS content and display it above…
John Lieb-Bauman
  • 1,426
  • 12
  • 25
0
votes
1 answer

Change or turn off the default rss in Piranha cms

I have created a website with piranha CMS and a custom routing class. The links in the RSS flow is now broken. Can I change or turn off the default RSS solution? I tried to solve this problem by creating a controller that returns an RSS feed with…
Zaint
  • 59
  • 6
0
votes
1 answer

How to get images from current site regions?

To retrieve an image URL from a page, I do: @UI.Content(Model.Regions.ProfilePicture.Id) But how do I get images from current site Regions?
Zaint
  • 59
  • 6
0
votes
1 answer

How do I retrieve image from ImageRegion in Piranha CMS

I'm making a start page and want to let the user change the image for the carousel. The only way I see now to retrieve the image is by its GUID like this: Index.cshtml @UI.Content("1d2b6621-b7f4-4857-b131-0adcdceb4a57") How would I get it by…
Magnus Karlsson
  • 3,549
  • 3
  • 31
  • 57
-1
votes
1 answer

Adding blocks to manager

I am using piranha cms and would like to have some default blocks on certain pages that should allways show when creating a new page, is there a way to add this? Im thinking something in the way of [PageType(Title = "MyPage")] public class MyPage :…
darrrr
  • 43
  • 1
  • 8
-1
votes
1 answer

Custom block icon not appearing

I am seemingly having an issue with my custom block's icon. using Piranha.Extend; using Piranha.Extend.Fields; namespace NorthwindCms.Models.Blocks { [BlockType(Name = "YouTube Video", Category = "Media", Icon = "fa fa-video-camera")] …
-1
votes
1 answer

Piranha CMS Login issue

I am using Piranha CMS , and i want to create multiple users in different group, i tried to do so but its not allowing me to login those users,even i have to implement that logged in user should only edit few pages which is permitted to that user.…
-1
votes
1 answer

ASP.NET MVC + AngularJS + PiranhaCMS + Foundation for Apps routing issue

I have been working on this issue for longer than I'd like to admit. I have read everything I could find closely resembling my issue, and have come up empty handed. The problem I am having is getting my views to show WITH _Layout.cshtml. When I fire…
1 2 3
10
11