Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Omid Nasri
    @omidnasri
    But I don't know how
    Jasmin Savard
    @Skrypt
    Look in the TheBlogTheme
    Content-Blog.liquid
    Content-BlogPost.liquid
    Content-BlogPost.Summary.liquid
    If you don't have these templates in your theme then copy them over to yours
    Amir Modjtabaa Padashi
    @ampadashi
    @omidnasri If you're in Iran, call me. i'll explain u
    Omid Nasri
    @omidnasri
    OK
    Omid Nasri
    @omidnasri
    Thx @ampadashi
    Carl Woodhouse
    @carlwoodhouse
    oh wow ShellScope.AddDeferredTask is a little hidden gem :o
    Jean-Philippe Tissot
    @jptissot
    @sebastienros do you know if there is a guide on how to implement a Content approval workflow ?
    Sébastien Ros
    @sebastienros
    there is a blog post from sipke I think, or maybe it was from o1
    you need to know that there is a User Task that also lets you add custom buttons in the editor, such that instead of "Publish" you can click "Ready for Review" (example) and then you can trigger emails with actions in the email like "Approve" / "Reject" ...
    Jean-Philippe Tissot
    @jptissot
    "Custom buttons in the editor" ? What would be ideal is if there was a button to click on the SummaryAdmin view.
    Sébastien Ros
    @sebastienros
    @jptissot that's an improvement that could be done. We have Publish/Delete links already, some settings on the task could decide to show the buttons in the summary instead.
    but usually you don't do that without looking at the content directly
    Matt Kenney
    @themattkenney

    @neman We are using the UserProfile module with clients. If you have any questions let me know we can send you examples. We use it in our https://github.com/themattkenney/OrchardCore_AdvancedForms to show form submissions to end users. We have not had time to update to RC yet. We have on the list and hope to get to it as early as next week

    Does anyone know if there is a way to add a content type to the Registration module? So, when a user registers you could require more fields to be filled out.

    Amir Modjtabaa Padashi
    @ampadashi
    @omidnasri yourwelcome😉
    OmarBoushik
    @omar.stratagile_gitlab
    @sebastienros @Skrypt @jordy-nl For the Detailed Description I need a Html Editor for display , also i need to put a icon for the Admin Menu, the admin menu is a module from the code, Could you please help me to solve this issue
    Admin.JPG
    Jasmin Savard
    @Skrypt
    @themattkenney I think you would need to extend the IUser there's an example of that in the OrchardCore.Demo project
    @omar.stratagile_gitlab I don't know where you are there in that screenshot
    OmarBoushik
    @omar.stratagile_gitlab
    @Skrypt The Admin View is a module that i build in the solution, i have to put a icon for that admin view title similary the rest of the labels in the left side bar
    Nemanja Đorđević
    @neman
    @Skrypt Where can I find this OrchardCore.Demo project?
    Nemanja Đorđević
    @neman
    Thanks @Skrypt
    jordy-nl
    @jordy-nl
    @omar.stratagile_gitlab You could have a look how the community did it in by downloading repo https://github.com/OrchardCMS/OrchardCore
    Amir Modjtabaa Padashi
    @ampadashi
    Does anybody have any idea why {{ Culture.Dir }} doesn't work?
    Dario Alvarez
    @DariuS231
    We need to implement a search page with advanced filtering(refiners). Is there an example or some guidance around how to achieve this? The Content types we want to work on have been index and I have an idea of how to do this with Lucene. I just wanted to ask in case there are other ways of doing this or someone has done something similar.
    Jasmin Savard
    @Skrypt
    It’s my current work in progress website
    Search made with Lucene Queries
    There is no documentation for how to do this right now.
    And there is one PR that fix most issues with the current Lucene implementation that I made.
    Dario Alvarez
    @DariuS231
    @Skrypt It looks amazing! Would you be able to tell me more about it? is it all liquid views gettin the results from the Lucene Query?
    Jasmin Savard
    @Skrypt
    I have some Liquid views and some Razor views
    frontpage is a liquid view
    and the result page is Razor view as I wanted to have a strongly typed viewmodel for my form
    so I created a module for the search result pages with custom routing
    And the data is fetched with a Lucene query in my controller
    It's a "decoupled" module.
    Mike Paterson
    @devlife

    @sebastienros I check it on the latest dev on a new site and works ok. @devlife please check that under Configuration->Settings->Registration the 'Users can create new accounts on the site is checked.

    @MichaelPetrinolis that was not checked! I will check it and verify. Thanks!

    tempcode
    @PiemP
    Hi guys, I'm doing some translation for OrchardCore and I need some clarify...What the meaning of the word "Effective" in the edit roles view?
    Peter Keating
    @peterkeating
    @PiemP I believe "Effective" indicates which permissions the role is currently permitted to use :thumbsup:
    @PiemP If you look here - https://github.com/OrchardCMS/OrchardCore/blob/c7373aab70b78869f854009cc6a70898503ef27f/src/OrchardCore.Modules/OrchardCore.Roles/Controllers/AdminController.cs#L274 You can see to obtain which permissions to role has access too, a fake user is created with the role being viewed, and all the possible permissions are validated to see whether the role has access to that permission
    tempcode
    @PiemP
    Thank you @peterkeating ... you give me the right way to see the "Effective" meaning ... I believe is like a sum of Modules default permissions and Recipe permissions ... Like the intial role status...right?
    Peter Keating
    @peterkeating
    @PiemP Yea, it's the roles current permission state.
    Dario Alvarez
    @DariuS231

    With Lucene, How can I filter by a custom field?
    I have the following Query that works fine,

    {
      "query": {
        "bool": {
          "must": [
            { "term" : { "Content.ContentItem.Published": "true" }},
            { "terms" : { "Content.ContentItem.ContentType": ["Solution"] }},
            {
              "bool":{
                "should":[
                  { "match" : { "Content.ContentItem.DisplayText.Analyzed": "{{ keywords }}" }}
                ]
              }
            }
          ]
        }
      }
    }

    But when I try to filter by a custom field I don't get any results. I have tried:

    { "term" : { "Content.ContentItem.SolutionPart.Clients": "4t3hxhrqh8ddfdfdfdfb6v0fdx" }}
    { "term" : { "Clients": "4t3hxhrqh8ddfdfdfdfb6v0fdx" }}
    { "term" : { "SolutionPart.Clients": "4t3hxhrqh8ddfdfdfdfb6v0fdx" }}

    It all has been index and I can see the table with content. How can I know the name of the Column I should use to filter by?