Showing posts with label Shared Source. Show all posts
Showing posts with label Shared Source. Show all posts

June 22, 2012

Sublayout Queryable Datasource module on trac

I have release a new module on trac. This one allow you to select the datasource dynamically with a XPath query in the dialog open when you insert a sublayout in webedit mode.
If you don't like the video version here is a small description of this module.

Purpose

If you have a multisite solution and if you want to use the field "Datasource Location" and "Datasource template" on you sublayout to open the datasource selection dialog when you add this sublayout on your page in page edit mode, you are not able to select the folder dynamically. by default sitecore only allow to select a folder like /sitecore/content/MyDatas. The idea of this module is to enable the possibility to select this folder relatively to the current item with an XPath query as you do in the fields for example. After installing this module you will be able to select this folder with a query syntaxt like this one for example:
query:ancestor-or-self::*[@@templatename = 'Website Root']/Data/Demo

How to Install?

  • You can download package from here.
  • Install it with the sitecore installation tool in the desktop of sitecore

Next steps

If you have any issues or suggestions for the Sublayout Queryable Datasource module, please report it by posting a comment on this post.

July 15, 2011

New module on trac

Here is my first contribution in association with the LBi to the Shared Source library.
http://trac.sitecore.net/ScheduledTaskUtils

This module allows you to run manually a sitecore scheduler. This is very useful especially when you try to debug a scheduler.

Here is a small screenshot

If you have some bug of improvement request, you can post a reply to this post.