Can anyone explain what OC2003 (unmanaged PackageReference) indicates? I can't find anything on Google about it other then the target that causes it but there is no explanation as to why or what you can do to avoid it.
JoshTango
@JoshTango
i am up and running again which is good
were there any changes to the liquid parser?
1 reply
i had a parse error on a page because the }} was on the next line and not on the same line
2 months ago maybe?
1 reply
i used a liquid formatter in vscode and it decided my line was to long and pushed the double }} down to the next line
this caused a parse errro after I got latest
that could be it
fluid 2.0 must be the reason
i will investigate to see if this is a bug
1 reply
i mean if formatters r doing this they should know they are causing a bug
An unhandled exception occurred while processing the request. Exception: Failed to parse liquid file /Areas/TheNewsTheme/Views/Content-Profile.liquid: '}}' was expected at (135:104) OrchardCore.DisplayManagement.Liquid.LiquidViewTemplate+<>cDisplayClass8_0+<<ParseAsync>b0>d.MoveNext()
JoshTango
@JoshTango
well thats what I mean I used a liquid formatter
1 reply
so someone has to give
Sébastien Ros
@sebastienros
@JoshTango new lines should be allowed in this case, that's a bug. sebastienros/fluid#345
3 replies
JoshTango
@JoshTango
ty
JoshTango
@JoshTango
i'm having a media profiles problem
if I say width=100 and height=100 and crop fro resize mode
I should get an image that is 100x100 correct?
JoshTango
@JoshTango
and it should be resized on the server side before sent to the webpage?
Dean Marcussen
@deanmarcussen
if you're using profiles, you have to pass the profile name. if you're just using width properties, yes, assuming the width is in the supportedsizes config. have a read of the docs, all very clearly explained
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?
@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?