Updated projectshttp://our.umbraco.orgumbracoNew project updates on our.umbraco.orgenXSLT LogHelperhttp://our.umbraco.org/projects/xslt-loghelperFri, 19 Mar 2010 18:49:37 GMThttp://our.umbraco.org/projects/xslt-loghelper 

I needed a way to easily add log rows from my xslt macros, and added a single-line-extension for that reason. And for it to be a little more complete I also added a getlog-function. 

For the most complete way to watch and handle log rows, I would recommend using the other logging packages, but if you for some reason need it inside your Xslt, you can use this.

Add a log row : 

xsl:value-of select="LogHelper:LogAdd(-1, 'heres a comment for the log')"

Iterate the log rows from last 2 days: 

xsl:for-each select="LogHelper:GetLog(2)/Log/Logrows [logHeader='Custom']

The LogAdd-function adds a row with "Custom" header.

Have fun!

I have used ideas from Niels Hartvig (HelloWorldExt) and Immo Wache (Log4Umbraco).

The whole thing is 40 or so lines of code, and you find the source at the codeplex site.

Here's a sample XSLT that adds a log row, and displays a html-table with all log rows with header "Custom" from last 1 day:

<!-- add log row -->
<xsl:value-of select="LogHelper:LogAdd(-1, 'heres a comment for the log')"/>

<!-- get log rows for 1 day and display it in a table, newest at the top-->
<xsl:variable name="getDays" select="1"/>
<table>
<tr><th>logHeader</th><th>DateStamp</th><th>userId</th><th>nodeId</th><th>logComment</th></tr>
<xsl:for-each select="LogHelper:GetLog($getDays)/Log/Logrows [logHeader='Custom']">
<xsl:sort select="./DateStamp" order="descending"/>
<tr><td><xsl:value-of select="./logHeader"/></td><td><xsl:value-of select="./DateStamp"/></td><td><xsl:value-of select="./userId"/></td><td><xsl:value-of select="./nodeId"/></td><td><xsl:value-of select="./logComment"/></td></tr>
</xsl:for-each>
</table>

 

]]>
uCommercehttp://our.umbraco.org/projects/ucommerceThu, 18 Mar 2010 09:26:36 GMThttp://our.umbraco.org/projects/ucommerce 

uCommerce is an e-commerce offering fully integrated with Umbraco, which provides not only the frontend renderendering enabling you to create beautifully designed stores, but also the back office capabilities where you configure and cuztomize the store to your liking.

uCommerce foundations provide the basis for an e-commerce solution. Each foundation addresses a specific need for providing a full e-commerce solution to your clients. Foundations in the box include a Catalog Foundation, a Transactions Foundation, and an Analytics Foundation.

Each of the foundations within uCommerce are fully configurable right in Umbraco. No need to switch between a multitude of tools to manage your stores. It's all available as you would expect in one convenient location.

Catalog Foundation

Having rich catalog capabilities as part of the online store is essential for its success selling products on the internet. uCommerce Catalog Foundation handles all your needs for publishing products in to the store. From supporting multiple stores right down to products with variations such as size and color uCommerce has it all.

For advanced pricing scenarios our price groups support most scenarios found in online stores. Not satisfied with what's the box? As a developer you can roll your own, which fits the specific requirements your client has.

  • Multiple stores with different styling and checkout flow
  • Micro branding sites
  • Multiple catalogs for separating product ranges
  • Arbitrary number of categories
  • Products live in multiple stores, catalogs, and categories
  • Products with variations to help the customer select the right product
  • Multilingual product information. Have the catalog shown in as many languages as you care to support
  • Flexible pricing for multi-currency and differentiated product pricing
  • Product definitions enable you to store information that you care about on the products themselves, complete freedom to set them however you like

Transaction Foundation

Once the customer has decided to buy by adding a product to her basket and then proceed to checkout the uCommerce Transaction Foundation takes over and manages persistant baskets for the customer and the entire checkout flow. Subsequent order processing handed over to the uCommerce back office right in Umbraco where you can configure the order flow and track order through the flow.

Persistent baskets increase conversion rates by letting the customer carry on shopping where she left off

  • Checkout processing
  • Support for easy integration with payment providers
  • Support for multiple payment methods such as Paypal, DIBS, Cybersource, and others
  • Multiple shipping methods and complete control over shipping pricing
  • Order Search in back office
  • Fully extendable pipeline system for full control over checkout and order processing
  • Integrated with Membership

uCommerce is completely integrated with the Umbraco membership system. Configure whether you want customers created during checkout for login to review ordering history and more.

Use the Umbraco membership to stay in touch with with past customers.

Analytics Foundation

With customers coming and converting in the store an overview of what is going on is needed. uCommerce Analytics Foundation provide you with an opportunity to create rich reporting using familiar techniques like user controls and stored procedures. uCommerce comes with a couple of reports out of the box and you can easily add your own in minutes.

Commerce XSLT Library

The Commerce Library enables you as an Umbraco developer to create sites using XLST just like you do in Umbraco today. The Commerce XSLT Libray provides access to all the underlying foundations to enable you to create beautifully designe stores for your clients.

With the Commerce XSLT Library you simply use your existing skillset that you know and love.

Foundation API

Leverage your .NET skills for ultimate control and flexibility over the uCommerce Foundation. The Foundation API is a highly flexible modular design, which allows you as a .NET developer to plug into the low level uCommerce APIs to modify existing behavior or even replace what comes in the box.

Do you want to build specialized UIs to manage aspects of the store? Use the Foundation API to leverage the functionality already in uCommerce to your own needs.

The Foundation APIs are fully LINQ enabled, which enable you to create rich functionality quickly.

 

]]>
Blog 4 Umbracohttp://our.umbraco.org/projects/blog-4-umbracoWed, 17 Mar 2010 13:34:59 GMThttp://our.umbraco.org/projects/blog-4-umbracoThe blog 4 umbraco package was done as a Christmas calendar in December 2009 by Tim Geyssens, Niels Hartvig and Per Ploug Hansen.

It extend and reuses the blog package done by Tim Geyssens, which reuses alot of the work done even earlier by Niels Hartvig with the first blog package released in 2006. And includes a ton of xslt, produced by Morten Bock.

Throughout the process we received a ton of feedback and good ideas from the friendliest cms community in the world. Thank you to everyone who contributed.

]]>
Structured Importhttp://our.umbraco.org/projects/structured-importTue, 16 Mar 2010 09:20:44 GMThttp://our.umbraco.org/projects/structured-importIn a project I faced the issue, that I have to import large amount of data into a complex structure. The data was provided in Excel, every row reflected all the levels of the corresponding structure. (The tree was flattened into rows.) To solve this problem, I wrote a user control, which was able to import data from tabular format into the content tree. The very first row of the tabular data contains information about the document types and properties to use in the following rows, and the parent-child relations.

The next version could move the code from the user control into an environment integrated into the umbraco admin interface, for example under the "Developer" section.

]]>
True Color Pickerhttp://our.umbraco.org/projects/true-color-pickerMon, 15 Mar 2010 09:56:04 GMThttp://our.umbraco.org/projects/true-color-pickerThis package will create a DataType called "True Color Picker".
You may be wondering, what's "True" doing in there?
Well I was looking for a color picker without the need to provide pre-defined colors.
I saw the built-in Color Picker, but that's not a color picker! It's an approved color picker.
So I created a TRUE color picker.

This package will create the following files / directories:

/umbraco/css
    colorpicker.css
/umbraco/js/colorpicker
    colorpicker.js
/umbraco/images/colorpicker
    *

Changelog:
- Version 1.2
It's now possible to reset the selected color with the "Reset color" button (so the value will be empty

- Version 1.1
Fixed an issue with Umbraco 4.0.3 where in some occasions the value isn't saved correctly

]]>
Google Analytics for Umbracohttp://our.umbraco.org/projects/google-analytics-for-umbracoThu, 11 Mar 2010 10:24:25 GMThttp://our.umbraco.org/projects/google-analytics-for-umbracoGoogle Analytics for Umbraco (version 1.0.7).

This package adds a new section to the Umbraco backend, which gives you access to your google analytics statistics in form of some standard reports (out of the box). You also have the ability to create your own reports from the metrics and dimensions, which are available through the Google Analytics API.

This new version also gives you the ability to change between your different Analytics Profiles and remove Profiles from the Accounts-node so Editors only have access to the Profiles you give them access to.

Installing this package also adds a Google Analytics Data Type, so you can add page specific analytics data to your content nodes.

The charts are currently generated using FusionCharts Free and Google Chart API.
Charttypes, which are currently supported: Singleline Chart, Pie Chart (2D & 3D) and a Text Table.

This package comes prefilled with 32 standard reports, and a report that can be used when including the Data Type on your Document Types to view page specific analytics data. The account section loads all profiles available via the supplied credentials.

Current code is in Beta, so I do not recommend installing it in production (although it is very stable).

Please check back for more, contact me for questions, with feedback, requests or any issues that you might encounter.

 

Please check out these short teasers for more information and introduction to the package and how you can use it:

Installing the Package: http://screenr.com/EHh
Accounts & Profiles: http://screenr.com/3jx
Editing Reports: http://screenr.com/q3x and http://screenr.com/Mix
Data Type: http://screenr.com/gbx and http://screenr.com/8vx
Sorting Reports: http://screenr.com/Szx
Changing Icons: http://screenr.com/4cx
Custom Reports: http://screenr.com/k4x

 

Installation note:
Current version is 1.0.7, which has been tested in Umbraco v4.0.3, v4.0.2.1 and v4.0.1 (upgrade from version 1.0.2 and 1.0.3 to current version has been tested in v4.0.3).

If you have installed v1.0.6 of this package then please install the attached Sitereactor.GoogleAnalytics-Reports_1.0.7.zip package, which contains an updated assembly and reports.

Please note that hosted accounts are not supported in the Google Analytics Data Export API, so if you have a hosted account it might be an idea to create a gmail account and give this gmail account access to the Analytics accounts, which you want to access with this package.

Please note that when you create custom reports, that it is highly likely that not all combinations will work. Please check the Google Analytics API page for valid combinations: http://bit.ly/cQngod

Feel free to add requests for reports and chart types that you would like to see in a future version of this package.

This package is distributed with two assemblies from the Google .NET Client Library (http://bit.ly/cKRLO5), FusionCharts Free, selected FamFamFam icons and selected methods from the Package Action Contrib project.

PS: Please remember to vote up the package ;)

]]>
MyPackage VS 2008http://our.umbraco.org/projects/mypackage-vs-2008Wed, 10 Mar 2010 16:07:10 GMThttp://our.umbraco.org/projects/mypackage-vs-2008A simple package creator for Umbraco as a Visual Studio project. Currently with an Xslt extension and a user control. Open this project, add your code, build, and you have an umbraco package ready to install with umb ui.

This is well suited for Umbraco developers that do most of their magic inside the Umbraco UI and do not have a cool Visual Studio Setup already. With this download one can add .net-functionality to XSLT in minutes, without having access to the web server file system. 

There's no rocket science involved, this is just a basic Visual Studio 2008 project with some umbraco binaries, a sample XSLT extension class and a sample Web user control. Plus a file and a folder needed for package creation.

To begin adding your own code to an existing Umbraco site you just need to:

1) download and open up the sample project in Visual studio 2008

2) add your own code to it, for example in MyXsltExtension.cs to add XSLT extension functionality.

3) build the project, it creates a package MyPackage.zip automatically 

4) install MyPackage.zip as a local package into your Umbraco Installation. Then you have your own functions ready to use in the Umbraco Xslt Editor. <xsl:value-of select="MyXsltExtension:HelloWorld()"/>

Since there are references to umbraco-core dll's you can also iterate within your cms nodes, as well as edit or add new ones - and everything else you might need, take a look at the API reference.

]]>
Icon Pickerhttp://our.umbraco.org/projects/icon-pickerWed, 10 Mar 2010 12:57:24 GMThttp://our.umbraco.org/projects/icon-pickerDescription
The Icon Picker package makes it possible to have multiple icons to choose from in your documents or media files.

After installing
After you have installed the package a Icon Picker Datatype will be available. To use the Icon Picker add the new Datatype to a Document- or Mediatype with the alias umbracoIcon.
You select what icons the Icon Picker should contain under "Developer > Datatypes > Icon Picker".
If you want to add your own icons you can upload them either directly to or in a subfolder to "\umbraco\images\umbraco".

Before unintalling
Remember to remove the IconPicker Datatype from any Document- or Mediatype before uninstalling.

Note
To avoid performance issues I have relied on the cached content where I could. That means that when you select a new icon it will first be visible when you publish the content.

]]>
SupportContactFormhttp://our.umbraco.org/projects/supportcontactformMon, 08 Mar 2010 21:57:20 GMThttp://our.umbraco.org/projects/supportcontactformAdaptation of CultivContactForm

]]>
Twittersearchhttp://our.umbraco.org/projects/twittersearchMon, 08 Mar 2010 15:21:29 GMThttp://our.umbraco.org/projects/twittersearchThis package allows you to add a macro which display a twitter search phrase on your side.

]]>