Questions tagged [orchardcms]
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
2,955
questions
0
votes
0
answers
9
views
Creating/Structuring content types in Orchard Core (for themeing)
I'm trying to learn how to create custom Themes for Orchard Core CMS, I have figured out how to create a basic layout with a menu and pages to navigate between, and am now trying to understand how to ...
0
votes
1
answer
43
views
NHibernate OrchardCMS and Long Id: object references an unsaved transient instance
I'm using OrchardCMS (1.10.x) as a Web Application. OrchardCMS use integer field as primary key on database (ContentItemRecord.Id). However, soon, the web application will need more than pass the max ...
0
votes
1
answer
73
views
OrchardCore 1.7.2 workflow with Angular
I am using angular and orchard 1.7.2
I have some issue connecting the workflow with Angular
I tried every thing and end up with create forms dynamically using GraphQL
WorkFlow
Http Request Event
...
0
votes
0
answers
24
views
Orchard Core - Override UserMenuItems-Profile
Orchard Core contains UserMenuItems views which are templates for the user profile dropdown shown below. There are various, with conditional checks to display based on user permissions.
I am trying ...
1
vote
1
answer
63
views
How to change home page route in Orchard Core
I am trying to use Orchard Core and I need to replace the Home page route to match with the previous settings, alternatively I could move my files but I want to explore the framework and it is a ...
0
votes
0
answers
24
views
Create Content item in Orchard CMS programmatically with fields
I have a content type Event define in back office.
This content type has a location text field and a date field.
I went to create a content item with its two fields.
ContentTypeDefinition ...
0
votes
0
answers
61
views
How to return total items of a Lucene query in Orchard
I have this query in OrchardCore to return paged result of Product content type:
{
"track_total_hits": true,
"from" : {{ from }}, "size" : {{ size }},
"query&...
0
votes
0
answers
92
views
Orchard Core Workflow: Problem accessing workflow property value in a workflow "Script Task" or "If/Else Task"
I've created a workflow that's invoked when a user fills out and submits a "Contact Us" form. The workflow starts with an HTTP Request event, then eventually sends the email with an Email ...
0
votes
0
answers
48
views
How to query for menu items that can be shown/hidden with Content Permissions in Orchard Core?
I have 3 roles (all, only1, only2), 3 respected users (seeall,only1 ,only2), 3 menu items (a, b, c).
Under Edit Link Menu Item section I assigned roles to menu items.
My aim is to show menu items for ...
0
votes
0
answers
71
views
Select n items of a ContentType in OrchardCore randomly using lucene
I need to select n items of a ContentType in OrchardCore randomly using query DSL but every time it returns the same result. Actually I think that it is not a correct approach. Here is the query DSL ...
0
votes
0
answers
36
views
How to fix error message when hosting a website on IIS with Orchard CMS?
I am working on orchard CMS and trying to host website on IIS, after hosting on IIS it's throwing me an error:
warn: Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository[50]
...
0
votes
0
answers
95
views
Why are my custom modules not displaying in a Blog Post in Orchard Core CMS?
I created a custom module for Orchard Core CMS and while I can get it to edit and display in a custom content type and edit in the Blog Post content type is does not display in the Blog Post content ...
0
votes
0
answers
41
views
One Orchard Core CMS two Keycloaks
I would like to have one Orchard Core CMS instance which could use two separate Keycloaks to authentize users. Is this even possible? If so, how. OpenID module in Orchard can be set up only with one ...
0
votes
0
answers
96
views
Create users with same email address
I want to create multiple Orchard users with different username but same email address.
I've configured the IdentityOptions to RequireUniqueEmail = false, but when I create a second user the same ...
1
vote
1
answer
148
views
OrchardCore: Profile menu does not change after publish
I have a menu that I want to toggle when the user is authenticated and when not authenticated. So when authenticated, I want to show the drop down menu that includes username and submenus such as ...
0
votes
1
answer
114
views
SQL Query to return n random content items in Orchard Core
In my Orchard Core application I want to add an SQL query to get 3 random products and the query I use is as below:
SELECT TOP (3) * FROM ContentItemIndex WHERE (ContentType = 'Product') AND (...
0
votes
1
answer
37
views
Orchard CMS (Legacy 1.10, not the Core one) Permalink not found on multiple web server
I have an issue with Permalink.
Let me explain my current server topology as below :
I have two web servers (1 for CMS, 1 for Content Delivery) and single database. Both servers connect to same ...
0
votes
1
answer
136
views
Orchard core GraphiQL does not display my added field
I started my project on Orchard Core Cms with .NET 6. When I try to execute graphql query on GraphiQL tool on Orchard Core it does not display the field "description" which I added to the ...
2
votes
0
answers
57
views
Orchard Core media management permissions
I'm trying to set permissions for editing media gallery items from the UI. When giving the Author a permission to edit own media only I'm still able to delete media of other users in the gallery, ...
0
votes
1
answer
133
views
Orchard Core Razor Tag Helper unexpected redirection
I'm building a decoupled CMS site using Orchard Core. I have a strange issue where asp-page tag helper redirects me to a URL path on the admin panel. Example:
<a class="nav-link text-dark&...
1
vote
1
answer
485
views
SignalR with openiddict user claims with react
I'm currently working on a project with a react client and asp.net server.
I was tryin to add authorization to the signalR requests in the server using the existing claims that the user use in the api ...
0
votes
1
answer
223
views
Orchard Core No Page Content Type
I'm looking to use Orchard for a CMS project, I've setup my project via
dotnet new occms --framework netcoreapp3.1
and went through all the setup for my site.
According to this I would expect to be ...
0
votes
1
answer
391
views
Orchard Core - failed to load resources
I am trying to create my own theme for Orchard Core based on bootstrap but it fails to load all of the resources, whether it's javascript or styles.
This is my layout.liquid view
<!doctype html>
...
1
vote
3
answers
434
views
The recipe in Orchard core doesn't show up on admin configuration menus
I have setup Orchard core 1.2.2 but items under the admin side bar 'Configuration > Recepies' always shows "Nothing here! There are no recipes for the moment."Orchard recipe item
Then I ...
1
vote
0
answers
55
views
Modifiy response from GraphQL & Orchard
I am using Graphql queries to access our Orchard CMS api to receive content for my web page
In my case I have three different part I need to access from a page lets call them table1, table2 and table3
...
1
vote
0
answers
211
views
Connecting Orchard Core with a user management
Is it possible to connect an orchard core app to an already existing user management app? I'd like to login in the orchard core app but verify the user and check it's role in an already existing user ...
1
vote
0
answers
216
views
Documentation to create custom content type and display it in theme in Orchard Core CMS
I have created a content type named "Button" in Orchard Core CMS using the admin. But I am now stuck. I am not sure how to display the content type "button" in my theme. I cannot ...
0
votes
0
answers
621
views
Nuxt-Apollo - Network error: Server response was missing for query 'FILTERED_PRODUCT'
I am using Apollo on my Nuxt project to query the server, which is servered on Orchard-Core.
Since now I had only simple queries and it was very simple to figure out how to use them, but now I am ...
0
votes
1
answer
440
views
GraphiQL on Orchard-Core: "where" and "filter" does not work
I am trying to understand how to query with GraphiQL on Orchard-Core and I am facing some problems which I cannot fix:
I am trying to implement an extremelly simple query:
query MyQuery ($myDesc: ...
0
votes
1
answer
392
views
OrchardCore OpenId /authorize redirects to http (instead of https)
I'm currently running an OrchardCore CMS as OpenID Provider behind a nginx reverse proxy. I've entered the https URL as BaseUrl and Authority and a call to /openid-configurationstates all correct urls ...
0
votes
1
answer
275
views
How Can I relate 2 content items in GraphQl in orchard?
I want to write a GraphQl query in the Orchard with these conditions:
I have a content type for Office and another one for City
Now I want to receive all the offices in Newyork city.
But the problem ...
0
votes
0
answers
103
views
Azure DevOps .NET 5 - Publish results different from Visual Studio publish
EDIT / SOLUTION
Turns out problem had nothing to do with the build pipeline. The git repo allowed two folders (wwwroot and WWWroot) in the same place but was only sending the wwwroot to my development ...
0
votes
1
answer
56
views
Orchard Core "umlaut" (German Character) Problem
I have a Setup.recipe.json file in which there exists a content item with a html string containing German "umlaut" characters such as "ö" , "ü" etc. I tried adding ...
0
votes
1
answer
386
views
how to insert a file into orchard core media field using asp net core
I'm trying to write my own UI and use orchard core as backend. I have a content type which has a media field to get people resume. If I use orchard core and create a new content item every thing is ...
0
votes
1
answer
223
views
how to set value in orchard core text field in asp net core
I'm trying to write my own API to fill an orchard core content type which has several text field. for example the content type named "test" has two fields named first name and last name and ...
0
votes
1
answer
94
views
How To Create A Relational Contents in Orchard Core
Is it possible to create a content in orchard core with 1 to n relation? For example create a content which register a person with several addresses!
Thanks in advance
0
votes
1
answer
125
views
Migrating from Orchard CMS to Wordpress CMS
I have this task at hand to move data from Orchard CMS ( that I have no clue about ) to WordPress ( that I work with for years ), I have searched for migration tools but there is hardly anything to ...
0
votes
1
answer
110
views
How to use Orchard Disqus Feature
I'm new to orchard core and I'm trying to create a blog. About a month ago creating comment in orchard was available by just enabling disqus feature but now it is not possible for me. I enabled the ...
0
votes
1
answer
762
views
Orchard Core CMS - Is it possible to get an existing content item, to be shown in another content item?
I've been struggling to show an existing content item to a another content item, what I can do as of now is just add the content part in a content item with using Flow and Bag, but the user really has ...
0
votes
1
answer
70
views
Orchard- All Indexes Rebuild Failing
I have been having an issue where Indexes for Search have been failing for a while it seemed like new indexes weren't getting created. I went to rebuild the Search index using that rebuild button, ...
0
votes
0
answers
120
views
All my Orchard sites in IIS connect to the same database
My Windows Server 2016 machine had a unexpected shutdown due to saturation of memory and after I open it again all my Orchard sites who were working fine went to setup page of Orchard and from what I ...
1
vote
1
answer
809
views
Unable to resolve service for type OrchardCore.ContentManagement.Metadata.IContentDefinitionManager
I have created a class 'ProductPart'
where these entities will be created in Sql DB.
public class ProductPart : ContentPart
{
public decimal UnitPrice { get; set; }
public string ...
-1
votes
1
answer
40
views
fixing error of required non-static field
I wanna create an article as content part for a content type in migration of my module, but when I added the article, code show me an error.
here's the code:
public int UpdateFrom3() {
...
0
votes
1
answer
446
views
Why I cannot access admin page Orchard Core (error 404)?
I developped a website using Orchard Core CMS.
When I'm using my localhost I can access the default Admin Page to create blogs, articles etc.
But after using the 'publish' option on visual studio and ...
0
votes
0
answers
797
views
TTFB Delays on Every Page Load
This may very well be a question that is too broad to answer but any ideas would be incredibly beneficial. I have a web site where load times are incredibly slow in one environment but not the other. ...
1
vote
2
answers
216
views
Orchard CMS "Microsoft Azure Media Storage" module unable to connect to new storage account
I would like to connect my Orchard CMS v.1.10.1.0 app to an Azure blob storage account. I've followed the same process for years, following this documentation. This process has stopped working for me. ...
0
votes
0
answers
30
views
Error encounter while integrating Oauth in Orchard RSS
I am getting this error after install Microsoft.Owin.Security.OAuth from nuget manager. and site keep on loading
Orchard.Environment.Extensions.ExtensionManager - (null) - Error loading extension '...
1
vote
1
answer
236
views
Markdown not rendering html elements
This is my Markdown variable
@{
Layout="_Layout";
var post =await Orchard.GetContentItemByHandleAsync($"alias:{Slug}");
string markdown=post.Content.MarkdownBodyPart....
0
votes
1
answer
66
views
OrchardCore match_phrase doesn't return result
I have the following query
{
"from": 0, "size": 10000,
"query": { "match_phrase": {"Practitioner.DoctorList": "peter goh"} },
}
it ...
1
vote
0
answers
95
views
headless OrchardCMS - authorization issue with Grapghql
I am new to OrcardCMS. I have been working with it for some days with no issue, but yesterday I got one which I have not been able to solve since then.
I am creating a headless CMS with Graphql and ...