Missing DisplayAsync Razor Helper Extension #12214
Replies: 3 comments 7 replies
-
Our custom RazorPage already has a For this you need a
|
Beta Was this translation helpful? Give feedback.
-
Note: In the context of Orchard using the theming engine, we don't use See the
Looks like you are still injecting |
Beta Was this translation helpful? Give feedback.
-
Okay, I'm getting somewhere. It seems that we could reformulate the original question with: Is it possible to render shapes in a decoupled architecture (without Views and Templates)? Why? I originally started with decoupled site, because of the lowest learning curve. The project I work on is not massively complicated (basically a blog with some a-little-more-complex-than-usual tagging system, comments and possibility of creating a list of liked posts stored in LocalStorage/Cookies). But now there's Disqus module I want to implement, which apparently is to be rendered as a shape. So the actual question is: Is there a way to render the Disqus Part without using shapes system? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Community,
I came across a following issue:
I want to use the Orchard.DisplayAsync() method, but I get the following error:
CS1929 'IOrchardHelper' does not contain a definition for 'DisplayAsync' and the best extension method overload 'OrchardRazorHelperExtensions.DisplayAsync(IOrchardDisplayHelper, ContentItem, string, string, IUpdateModel)' requires a receiver of type 'IOrchardDisplayHelper'
The argument is of type ContentItem and the Helper is injected via
@inject OrchardCore.IOrchardHelper Orchard
.Any way around this?
Beta Was this translation helpful? Give feedback.
All reactions