Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 12 2020 01:41

    jtkech on patch-1

    (compare)

  • Apr 12 2020 01:39

    jtkech on patch-1

    Update ZoneShapes.cs (compare)

Daniel Ruppert
@Niocron_gitlab
in the current version mutations for graphql aren't supported, right?
Arumar
@Vorheez

Okay i have searched through the conversations but don't see the solution. We are trying to use the smtp section but get a SSL Cert error, a lot of solutions say to ignore validation callback but don't see an option to do that through UI, where can i set it in code so it used that option.

Sending email from codebehind works fine. Not through the SMTP admin option though.

2 replies
awyl
@awyl

I am trying to override ContentPart.Edit.cshtml shape in Admin Template. Because I don't want the title of the named part showing. So I have this ContentPart_Edit shape in Admin Template. However it doesn't work, what did I do wrong?

{% for shape in Model %}
  {{ shape | shape_render }}
{% endfor %}

I tried to output the Model, it shows OrchardCore.DisplayManagement.Shapes.Shape. If I shape_render it, it will endless loop.

Sotiris Roussos
@urbanit
stupid question: does OrchardCore repo have "dev" branch?
4 replies
Sotiris Roussos
@urbanit
image.png
9 replies
updated to latest main and got this when tries to launch widgets... Any ideas?
yiannis kyriazidis
@giannik
I wish to reference any existing theme dll from one web site to another. So I just copy TheTheme.dll and TheTheme.Views.dll to a libs folder in my new project and reference the 2 assemblies in the new web site project.
But I dont see from the admin in themes section this new theme to activate .
Should'nt this work out of the box ? I dont see any mention of the theme in the features list either .
Dean Marcussen
@deanmarcussen
I would think you'd want to reference the nuget package, just grabbing the dll's would not include the manifest info packing I suspect
yiannis kyriazidis
@giannik
yes @deanmarcussen the nuget package reference worked.
JoshTango
@JoshTango
where is the link to setup nigthly builds for my nuget packages please?
where is the page explaining how to set this up is what i mean
Jeipi Oyams
@boryams90_twitter

Hi all. I install Commentator.OrchardCore.
image.png

and Im getting an error
image.png

Any idea how to fix this?

This message was deleted
aaronamm
@aaronamm

How can I use placement.info to hide Blog content item on a home page?
Here is what I have done so far:

  • Create an Orchard project with a blog recipe.
  • Create a custom theme.
  • Put placement.info in the root of my theme.
  • Here is the content of placement.info
    {
    "Content__Blog": [
      {
        "place": "-"
      }
    ],
    "Content_Blog": [
      {
        "place": "-"
      }
    ],
    "Blog": [
      {
        "place": "-"
      }
    ]
    }
  • None of these filters work, a blog content item still show on home page. I think to simplify example code we can remove other option, e.g. display type.
  • I can create Views/Content-Blog.cshtml with empty content in my custom theme but I think it is tricky and not the right way to do it.
  • Please could you help me figure it out?
  • I have tried to debug source code but still don't' understand how it work.
  • From what I understand now, the shape name should be "Content__Blog".

Thanks.

6 replies
Sotiris Roussos
@urbanit
Does anyone else face the following problem (french or non-english): when publishing this Admin/Contents/ContentItems/{ContentItemId}/Edit?returnUrl={greek or unicode characters} the redirect goes to {some encoded or strange characters url} and of course we are getting page not found... It happens on Azure, not on local dev env.. Both on .net 3.1 and 5
vmahant
@vmahant
Any Idea if I can use default orchard site for single sign-on for all other orchard tenants?
3 replies
CrestApps
@CrestApps
Is theming available on OrchardCore "outside the CMS"?
13 replies
Mark Clark
@daerogami
Back in July I asked about hosting a SPA (Angular) with the same middleware that is running OrchardCoreCMS. Has anyone managed to find a a good configuration to accomplish this? The main issue I run into is conflicting resources at the root level and I'd prefer to not put my SPA inside a route (I want all of the spa routes to start from root). I wouldn't mind serving the CMS from its own route but finding a good configuration for that is proving difficult.
14 replies
Greg Finzer
@GregFinzer
I created a project with VS2019. I ran the Empty Recipe on Startup. Is it too late to run the blog recipe? How would I do that?
Mark Clark
@daerogami
@GregFinzer I think you can run a recipe from Configuration>Recipes in the admin backend. I'm not sure if all the default recipies show up there.
Arumar
@Vorheez
This message was deleted
3 replies
Andrew
@andrewcampkin
Hi, I'm looking for a guide on customising the error views that come with OrchardCore.Diagnostics. From my understanding of how that module works it isn't possible to just create copies of those views within a theme, as this is a controller/action process rather than driver/shapes. Is it possible to customise those views within a theme?
gyanendrarijal
@gyanendrarijal
Hi, I noticed that OrchardCore downloads all localization files. Is it possible to limit or completely disable the download of these files? We use only the English version of the admin part.
2 replies
somecodeguy
@dafergu2:matrix.org
[m]
Trying to get <dynamic-cache> working. It doesn't seem to be doing anything. The module is enabled, the taghelper should be imported.
2 replies
somecodeguy
@dafergu2:matrix.org
[m]
Hey @sebastienros, I was profiling my db to watch how many times it was being queried during some caching testing and I noticed something odd. If I refresh a page, the very first event I see in my profile is a sql logout (SQL Server) that is then followed by a login. Any idea why that is? Is a connection not being cleaned up properly? Or is the connection being dropped unnecessarily?
3 replies
CrestApps
@CrestApps
How can I chain AddNewtonsoftJson() to services.AddOrchardCore().WithMvc()...?
somecodeguy
@dafergu2:matrix.org
[m]
lengockyquang
@lengockyquang
how can i disable a term of taxonomy and unpublish all post belong to that term ?
Dean Marcussen
@deanmarcussen
i would use the taxonomy filters, select the term you want to unpublish, and use a bulk action unpublish to unpublish them all
lengockyquang
@lengockyquang
but what if I have a lot of blog posts, I still have to unpublish multiple times for each page in admin content item list
Dean Marcussen
@deanmarcussen
that's what the bulk actions bit is for. click click. unpublish lotsa things
lengockyquang
@lengockyquang
okay :D
somecodeguy
@dafergu2:matrix.org
[m]
I've got application insights enabled. When looking at the default reporting in the Failures and Performance blades in Azure, the operation name is listed as Diagnostics/Error or Item/Display. Is there a way to get AI to list out the different content items separately rather than grouping everything together like that?
Dean Marcussen
@deanmarcussen
have a look at the lombiq module
somecodeguy
@dafergu2:matrix.org
[m]
@deanmarcussen: I looked at it briefly but didn't find an immediate solution to that. It looked like that was adding background tasks, user name props, and shell name. What we'd need to do is update the operation name.
somecodeguy
@dafergu2:matrix.org
[m]
if I need to override the implementation of an orchardcore module's driver, should I do a remove on that type in the services collection and then add my own?
Daniel Ruppert
@Niocron_gitlab
hello there...i have added azure ad login for the admin area but i also nee to login via an vue.js app...is there a tutorial or can someone guide me? do i only need to get the token from azure and redirect it to cms/signin-oidc?
Daniel Ruppert
@Niocron_gitlab
so the token server remains azure, not the cms
Daniel Ruppert
@Niocron_gitlab
also i should mention that i am using the rest api while mutations arent supported and would like to know if there are api endpoints generated for the content types generated by the backend?
somecodeguy
@dafergu2:matrix.org
[m]
@sebastienros: Testing out with .net 6 rc2. Everything works on prev 6 but on rc2 I get an exception saying the The view 'Display' was not found followed by a list of search areas.
3 replies
somecodeguy
@dafergu2:matrix.org
[m]
Is there a way to add an attribute but not a value to a block tag using {% block %}?
trying to render the async attribute for a script block
Jeipi Oyams
@boryams90_twitter
Hi I want to assign a username to a rolename, is my username value correct?
Extrateq Company LTD
@Munde
Hellow there am new to orchard core and struggling how can I get specific content by either contentItemId or by alias if the items are part of BagPart as I found grouping items by BagPart makes easy for grouping similar contents the problem arise I cant get items that are part of bag part any help will be appreciated
reimac05
@reimac05
Hi guys, I wasn't able to make my Lucene Query case insensitive while searching field content using wildcards. I found out, that it should be possible to switch to a different lucene analyzer, which creates the index in lower case but that did not pay off. new StandardAnalyzer(LuceneSettings.DefaultVersion) . Can somebody help? The only other option I can think of is duplicate each field and save the duplicate as lower case.
dhananjay-karkera-spider
@dhananjay-karkera-spider

Hi,
I am implementing Orchard Core using Modules. I need to inject the Db Access (Sql Server) into the controllers ?
What is the best way forward? I tried the following in the host ASP.NET Web Api- project but it does not work for me. Its not a multi tenant app.

````csharp
services.AddOrchardCore().ConfigureServices(tenant =>
{
tenant.AddScoped<IDbService, DbService>();
});

kakashi0807
@kakashi0807
Hi,
I have a content type Ticket with the required field "Name", I am testing to API create a new content item Ticket without Name. My expectation is the error will return, but it's still creating a new Ticket successfully. Please help me. Thanks