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)

JoshTango
@JoshTango
thats y it didnt work
this formatter is weird
" abc"
"spacebarabc"
sissel.shopify-liquid
thats the one
maybe i need to change it
Shane Courtrille
@ShaneCourtrille
Is anyone online that can explain OC2003 warning?
JoshTango
@JoshTango
i uninstaleld this formatter and reinstalled the most popular one
we'll see what happens next time
JoshTango
@JoshTango
that profiler added a spacebar ahead of every media profile name in my lquid views.
somecodeguy
@dafergu2:matrix.org
[m]
What's the best way to get a sortable list of content accessible by any other content item? I've already gotten my query to retrieve the list, but I need it to be user sortable. I seem to recall, @deanmarcussen that you had done some work with a sortable list?
Dean Marcussen
@deanmarcussen
By using the list part n setting the enable ordering setting . Then they’re drag n droppable
3 replies
Stan
@stanbdos_twitter
Hey what would be the best approach to deploy a small orchardcore site to a remote windows server. It is a shared hosting plan... Do I use Web deploy and export the database to a sql script?
4 replies
somecodeguy
@dafergu2:matrix.org
[m]
@sebastienros: I'm playing with Fluid tests, when I create an object to write to json with the misc filter, none of the properties are printed even though the AllowModelMembers is set to true when creating the TemplateContext. Is this by design?
somecodeguy
@dafergu2:matrix.org
[m]
@sebastienros: Created a PR for that bug in Fluid I am hitting. sebastienros/fluid#352
Peter Keating
@peterkeating
Hey all, I'm having an issue with getting any results from a Lucene query when using "must_not". With the following template, I can get a single content item when switching the "must_not" to a "must", however when running with the "must_not" it returns nothing, when I'd expected to see everything but the specified content item ID. Anyone see anything obvious I'm doing wrong?
{
  "query": {
    "bool": { 
      "must_not": [
        { "term": { "ContentItemId": "4ak2n0ebx0vm4x5mhjcez1vrw1" } }
      ]
    }
  }
}
MohitNaroliya
@MohitNaroliya
Anyone can help me to fix that issue - OrchardCMS/OrchardCore#9560
Dean Marcussen
@deanmarcussen
you might need to use the CommitTransaction task / activity for SqLite if you are getting db locked @MohitNaroliya . Only required for sqlite
1 reply
Alok Sharma
@aloksharma1
hello guys, did the hosting system changed in net core, previously in mvc5 i was able to update modules by simply placing/overwriting dlls in bin folder, now howere with new version i have to do full publish and overwrite on my existing app this is killing me, the modules are ever changing and for every small change i cant just be doing full code ftp
12 replies
using iis 10 inprocess hosting
Kevin Welsh
@kdubious
@deanmarcussen, do you have 15 minutes to connect on the Import/Export conversation so I can get good data for the article?
3 replies
sometime next week maybe?
aaronamm
@aaronamm

It took me for a while to understand why an HTML input has an empty value even though a view model has a value.

Normally when a model state has an error, we return an empty view model but it is not the case for Orchard that we return an output of HttpGet Edit method.

This means our view model has a value from a database which is different from a normal MVC action that we return an empty view model when getting a validation error.

This is new for me because I haven't realized how an HTML input is assigned a value.
It doesn't matter if a view model has value or not. If a model state has an error, an HTML input will be set value from a model state.

REF:
https://github.com/dotnet/aspnetcore/blob/main/src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGenerator.cs#L1165

Here is the screen short of a workflow.

image.png
aaronamm
@aaronamm
* view model which is bound value with HTTP from data
somecodeguy
@dafergu2:matrix.org
[m]
@sebastienros: Lemme know if you want any other changes for the Fluid PR. I incorporated the suggested change.
When's the next standup for OC?
Sébastien Ros
@sebastienros
@dafergu2:matrix.org every tuesday, 12pm pacific
1 reply
aaronamm
@aaronamm

Does anybody know if Assets.json in a custom module work if we create a project from a command line tool not from Orchard Core source code e.g.

dotnet new occms --name Codesanook.Web
dotnet new ocmodulecms --name Codesanook.Map --AddPart True --PartName Map

Let's assume that Assets.json is a root of Codesanook.Map.
Here is project structure.

orchard-examples/
|--Codesanook.Web/
|--Modules/
  |--Codesanook.Map/Assets.json

Will Assset.json work and generate CSS from an input Sass file?

5 replies
pbull001
@pbull001
Anyone know how to add Taxonomy content type back into a tenant after deleting the type accidentally. I tried disabling and re-eanbling taxonomy feature but that did not work. Any ideas?
2 replies
aaronamm
@aaronamm
Does anybody know dotnet watch run does not reload a browser? It looks like web socket establish a connect but a browser not reload after code change/compile.
image.png
image.png
mmdqq
@mmdqq
How add a User property in a custom module just like " public IList<UserToken> UserTokens { get; set; } = new List<UserToken>();" in User.cs
2 replies
image.png
Troy Parkinson
@trousyt
Super confused about the CORS module. I can't find it on NuGet. Is there another recommended approach now? I tried using the AspNetCore CORS package and can't seem to get it working with OrchardCore.
4 replies
mmdqq
@mmdqq
image.png
2 replies
bug?
Pim Hwang
@PimHwang
Hi! how to execute an action on a content item to trigger the User Task Event Activity in a workflow?
aaronamm
@aaronamm
Do all images/fonts/CSS/JS files in wwwroot of a custom module get automatically embedded to a DLL file when using dotnet publish command?
Can access it as module-name/resource-name.extension?
Given I have logo.png in wwwroot of MyCustomModule project.
Here is how I can use it in an image tag. <img src='/MyCustomModule/logo.png' />.
Do I understand this correctly?
2 replies
is-DW
@is-DW
Hi! Did somebody knowns what is "shell" in orchard?what does "shell" do
3 replies
Sotiris Roussos
@urbanit

Strange issue...

{% assign taxonomy = Content.ContentItemId["xxxxxx"] %}

{{ taxonomy.ContentItem.Content.TaxonomyPart.Terms.size }}

prints 14 in home page and 7 in all other pages... 🤨

Taxonomy is localized and has 7 terms in each of the languages...
"xxxxxx" is the Id of the Greek version

James Lee
@ScarySheep
Hi I was facing an issue. Whenever I delete an media and upload something new with the same name, the media file is not updated.
Anyone know what's the problem here?
James Lee
@ScarySheep
I just realize my problem... It's kinda stupid. I went to check out the app_data and all files are updated as expected. The problem is chrome kept my images' cache despite me ctrl+f5 the webpage unless I open each one in a new tab and force reload them.
mmdqq
@mmdqq
image.png
I add a Propertie to user.Properties,than create a user_Propertie_index ,but when propertie updated ,the table of user_proertie_index still empty
mmdqq
@mmdqq
How to make the user_propertie_index auto put when update user.Properties by _userManager.UpdateAsync