Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 20:18
    kcastro18 closed #8158
  • Jan 31 2019 20:18
    kcastro18 commented #8158
  • Jan 31 2019 20:17

    sebastienros on 1.10.x

    Delete obsolete profile images … (compare)

  • Jan 31 2019 20:17
    sebastienros closed #8157
  • Jan 31 2019 20:13
    sebastienros commented #8158
  • Jan 31 2019 20:03
    Skrypt commented #8158
  • Jan 31 2019 19:47
    kcastro18 commented #8158
  • Jan 31 2019 19:45
    kcastro18 commented #8158
  • Jan 31 2019 19:39
    Skrypt commented #8158
  • Jan 31 2019 19:38
    Skrypt commented #8158
  • Jan 31 2019 19:35
    Skrypt commented #8158
  • Jan 31 2019 15:08
    kcastro18 opened #8158
  • Jan 31 2019 03:39
  • Jan 31 2019 03:39
    yuliang2417535997 starred OrchardCMS/Orchard
  • Jan 31 2019 03:39
    yuliang2417535997 starred OrchardCMS/Orchard
  • Jan 29 2019 21:28
    yanxiaodi starred OrchardCMS/Orchard
  • Jan 29 2019 02:40
  • Jan 28 2019 16:24
    LorenzoFrediani-Laser opened #8157
  • Jan 28 2019 16:02
    LorenzoFrediani-Laser opened #8156
  • Jan 28 2019 15:51
    LorenzoFrediani-Laser starred OrchardCMS/Orchard
Zoltán Lehóczky
@Piedone
@devlife check out https://github.com/Lombiq/Orchard-Azure-Application-Insights Unlike Orchard Core with O1 just adding the AI NuGets directly won't work OOTB.
@wpbest It's just standard SMTP so if you configure all the properties correctly it should work. You can quickly test connectivity by sending a test e-mail from the admin.
@tombal98 this can happen if some other process/request is using the DB and accessing the same content item. As a rule of thumb you shouldn't really use SQL CE for any non-trivial production website though, there this issue is amplified.
Finn Vilsbæk
@finnvs
image.png
Finn Vilsbæk
@finnvs
Hi all, I am trying to run a workflow script (javascript) to check if a message sent from a simple contact form has a .dk extension on the submitted email address. I'm getting an error 'object has no method 'includes'' when testing with the following code:
'''
js:
var formEmailData = requestFormAsJson("sentMessage");
setProperty("formEmailData", formEmailData);
// error - object has no method 'includes'
if(formEmailData.email.includes('.dk')) {
setOutcome('Done');
return;
} else {
setOutcome('InvalidEmail');
};
'''
I'm guessing that this must be down to the number of js methods supported, as I can't get a js alert box or a console.log going either. Can I switch the script language to csharp, and use 'contains' instead? I am running the latest Orchard Core dev branch. Best regards, Finn Vilsbaek
Mike Paterson
@devlife

@devlife check out https://github.com/Lombiq/Orchard-Azure-Application-Insights Unlike Orchard Core with O1 just adding the AI NuGets directly won't work OOTB.

@Piedone that did the trick. Thank you.

jordy-nl
@jordy-nl
Is dit een official Youtube channel over Orchard CMS? https://www.youtube.com/channel/UCOPLovO0E8kfliE5bF9Y2Yg
Sorry, is Dutch. I am asking if the following Youtube channel is the official one about Orchard CMS https://www.youtube.com/channel/UCOPLovO0E8kfliE5bF9Y2Yg
Normally I watch movies on the Lombiq channel https://www.youtube.com/channel/UCDVUxCz2RvkgTbA0wAYKwRA
Jasmin Savard
@Skrypt
No it's not, it's someone doing something wrong and he's been advised
sffogg
@sffogg
Hi all, can someone advise on how to access lucene-based query results from a liquid template? Specifically I'm having an issue trying to display any field that has a dot in it's name. As an example for the display text I've tried result.Content.ContentItem.DisplayText, which renders nothing, and result["Content.ContentItem.DisplayText"] which results in a exception. If it helps the json that returned by the query is: { "ContentItemId": "4g7s1m6nqrvn6zbr0e2ze3q45f", "Content.ContentItem.DisplayText": "Feature 1", "Content.ContentItem.DisplayText.Normalized": "feature 1", "Content.ContentItem.ContentItemId": "4g7s1m6nqrvn6zbr0e2ze3q45f", "Content.ContentItem.ContentItemVersionId": "4cjzkg2cxvq99401ph6a3rn2cx", "Content.ContentItem.ContentType": "Story", "Content.ContentItem.CreatedUtc": "20191231194827", "Content.ContentItem.Latest": "true", "Content.ContentItem.Owner": "sffogg", "Content.ContentItem.Author": "sffogg", "Content.ContentItem.ModifiedUtc": "20200103235318", "Content.ContentItem.Published": "true", "Content.ContentItem.PublishedUtc": "20200103235318", "AutoroutePart": "feature-1", "Story.AutoroutePart": "feature-1", "Story.Html": "NULL", "HtmlAbstract.Html": "NULL" }
Jasmin Savard
@Skrypt
@sffogg you're in the wrong chanel
Look at the Orchard Core Queries
AlphaComposite
@AlphaComposite

Hi. Brand new here.

Was wondering if Orchard is well-suited for creating custom applications within the context of its framework. I saw that there's a Hello World module example. Is this the approach people take for creating custom apps within the context of Orchard, or is there another approach?

I hope my query makes sense. Thanks for your time.

sgiulianiamius
@sgiulianiamius
Hi guys! how is it going?
We are trying Orchard.Core and we have to say that we like it. Do you have any idea when it will be released the official version 1.0 (not release candidate)? Thanks
ruisdias
@ruisdias
Hi @sgiulianiamius , you have another channel about OrchardCore
there they might help you better
sgiulianiamius
@sgiulianiamius
done it, thanks
Zoltán Lehóczky
@Piedone
@AlphaComposite Yes, how you extend Orchard (i.e. "create custom apps within the context of Orchard" as you say) is by writing modules and adding them to an Orchard instance (solution/app). You can check out one aimed to teach you here: https://github.com/Lombiq/Orchard-Training-Demo-Module
Magnus Sjögren
@magnus-sjogren
Hello,
I'm new to Orchard and are trying to get a grip of how things are tied together. If I extend the Framework with new modules with some business logic and data models; can I also build reusable views for forms, viewing the data and performing actions that I can use in the CMS?
Eureka Chen
@EurekaChen
@CICNOR I'm Chinese
IPetersonWNG
@IPetersonWNG
Hi all, has anyone had any experience in getting the Orchard search to work across multiple AWS instances where each instance may not persist for any long term?
IPetersonWNG
@IPetersonWNG
ok, instead of using the lucene search for admin, i just built a filter for the title text, works a treat
titlesearch.PNG
tombal98
@tombal98
Hi,
muzzi-w
@muzzi-w
The Orchard Gallery, https://gallery.orchardproject.net/ is unavailable (404). Link on https://www.orchardcore.net/orchardcms site and search.
Aaron Amm
@aaronamm

Just want to share you guys with my custom pagination.
I did not find any examples out there for what I expected or I am not good at Google search.

I almost solved the pagination problem by hacking with JavaScript.
Then I know that we can access the parent's attribute from Model.Tag

Give the output pagitnation HTML as following code, I need to add a class to li tag and I don't want to make any changes to Orchard core modules.

<ul class="pager justify-content-center pagination" shape-id="79">
    <li class="first page-item" shape-id="79">
        <a class="page-link" href="#" tabindex="-1" shape-id="80">1</a>
    </li>
</ul>

This is the content of my custom Pager.CurrentPage.cshtml page with JavaScript hack

@{
    var tagValue = Model.Value.ToString();
}

<a class="page-link" href="#" tabindex="-1">@tagValue</a>
<script>
    document.querySelector("a[shape-id='@Model.ShapeId']").parentElement.classList.add('disabled')
</script>

And this is how I solve with the powerful Orchard:

@{
    // Attributes of parent li
    var listItemAttributes = Model.Tag.Attributes as IDictionary<string, string>;
    const string classAttributeKey = "class";
    if (!listItemAttributes.ContainsKey(classAttributeKey))
    {
        listItemAttributes.Add(classAttributeKey, null);
    }

    var classNames = new[] { listItemAttributes["class"], "disabled" }.Where(c => !string.IsNullOrEmpty(c));
    listItemAttributes[classAttributeKey] = string.Join(" ", classNames);
}

<a class="page-link" href="#" tabindex="-1">@Model.Value.ToString()</a>

The link to the commit of my changes. I hope it will be useful for someone working on this.
codesanook/Orchard@09a9e89

Screenshot of the pagination
image.png

The Orchard Gallery, https://gallery.orchardproject.net/ is unavailable (404). Link on https://www.orchardcore.net/orchardcms site and search.

Yes it is. Right now we don't have gallery to download any modules or themes.

This message was deleted
Mike Paterson
@devlife
@here I'm trying to implement a workflow when a user logs in, if they are in a roll, redirect them to a specific url. However, I'm getting the following which just refreshes the login page. Any ideas here?
System.Web.HttpException (0x80004005): Cannot redirect after HTTP headers have been sent.
Matteo Piovanelli
@MatteoPiovanelli-Laser
@sebastienros I can't find the link
Aaron Amm
@aaronamm

Just made a PR to convert Kudu batch script to a PowerShell for maintainability and latest MSBuild in Azure App Services
OrchardCMS/Orchard#8315

I hope it will be useful for us.

hoomanhooshyar
@hoomanhooshyar
Hello everyone. I have a problem with download modules from gallery in CMS.
When I go to gallery tab in Module, Orchard shows me this error: Error loading extensions from gallery source 'Orchard Gallery'. An error occurred while processing this request.. . I have searched about that and everyone says add this link as feed url: http://packages.orchardproject.net/FeedService.svc/ . but this url has error too: The url of the feed or its content is not valid. Also what should I do?
MyTownTalks
@mytowntalks_twitter
I'm new to this whole Orchard core, just trying to get up to the speed. Can anyone point me to some decent tuts that go through the entire work flow process. One that ties it all together between the content type to event. One that had a list of all the various options for the tasks and potential uses for each type.
Mike Paterson
@devlife
@mytowntalks_twitter for orchard core you should go to the OrchardCore room. this is the legacy orchard (.net framework) room
Mike Paterson
@devlife
@here i have a legacy orchard app that isn't logging anything. i have files but nothing in the files. how/where do i configure/troubleshoot this?
Andy Mason
@dukeofdarkness23

I'm trialling out using VS2019 with Orchard, after uninstalling VS2017, and I'm using the latest clickToBuild.cmd from the dev branch to run a build (which has VS2019 changes).
I noticed on my machine that I also had a "C:\Program Files (x86)\MSBuild\14.0" which I assumed was legacy VS2017 or earlier that hadn't been uninstalled, so I deleted it. However, when the clickToBuild.cmd runs the "lib/nuget/nuget.exe" line I get the following error:

MSBuild auto-detection: using msbuild version '14.0' from 'C:\Program Files (x86)\MSBuild\14.0\bin'.
Error parsing solution file at C:\Git-BI\OrchardCMS-Sandbox\src\Orchard.sln: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

Should I have not deleted that folder, or is the nuget exe hard-coded to use that path or what?

Mike Paterson
@devlife
interesting. i use vs 2019 with orchard but i have never run clickToBuild.cmd. if you just use visual studio to restore nuget packages and build does it work for you @dukeofdarkness23 ?
Mike Paterson
@devlife
@markjourdan you should post this in the OrchardCore channel
Andika Rangga
@andika18andro_gitlab
Hey, hello... I'm new on Orchard Core. I need help for creating Carousel Widget. Can someone help me with this..?
Andy Mason
@dukeofdarkness23
@devlife Yes, a normal VS build (Ctrl-Shift-B) works fine and a 'restore nuget' from the solution explorer menu works fine.
I shall have to try building a new VM with a fresh orchard and VS2019 install to see if the same happens. We use the build/ClickToBuild to generate a clean PreCompiled set of binaries for deployments.
Andy Mason
@dukeofdarkness23
@devlide Might also be worth noting that the latest version of vswhere in the VS installer (as opposed to shipped with Orchard) has a -find option that gets you the msbuild path:
C:\Program Files (x86)\Microsoft Visual Studio\Installer>vswhere -latest -products * -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\MSBuild.exe
Mark Jourdan
@markjourdan
@andika18andro_gitlab you will probably want to post your question to the OrchardCore channel.
Andika Rangga
@andika18andro_gitlab
@markjourdan oh i'm sorry, i think Orchard and Orchard Core is the same channel. Thank You, by the way...
kakashi0807
@kakashi0807
Hi everyone, I checked in pull request OrchardCMS/OrchardCore#4464 ,it's remove the requried attribute of the title. Just wondering, how I can setup the title is a required field
Aaron Amm
@aaronamm
This PR got merged OrchardCMS/Orchard#8315, I hope this can be helpful for deploying to Azure App Services.
Thanks @sebastienros for merging the PR.
Staggerlee011
@Staggerlee011
hi new developer looking for advice.. i need to centralize url / auth for a collection of forms but would like to keep them each in seperate containers for release mng.. is that possible with orchard?