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)

Niraj Soni
@ns8482e
I have same issue with BlazorServer
Jasmin Savard
@Skrypt
So BuildDisplayAsync does what I thought. It renders all the small pieces from .cshtml templates. So, it's just about rendering the HTML and Body tags or not.
But at the same time then, some things might not work if you want a script rendered at header.
Because we render these scripts and styles on the header of the page.
So, returning the content of the BuildDisplayAsync without theming or scripts but if you have scripts that are rendered at head then you don't have a Layout to include them after the Body tag for example.
So, I guess in that case the best option is to use an alternate Layout
Jasmin Savard
@Skrypt
Which doesn't contain any HTML and Body tag.
Jasmin Savard
@Skrypt
Okay then from a GraphQL API call then you can parse the DOM result and keep only everything inside the Body tag since you might be requesting this from a javascript call.
Or we should be able to pass a param that says use X layout.
Jasmin Savard
@Skrypt
I think @sebastienros knows what to do here
Steven Spits
@netwavebe
@sebastienros @Skrypt I'll continue this in OrchardCMS/OrchardCore#5687
CrestApps
@CrestApps
Is there a helper to create a link for listing a specific content type?
1 reply
Jasmin Savard
@Skrypt
cors?
1 reply
CrestApps
@CrestApps
Is there a reason why typeof(Controller) instead of ControllerBase? https://github.com/OrchardCMS/OrchardCore/blob/339d74b251b53393dd510f8ad3027aa17d78500d/src/OrchardCore/OrchardCore.Mvc.Core/Utilities/ControllerTypeExtensions.cs#L10 . When creating an API controller, one would using ControllerBase not Controller
Josiah Nunemaker
@JosNun
Is it possible to have a content item with "child" content items? In my case, I want all the configuration for a multi-step process to be in one location, but don't necessarily want all the fields on one page.
11 replies
SĂ©bastien Ros
@sebastienros

@/all we have released on the cloudsmith feed the packages that we intend to ship for 1.1.0.
To test them you need to add this url in your nuget.config with <add key="OrchardCore" value="https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json" /> , and reference OrchardCore packages with version 1.1.0-preview-16522

As soon as enough people have verified these packages work, I'll publish them on NuGet.
Testing means going through the Setup, testing some features work, and ensuring our guides from the documentation work too.

Thanks

Jasmin Savard
@Skrypt
:rocket:
Andrii Chebukin
@xperiandri
đź‘Źđź‘Źđź‘Ź
Any thoughts?
Josiah Nunemaker
@JosNun
Judging by this Issue, OrchardCMS/OrchardCore#6784 would I be correct in assuming that there's currently no way to place a named part with a placement?
13 replies
Antoine Griffard
@agriffard
http://try.orchardcore.fr/ now running on 1.1.0-preview-16522 if you want to test.
pbull001
@pbull001
Can a workflow activity issue a HttpRequest to an secure api? Example, an secure api created in a module.
pbull001
@pbull001
When a workflow is triggered under what user context does it execute? For example, trigger = ContentCreated, does the workflow execute in the context of the user who created the content? How does it work with timer trigger event?
Jasmin Savard
@Skrypt
ok had enough fun with these this morning : https://gitmoji.dev/
tlowe0728
@tlowe0728
We are looking to move from the current CMS we use to another framework and I want to review Orchard Core CMS. I followed the instructions in the video (https://www.youtube.com/watch?v=3pPyNKJo1iU) and created two types of web sites by choosing the Recipe on the setup screen. It compiled and ran without errors but the site doesn’t appear to be using the theme. I did the BLOG one most recently, because that was the one chosen in the video, and in the video you can see the BLOG images and menu but my site is a white screen and only contains text and links. Am I missing something? Any help would be appreciated. I am using Microsoft Visual Studio Professional 2019 Version 16.11.5 and OrchardCore.Application.Cms.Targets v1.0.0-rc1-13433.
SĂ©bastien Ros
@sebastienros
OrchardCore.Application.Cms.Targets v1.0.0-rc1-13433 is very, very old. Use 1.0.0 instead.
1 reply
here is a very simple "Getting Started" guide https://docs.orchardcore.net/en/latest/docs/getting-started/
@agriffard we should have done some of the changes in release/1.1 instead of main, like the docs, since now the documentation references 1.1
So I am releasing 1.1 now, nobody complained, and you deployed in on try.o.fr
SĂ©bastien Ros
@sebastienros
I will need to republish, the symbols failed in the middle because of a nuget timeout, and the docker images too
Steven Spits
@netwavebe

Is there a liquid alternative for

Title.AddSegment(new StringHtmlContent(coverPage.CoverTitle.Text), "0");

How can the <title> tag be modified in liquid?

5 replies
Extrateq Company LTD
@Munde
hellow guys am having difficult in deploying orchard-core decoupled web app everything works fine in development but when I publish the website all my pages cant not be found but if I try to reach /admin is available what am I missing during publish
3 replies
CrestApps
@CrestApps
When configuring a service as singleton, does it create a singleton instance for each tenant?
3 replies
Sotiris Roussos
@urbanit
Q: list_items liquid filter in an list with enabled order, should return items in ordered way? If so, may I file a bug?
Andrii Chebukin
@xperiandri
Any thoughts about this?
OrchardCMS/OrchardCore#8171
Does no one have such an issue with a recipe update?
CrestApps
@CrestApps
Is there a way to create a link to a page that list a specific content type and creates only content types of a specific type? For example, I have a content types for "Colors" I want to add a link on the admin menu that'll take the user to a page that'll list only "Colors" content types. and when the user clicks "New" button, it'll create a new Color instead of giving the user an option to create other content-types.
3 replies
I tried this but it does not do anything special
.Add(S["Colors"], "5", t => t .Action("List", adminControllerName, new { area = "OrchardCore.Contents", ContentType = "Color" }) .Permission(CommonPermissions.EditContent) .LocalNav()
1 reply
resting
@resting
how do we backup OC? for a site with multi tenant
pbull001
@pbull001
Does anyone else feel content creation process is a little constricted? Why does content creation have to be an "admin" experience, especially given the fine grain control over content types. Granted I may just not how to use the platform. Currently you have to maintain two themes which is a little annoying. What was the reasoning behind the admin/user theme thinking and is it still a relevant default in today's user content generation world?
19 replies
How to render SEO content item parts to the page via Razor?
Josiah Nunemaker
@JosNun
Looking at the RegisterUserTask (https://github.com/OrchardCMS/OrchardCore/blob/bc9888bef3082f5f265acf24c07f360636c74ace/src/OrchardCore.Modules/OrchardCore.Users/Workflows/Activities/RegisterUserTask.cs#L97), it looks like there's no way to pass it a value from the workflow, and just pulls the email from the form. Is this assumption correct, or is there an alternative way of passing an email in?
Nic Scott
@Nic-84
Did something happen with how a new user gets assigned an ID? Before I was able to use var userData = await Orchard.GetUserByIdAsync(User.Identity.Name); (using decoupled razor pages) and it would return all of the info and fields for that user. However, when I create a new user in v1.0.0 or v1.1.0, all I get is a null when using this method. The method works for the older users created in the previous version, but this method doesn't seem to work for users created in the new version for some reason. Is there another method or process for retrieving custom fields/info for users?
Mike Paterson
@devlife
Can anyone let me know if I'm missing anything? I'm trying to use the dynamic-cache tag helper but it doesn't seem to be working. It is enabled with debug mode but is just literally rendering the html <dynamic-cache id="my-cache-item">
Dean Marcussen
@deanmarcussen
You’re probably missing the ref to the tag helper in your viewimports file . Don’t forget to take a direct reference to the dynamic cache module as well
2 replies
Nic you need to use claimtypes.nameidentifer now.
1 reply