Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Tyson Gibby
    @Unconquered1
    Sorry everyone, I got sick for a couple weeks and stopped recruiting to the stackexchange site for more than 7 days so it got turned off.
    Sander Geerts
    @Devqon
    What should we tell you about it?
    Phil Davies
    @lazcool
    It looks like it might be a recipe step to run other recipes!?
    Steven Spits
    @netwavebe
    @Unconquered1 Sorry to hear that, Tyson. Hope you feel better now?
    Antoine Griffard
    @agriffard
    @netwavebe Can you please test OrchardCMS/OrchardCore#5813 ?
    Steven Spits
    @netwavebe
    Looks good @agriffard , thanks for fixing it! :thumbsup:
    Steven Spits
    @netwavebe

    I created a LayoutSettingsPart to attach to widgets so I can add some styling. That part should not render anything but rather apply styling to the default implementation of Widget.cshtml:

    <div class="@String.Join(" ", Model.Classes.ToArray())">
        // ... code removed...
    </div>

    How can I add items to the Classes property? I assume this is possible in my ContentPartDisplayDriver<LayoutSettingsPart>?

    ruisdias
    @ruisdias
    Do orchard core have support for load balacing?
    Tff27
    @Tff27
    Hi all, anyone have tried using orchard behind a proxy server in a linux host? Azure ad authentication is redirecting to an http uri instead of an https, any ideias on this?
    Mark de Groot
    @markdegroot
    @scleaver I am working on something similar as what you wrote on March 24th. I have a Dropdown menu, Main menu and a Mobile menu both sharing the same "main-menu" alias.
    I am trying to figure out how I can use different Menu, MenuItem and MenuItemLink alternate templates for Main menu and another set of templates for the Mobile menu. Do you perhaps have an idea how to do this or do you have example code on github perhaps of how you ended up building your menus and applying shapes?
    vitalybrandes
    @vitalybrandes
    How can I add content picker to user profile? I would like to assign some contentitem to User as filed. Same content can be assign to multiple users. Otherwise, how can I assign users to ContentItem? ( will be better)
    Jean-Philippe Tissot
    @jptissot
    @Tff27 I believe there is a module for proxy settings
    Search the OC feature page for proxy
    Sander Geerts
    @Devqon
    Anyone any advice for a free SQL database provider? I want to host an OrchardCore instance in Azure Linux, but only for testing purposes for now
    Lawrence Dine
    @lawrencedine
    Does anyone know if the activation codes for confirming user email addresses expire after a period of time? If so, how long?
    Tff27
    @Tff27
    @jptissot Thanks, i've found it, i'm trying to configure it, but even when i'm at an https url my proto header is http i'm debugging as we speak. If you guys have any idea on this please forward to me . (An api with swagger on same env does authentication just fine without this strange http/https misbehavior)
    Sander Geerts
    @Devqon
    @lawrencedine Orchard uses NET's Identity under water, which I think defaults to 1 day for expiration of tokens
    Stu Ratcliffe
    @sturatcliffe
    Morning all, can someone point me in the direction of how to customise the admin UI? I'm sure I've read somewhere before that we should be able to drop an appropriately named view in the correct folder somewhere and it should take precedence. But I can't find it now - and not sure if there's an easy way of working out which view it is we need to override without scouring though the src on github?>
    Stu Ratcliffe
    @sturatcliffe
    found this, which is probably what I remember seeing before: https://docs.orchardcore.net/en/dev/docs/guides/create-admin-theme/
    but what's the recommended way of finding out which view it is we need to override?
    Sander Geerts
    @Devqon
    @sturatcliffe do you mean create a custom Admin theme or override views from your module?
    Stu Ratcliffe
    @sturatcliffe
    well, we don't need to make drastic changes, just fix up a few things that we think benefit our users from a UX perspective
    so whichever is least work! I was sure I'd read that we should be able to override admin views without doing a full custom theme, but the page I linked to above shows a custom theme extending the base admin theme, so maybe that's the only way
    Sander Geerts
    @Devqon
    It probably is possible to do it from your module, but I'm not sure which alternate you should use. You might need to use the debugger to track it. However a custom Admin theme that extends the default theme isn't a lot of work either
    BJury
    @BJury
    Doesn't the 'TheAdmin' theme have everything? (I need to do the same thing soon,so assumed this would be a good template)
    Dean Marcussen
    @deanmarcussen
    TheAdmin theme is mostly a thin wrapper of css and js. The majority of the shapes are provided by the modules. so you can override these either from your own admin theme or a module. I use placement.json in modules quite a bit to move things around in the admin. Equally I also use a custom admin theme to provide different css. But if you want to override views, then realistically you'll need to dig through the source to find the original view you want to modify. There is also the AdminTemplates feature to do them in liquid.
    Lawrence Dine
    @lawrencedine
    @Devqon Thanks for the nudge to check out ASP.Net Identity, sorted our issue now
    Jon Quick
    @JonGQuick_twitter
    Hello everyone. I am starting out with OrchardCore, and building a pretty flat site with CMS based on Agency Theme/recipe. I have then switched to my own Theme, I have modified Content__LandingPage to my requirements. My question: is it possible to incorporate Blog functionality by running the Blog recipe? - can the created Blog ContentType be referenced from the Content_LandingPage template. Or would I be better to create my own Blog and BlogPost ContentTypes (copying the recipes idea), and add this as a named ContentType on my LandingPage content type? Thanks!
    Antoine Griffard
    @agriffard
    @JonGQuick_twitter You should create your own Blog and BlogPost content types.
    Then, you'd better not include them in a BagPart, keep them separate and you could list the blogpost by using a query and some Liquid code in your Landing Page template.
    Jon Quick
    @JonGQuick_twitter
    Many thanks @agriffard !
    Appsum Solutions
    @nfdevil
    I have OrchardCore running on an azure kubernetes pod, which is exposed using Nginx Ingress. I was able to do the setup using a PostgreSql running on Azure, but when I now try to access the admin panel using my account, which exists in the PostgreSql db, it keeps reloading the /Login page without any error in the UI. the logs of my k8s pod says: AuthenticationScheme: Identity.Application signed in. User logged in. Executing RedirectResult, redirecting to /admin. and then suddenly Authorization failed. AuthenticationScheme: Identity.Application was challenged. any idea what could be the problem or what I could do to debug this?
    ruisdias
    @ruisdias
    Hi, is there any way to skip the setup step?
    I mean, use variables or something already in the project, in appsettings p. example
    Antoine Griffard
    @agriffard
    @ruisdias OrchardCMS/OrchardCore#4567 may be
    Stu Ratcliffe
    @sturatcliffe
    @deanmarcussen so I should be able to drop a view with the same name as an admin view, in any module, and it should take priority?
    Stu Ratcliffe
    @sturatcliffe
    I ask as I've tried creating a custom theme which extends TheAdmin, but I lose all the default styling - not what I expected :(
    Jon Quick
    @JonGQuick_twitter
    Hi guys, trying to create Blog ContentType with a LIST of BlogPosts (rather than bag). I can define the list to be of type BlogPost. But if I create an instance of BlogPost through Admin UI, there is no way to associate to instance of Blog? Does this require additional coding to build Admin functions to make this link? I see it is implemented in 'TheBlogTheme'
    Jon Quick
    @JonGQuick_twitter
    ^^ please ignore. I've worked it out :)
    Stu Ratcliffe
    @sturatcliffe
    what's the easiest way of adding custom JS files to the admin site?
    (without a custom admin theme if possible)
    Dean Marcussen
    @deanmarcussen
    @sturatcliffe best way I've found of customising the js is with a custom theme. example here https://github.com/ThisNetWorks/ThisNetWorks.OrchardCore.Themes/tree/develop (on the develop branch)
    Stu Ratcliffe
    @sturatcliffe
    @deanmarcussen okey dokey, in hindsight I can't see how it would work without a custom theme. the issue I have is we just want to tweak a couple of views here and there, but largely leave TheAdmin as it is
    however, as soon as I enable my custom theme I lose all the base css (and presumably js)
    is that expected? or have I borked the base theme setting?
    Stu Ratcliffe
    @sturatcliffe
    aha fixed it, I think, didn't see the dotnet CLI template had added an empty layout liquid file
    oops!
    so next question - if I want to inject a simple js file into the layout, can it be done without replacing the existing layout file? as we don't really want to have to watch the admin theme for changes and keep ours in sync
    Sander Geerts
    @Devqon
    You can inject any resource in numerous ways. The DemoModule of Lombiq for example uses a global filter to inject a JavaScript file