oforms email not working

Topics: Customizing Orchard, General
Sep 23, 2014 at 2:21 AM
Does this module still work with 1.8.0?

Thanks Paul
Developer
Sep 23, 2014 at 2:27 AM
I haven't used it for over 2 years, so I wouldn't know. Did you try?
Sep 23, 2014 at 2:35 AM
yeah I've tried running the compiled version, however I'm not getting any error logs. I can create the content type however this seems a long way round.

Is there any use on trying to resurrect this module?

PK
Developer
Sep 23, 2014 at 7:24 AM
Edited Sep 23, 2014 at 7:24 AM
Hard to say, I don't know its status. Did you try contacting the author? Perhaps you can use the CustomForms module? For what it's worth, a new Forms module will be released with Orchard 1.9 (see the roadmap), currently slated for late October.
Marked as answer by paulking on 9/24/2014 at 4:06 PM
Sep 25, 2014 at 12:10 AM
Thanks

Great to see some modules being reviewed. You guys rock.

Another one, which seems an easy win, would be the Featured Slider, as many of my clients would like great flexibility with managing sliders.

PK
Sep 25, 2014 at 5:35 AM
Edited Sep 25, 2014 at 5:35 AM
You can accomplish a Featured Slider very easy with Orchard without a own module.

These steps are needed:
  • Create a ContentTyp (in my Case I named it FeaturedItem) with an ImageField and maybe with a textfield.
  • Choose an ImageSlider (I used bxSlider)
  • Edit the summary view for this content item in your theme
Edit: Or you can try this one (not tested): https://github.com/sunkist/FeaturedItemSlider/tree/master/Sunkist.FeaturedItemSlider/Views/Parts

Content-FeaturedItem-Summary.cshtml
@using System.Data.Linq
@using Orchard.ContentManagement
@using Orchard.MediaLibrary.Fields
@using Orchard.Utility.Extensions;
@using Orchard.ContentPicker.Fields
@{
    var contentItem = Model.ContentItem;
    if (Model.Title != null) {
        Layout.Title = Model.Title;
    }
    
    var tag = Tag(Model, "article");
    var mediaPicker = (MediaLibraryPickerField)
            ((IEnumerable<ContentPart>)contentItem.Parts)
            .SelectMany(p => p.Fields)
            .FirstOrDefault(f => f.Name == "Image");
    var media = mediaPicker.MediaParts.FirstOrDefault();

    var mediaUrl = string.Empty;
    if (media != null) {
        mediaUrl = media.MediaUrl;
    }

    Script.Require("EnableSlider.js").AtFoot();
}


<li><img src="@Display.MediaUrl(Profile: "FeaturedItemImage", Path: mediaUrl)" data-title="<b>@Model.ContentItem.TitlePart.Title</b> <br /> @Model.ContentItem.FeaturedItem.Subtitle.Value" /></li>
and EnableSlider.js
$(function () {

    $('#slider').bxSlider({ captions: true, auto: true, autoHover: true, adaptiveHeight: true, onSliderLoad:
        function(){
        $('#slider').removeClass("hide");
    }
    });
});