-
Describe the bugI have tried to follow this document today: Orchard Core versionLatest To Reproduce
Expected behaviorA tutorial should be easy to follow. I've spent all afternoon on this and not got anywhere :-( I got past this problem with the help of chatgpt but then the next issue was @await Orchard.MarkdownToHtmlAsync((string) blogPost.Content.MarkdownBodyPart.Markdown) This didn't compile either. |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 3 replies
-
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. On what happens next, see the docs. If you like Orchard Core, please star our repo and join our community channels. |
Beta Was this translation helpful? Give feedback.
-
Did you reference the |
Beta Was this translation helpful? Give feedback.
-
No, it don't think it said that in the text?
…________________________________
From: Hisham Bin Ateya ***@***.***>
Sent: 06 June 2025 7:10 PM
To: OrchardCMS/OrchardCore ***@***.***>
Cc: philipcj ***@***.***>; Author ***@***.***>
Subject: Re: [OrchardCMS/OrchardCore] Problems with getting started documentation (Issue #17987)
[https://avatars.githubusercontent.com/u/3237266?s=20&v=4]hishamco left a comment (OrchardCMS/OrchardCore#17987)<#17987 (comment)>
Did you reference the OC.Markdown module?
—
Reply to this email directly, view it on GitHub<#17987 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADI6HKX2TPSA7PWVRPGP4UD3CHKRXAVCNFSM6AAAAAB6YRUCPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNJQGA2TENJVG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Make sure that |
Beta Was this translation helpful? Give feedback.
-
Hi I will try to reply in the next few days. I managed to get round my initial problem by forgetting about the example project, and I managed to create an empty project from the templates which looks like its a good start. I'll try to follow the tutorial again later this week and also try it from my newly created project too. Many thanks.. I'll be in touch shortly. |
Beta Was this translation helpful? Give feedback.
-
Hi I have tried this. Firstly I cannot use .NET 9.0 because OrchardCore.Cms... doesn't appear to support it. Secondly I have to comment this out in my _ViewImports.cshtml file @* @using OrchardSite In the following screen, scroll to the bottom of the page and re-order the Parts like this: This is where I get lost my screen looks like this If I try to add a part to add blog post to it, I can't. I will continue on with this on Friday as I am away for the next two days. Many thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
Hi I have managed to make it work. Last time, intellisense wasn't working correctly on my computer, so I had to reinstall VS2022 later in the day. This time, it suggested @using OrchardCore so my page now looks like this @page "/blogpost/{id}" @{ This is the blog post: @blogPost.DisplayText@functions So I think the original question I had is now answered. Thanks again for your help. Hopefully now I can learn how to create Razor templates and make some websites with them! Regards Phil |
Beta Was this translation helpful? Give feedback.
-
I suggested that in #17991 (comment)
Glad that it works, and let me know if you need any help with Razor |
Beta Was this translation helpful? Give feedback.
-
Hi
If you know of any good learning resource for the templates (i.e. Not Razor but how to integrate Orchard, e.g. how to get the data from the CMS into the template). That would be very useful I'm sure. I'll have a good look around when I work on this next (soon...).
Thanks again
Phil
…________________________________
From: Hisham Bin Ateya ***@***.***>
Sent: 11 June 2025 10:43 AM
To: OrchardCMS/OrchardCore ***@***.***>
Cc: philipcj ***@***.***>; Author ***@***.***>
Subject: Re: [OrchardCMS/OrchardCore] Problems with getting started documentation (Discussion #17991)
This time, it suggested @using<https://github.com/using> OrchardCore so my page now looks like this
I suggested that in #17991 (comment)<#17991 (comment)>
Hopefully now I can learn how to create Razor templates and make some websites with them!
Glad that it works, and let me know if you need any help with Razor
—
Reply to this email directly, view it on GitHub<#17991 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADI6HKSYXBLWRUDPETQYLAD3C723HAVCNFSM6AAAAAB7B7G4IOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNBTGEYTSMI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Yes the using OrchardCore resolved this one. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
Sorry yes it is do you need me to do
Anything?
Phil
Sent from Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Hisham Bin Ateya ***@***.***>
Sent: Saturday, June 14, 2025 1:47:24 PM
To: OrchardCMS/OrchardCore ***@***.***>
Cc: philipcj ***@***.***>; State change ***@***.***>
Subject: Re: [OrchardCMS/OrchardCore] Problems with getting started documentation (Discussion #17991)
So my comment in #17991 (comment)<#17991 (comment)> is the correct answer, right? 😂
—
Reply to this email directly, view it on GitHub<#17991 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADI6HKSOSGORXFTIWN55ILL3DQKVZAVCNFSM6AAAAAB7B7G4IOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNBWHEYTONQ>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry i couldn’t see your answer for some reason please let me know if you need me to do anything
Thanks again
Phil
Sent from Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Hisham Bin Ateya ***@***.***>
Sent: Saturday, June 14, 2025 1:58:31 PM
To: OrchardCMS/OrchardCore ***@***.***>
Cc: philipcj ***@***.***>; State change ***@***.***>
Subject: Re: [OrchardCMS/OrchardCore] Problems with getting started documentation (Discussion #17991)
Just surprised when you marked your answer, the right answer 😂
No problem
—
Reply to this email directly, view it on GitHub<#17991 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADI6HKUYAHH7ZR2Q2B3H33T3DQL7PAVCNFSM6AAAAAB7B7G4IOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNBWHEZDCMI>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi
I have managed to make it work. Last time, intellisense wasn't working correctly on my computer, so I had to reinstall VS2022 later in the day.
This time, it suggested @using OrchardCore so my page now looks like this
@page "/blogpost/{id}"
@using OrchardCore
@Inject OrchardCore.IOrchardHelper Orchard
@{
var blogPost = await Orchard.GetContentItemByIdAsync(Id);
}
This is the blog post: @blogPost.DisplayText
@functions
{
[FromRoute]
public string Id { get; set; }
}
So I think the original question I had is now answered.
Thanks again for your help.
Hopefully now I can learn how to create Razor templates and make some websites with them!
Regards
Phil