Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan 1288 posts 3921 karma points c-trib
    Nov 20, 2009 @ 18:32
    Dan
    0

    Search

    Nice work Dan.  I'll find this very useful, as will many more I think.

    I've not installed it just yet (not that keen!) but I've had a good rummage around your demo at http://beta2.geckonm.com/home.aspx and it looks great.  One thing though... I couldn't get the search to return anything - it just seems to post to itself.

  • dandrayne 1138 posts 2262 karma points
    Nov 20, 2009 @ 19:52
    dandrayne
    2

    Hi Dan

    A fair point!  I wanted to make this package free from dependencies, and there's no point in me replicating the excellent work done for packages like xsltSearch, so I tried to make this "upgrade-ready", in that the user could install packages like xsltSearch and Doc2Form and have something ready for them straight after install.  It's basically a package made as a snapshot of the stage in development where every project starts in the same way - make a homepage, textpage, news area etc.  After this it's down to the developer and the requirements of the client to decide what happens next.

    Having said that, I do aim to keep developing this project and a few things I have in mind are:

    • A "people" listing, or "team members" page
    • Sitemaps (both for users and an xml sitemap for search engines)
    • Write some documentation with pointers on how people would upgrade the package and continue development on it
    • RSS feeds
    • Making the package "contour ready" and "doc2form" ready so that good looking forms will be ready as soon as you install the packages.  The nosier amongst installers will notive that there are already form styles in the css
    • Add more comments to the xslt to explain what's going on, for developers new to umbraco/xslt
    • And more - i'd love some feedback with regards to what people find themselves doing over and over again, each install.

    Thanks again for your comment - I'm glad you find the package useful.

    Dan

  • bob baty-barr 1180 posts 1294 karma points MVP
    Nov 20, 2009 @ 21:53
    bob baty-barr
    0

    is that events calendar somewhere as a standalone? that looks to be very nice!

  • Dan 1288 posts 3921 karma points c-trib
    Nov 21, 2009 @ 14:16
    Dan
    0

    Thanks for explaining that Dan.  It makes sense to put placeholders there ready for integration with third-party packages such as search etc.  That way the user can pick their own solutions for things like that and you're not biasing them or having to re-package this when updated versions of other packages become available.

  • dandrayne 1138 posts 2262 karma points
    Nov 23, 2009 @ 14:23
    dandrayne
    1

    @bob I'll package it up and release it, hopefully this week

  • bob baty-barr 1180 posts 1294 karma points MVP
    Nov 30, 2009 @ 18:56
    bob baty-barr
    0

    @dan, you ROCK!

  • Billy Koch 12 posts 33 karma points
    Nov 30, 2009 @ 19:00
    Billy Koch
    0

    That would be great!  That is the only thing that is holding one of my clients from switching from Wordpress to Umbraco - because they have a demand for the Calendar with Events.  (Basically  so they can put it on the front page).  If that can be accomplished then that would be awesome!!!

    Thanks for the great work!!

     

  • dandrayne 1138 posts 2262 karma points
    Nov 30, 2009 @ 19:35
    dandrayne
    0

    Perhaps I'll get the time tomorrow - I'll post back here when I get it sorted, sorry for the delay!

  • dandrayne 1138 posts 2262 karma points
    Dec 01, 2009 @ 17:32
    dandrayne
    0

    I started trying to extract the events calendar to form a standalone package, but providing a seamless install experience isn't really as straightforward as it seems.

    My main issue is with document types and templates:

    • Would a calendar have it's own template, or should it simply be a macro for inserting into another page?
    • If it's just a macro, how to deal with events?  The user will need to allow the "event" document under the document type that they've added the event calendar to manually
    • The calendar will probably need it's own css, and possible need jquery added as well.

    I'm thinking the best way to do it would be as per the blog package, whereby the events area has it's own master template and actually creates a page with some events when installed.  The user could then take this and work backwards to integrate into their own site.  Does this sound sensible?

    Dan

  • Billy Koch 12 posts 33 karma points
    Dec 01, 2009 @ 18:50
    Billy Koch
    0

    What I am looking for is the capability to insert it in a page (like for example a frontpage)  I am not sure if it can be done - but if you look at sddcofhouston.org - and you will see a calendar on the front right side.  And if there is an event going on that day - it is highlighted in red.  And maybe potentially have events listed underneath the calendar.   Just a few ideas!  So I would think it would be more of a macro - (Im not looking for a calendar with its own page - PDCalendar does that.)   Just tossing in a few ideas - let me know if I am not clear - thanks for your great efforts!  (No rush on this)  :)  Its the holiday season so enjoy it! 

     

  • Kyle 1 post 21 karma points
    Jan 05, 2010 @ 12:03
    Kyle
    0

    Hi there, a minor bug:

    eventShowInfo.xslt

    Should be changed to:
    'dddd, d MMMM, yyyy'

    Originally it's:
    'dddd, MM MMMM, yyyy'

  • dandrayne 1138 posts 2262 karma points
    Jan 05, 2010 @ 14:11
    dandrayne
    0

    Thanks Kyle, I'll add that to my ever-increasing todos!

  • dandrayne 1138 posts 2262 karma points
    Jan 20, 2010 @ 11:01
    dandrayne
    0

    Thanks for that Kyle, I've now fixed this in v 1.3 (and on the demo site)

  • Martin Sørensen 33 posts 31 karma points
    Jan 29, 2010 @ 08:23
    Martin Sørensen
    0

    Hi Dan,

    I'm using MySQL from my webhost, so I had some problems getting it to list my events.None was shown.
    I therefore made som changes in how to find the events via the month as an Integer in eventArea.xslt

    I would like the calender to start with Monday, any "easy" way to change this in the code?

     

     

    <

     

    xsl:when test="count($currentPage//node [@nodeTypeAlias='Event' and Exslt.ExsltStrings:lowercase($currentMonthYear) = Exslt.ExsltStrings:lowercase(umbraco.library:FormatDateTime(data [@alias='eventStartDateTime'], 'M,yyyy'))]) &gt; 0">
    <
    ul class="events_list">
    <
    xsl:for-each select="$currentPage//node [@nodeTypeAlias='Event' and Exslt.ExsltStrings:lowercase($currentMonthYear) = Exslt.ExsltStrings:lowercase(umbraco.library:FormatDateTime(data [@alias='eventStartDateTime'], 'M,yyyy'))]">

    <

     

    xsl:variable name="currentMonthYear" select="concat($Month,',',$Year)" />

    <

     

    xsl:variable name="eventsToday" select="count($currentPage//node [@nodeTypeAlias='Event' and Exslt.ExsltStrings:lowercase($currentDate) = Exslt.ExsltStrings:lowercase(umbraco.library:FormatDateTime(data [@alias='eventStartDateTime'], 'M d, yyyy'))])" />

     

  • dandrayne 1138 posts 2262 karma points
    Jan 29, 2010 @ 15:14
    dandrayne
    0

    Hi Martin

    I was in touch with another international user who had problems with listing events, it was due to me studidly hard-coding the month names in the xslt.  I changed this to use month numbers and all was well, but I seem to have forgotten to incorporate it into this package!

    As for changing the start of the week to monday, interesting request but I must admit I'm stumped as to how I would do it.  Perhaps someone with more xslt skills than I could help us out?

    Dan

Please Sign in or register to post replies

Write your reply to:

Draft