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)

Sébastien Ros
@sebastienros
I think it doesn't work yet
I can do it in an hour
mmdqq
@mmdqq
image.png
Do I have to manually modify these data when exporting the configuration through the Deployment Plan? Is there a better way?
somecodeguy
@dafergu2:matrix.org
[m]
Why would you want to modify them?
mmdqq
@mmdqq
@dafergu2:matrix.org Because I want to configure it to generate a new website
somecodeguy
@dafergu2:matrix.org
[m]
Sure, I get that, but why do you need to modify those values on a new website?
mmdqq
@mmdqq
@dafergu2:matrix.org I hope to be able to easily create an setup recipe
somecodeguy
@dafergu2:matrix.org
[m]
for the admin user, I'm guessing you can use the recipe js functions, just like you can use uuid() in the recipe. But there is no reason that an id can't be the same between sites.
Look at the recipes in the themes folder in the oc source. You'll see what I mean.
mmdqq
@mmdqq
@dafergu2:matrix.org The new website needs to be deployed on a different server
somecodeguy
@dafergu2:matrix.org
[m]
Right, I get that. Again, there's no reason you can't just use the same values. Except for maybe the admin user.
If you want the dates to be different, then you'll need to handle that though.
you can set up variables in the recipe
mmdqq
@mmdqq
@dafergu2:matrix.org Okay, I'm going to see now. I have another suggestion. Can add the LayerPart in orchard?
somecodeguy
@dafergu2:matrix.org
[m]
In the recipe? Sure
Do a search for 'layer' in the file I linked above.
mmdqq
@mmdqq
@dafergu2:matrix.org In content edit
somecodeguy
@dafergu2:matrix.org
[m]
I don't follow the question
mmdqq
@mmdqq
image.png
@dafergu2:matrix.org Is this part automatically generated or manually edited
somecodeguy
@dafergu2:matrix.org
[m]
You mean during a deployment? No, the recipe is manually created. You can use the deployment generated file to pull in a lot of the data though.
the deployment feature is meant to move content from one site to another, not to create recipes for themes, I believe.
mmdqq
@mmdqq
@dafergu2:matrix.org There is a LayerPart in the old orchard, which looks easier to use, I mean can it be added to orchardCore?
somecodeguy
@dafergu2:matrix.org
[m]
so, say you have a staging server and a prod server. It's meant to be able to move the content from staging to prod.
I'm not familiar with that part, but if it simply allows you to select a layer that certain content is shown on when the content item is rendered, then I suppose it could be added. I can't say that I'm an expert on things, still learning a lot myself.
personally, I think I would simply just render zone specific content in the template of the content definition
mmdqq
@mmdqq
@dafergu2:matrix.org I will look at the source code of the recipe, thank you
somecodeguy
@dafergu2:matrix.org
[m]
no prob, hope it helps.
@dafergu2:matrix.org Can this module be added to Orchardcore?
somecodeguy
@dafergu2:matrix.org
[m]
That'd be a question for the core team, but my gut feel would be no. I could be wrong though. :)
mmdqq
@mmdqq
@dafergu2:matrix.org Okay, thank you anyway
somecodeguy
@dafergu2:matrix.org
[m]
Sorry I couldn't be of more help. Though, if you're looking for a layout control, check out the flow part
mmdqq
@mmdqq
@dafergu2:matrix.org Ok i'm going to see now
somecodeguy
@dafergu2:matrix.org
[m]
it allows you to put other content types on a page, control columns, drag and drop things around, etc.
you can control the exact content types that are allowed to be placed in the flow part.
Sébastien Ros
@sebastienros
@jeffolmstead PR submitted OrchardCMS/OrchardCore#9116
somecodeguy
@dafergu2:matrix.org
[m]
@sebastienros: I ended up just creating a bag list of a content type which simply contained the part I had created. No idea how to get a shape object for a Named Part on a content type, so that was my work around.
Let me know if there is a better way to do that. I did add an alternate so that I could easily override the rendering for each widget I put in the bag based on the containing widget type and the bag item type.
Mark Vroom
@markvroom
Hi! I have followed this https://www.youtube.com/watch?v=DsFC0EqCXkE quickstart guide on OpenId auth for Orchard. Using Postman to test the API with this body text &grant_type=client_credentials
9 replies
But the response is The specified 'grant_type' parameter is not supported." Have tried everyting, verified the OpenId Server settings, client_credentials are checked... Any clue how I get rid of this message?
agono
@agono
@agono Ill try to ask again, because my original question is allready way up :) Does OrchardCore support Windows authentication, or what is the correct way to add it? Active Directory Federated Services (ADFS) with OpenId Connect? For example to build a "intranet" site on OrchardCore. Or another scenario - allow windows users to access the /admin... Thank you in advance for any response :)
iAmcR
@iAmcR
@deanmarcussen Do you know which hash Orchard core uses? I'm trying to reset a password. Or how would I go about resetting the password?
Hi Everyone, How would I go about resetting a password in Orchard Core?
CrestApps
@CrestApps
Can Part have display-mode? I know field have display model that would allow you to change how the field appears based on the display-mode. But, am I able to assign different display-model to a part so control how that part+display-mode appears? One example, would be to show an attachable part "collection of fields" in a unique way across multiple content-types
Sébastien Ros
@sebastienros
Yes they can, the same way as field. A recent PR even extended this feature.
CrestApps
@CrestApps
@sebastienros I can't get it to render. The part is called "MoreFilterPart" the display mode is called "Input". I created MoreFilterPart-Input.DisplayOptions.cshtml to show the Input option. I also created the MoreFilterPart-Input.Display.cshtml to display the part using rhe "Input" mode, but that view never gets called.
the input option works as expected the the option show up in Admin.