Home > Programming, Tridion > Calling all Tridion Developers

Calling all Tridion Developers


With SDL Tridion (R)5.3 and the introduction of Modular/Compound Templates, the way of doing templates as radically changed, no longer we had to use an  old and obsolete technology such as VBScript. We could finally use .NET and Visual Studio to write template code as well as introduce “new” technologies such as XSLT with the help of Mediators (see XSLT Mediator).

One of the biggest advantages of this change is the ability to reuse existing code in a structured and clear way. Logic can be placed in dedicated classes, OO concepts can be leveraged for inheritance, encapsulation and more.

This led to the TemplateBase class which I and many others have been using for several years now. Around it I have also grouped additional classes to support reuse of common functionality that can be carried from one implementation project to another. This is known as the Templating Base Project.

If you’re unfamiliar with the Templatebase class and the Templating Base Project I suggest you hurry and get yourself over to SDLTridionWorld.com and download the code now – Template Base Project

Templating Base Project on SDL Tridion World

However, its been more than a year since the last update to the project and I feel like it’s definitely time for some improvements and additions.

So I plan on working on a new version of the base project in the next couple of weeks (if time permits of course) and I’m very hopeful to get it out soon before I put more of my energy into the upcoming release of Tridion 2011.

What I would like YOU to do is share any ideas, thoughts or pieces of code you feel should go into the new version of the project. Anything that you think can help other developers hit the ground running when starting a new implementation would be very useful.

I’m considering putting the project on Codeplex or github so if you think it’s a good idea and would like to contribute that way please let me know.

Any additional thoughts or suggestions are highly appreciated and welcomed.

  1. October 28, 2010 at 14:21 | #1

    Hi Yoav,

    We’ve added a number of additional methods to TemplateBase over the last couple of years in partial classes and updated a few of the existing methods to make them more generic, which I’m more than happy to contribute.

    I think adding it to Codeplex would be a great idea – we need a central repository to allow easy maintenance of the solution.

    Perhaps somewhere central for custom mediators too (something I thought we’d see more of)? I did start a mediator based on the same syntax as the spark view engine (http://sparkviewengine.com/) but haven’t had the time to get it working.

    - Jonathan

  2. November 3, 2010 at 14:11 | #2

    Unfortunately I don’t think I have anything specific to add regarding the TemplateBase project, although I’ll check my images to see if there’s anything I can find.

    There was talk at the MVP retreat about using an internet-based source code repository for storing the GUI extensions we were working on. I definitely like the idea – what’s missing from the current community is the ability for the community to update extensions, particularly where bug fixes are concerned. I say “do it!” ;)

  3. November 5, 2010 at 13:56 | #3

    Hi Yoav,

    Recently started using this base project. In the coming period I am planning to use it intensively.
    I’m sure I’d like to see functionality added to the templating base project. Will keep you informed.

    -Albert

  4. Hayley Killengrey
    January 7, 2011 at 09:17 | #4

    Hi Everyone!

    I am urgently looking for a Tridion consultant for a 3month + freelance contract in Belgium!

    Do you know anyone who is available?

    We offer 300 Euros for a positive referral!

    Thanks!

    Hayley Killengrey – Technology Manager
    Belgium
    Microsoft Specialist
    Eurostaff Group Ltd
    Brussels
    T: +32 (0)2 401 68 70
    E: h.killengrey@eurostaffgroup.com
    W: http://www.eurostaffgroup.com
    LONDON +44 (0)207 803 0606
    BRUSSELS +32 (0)2 401 68 70
    MUNICH +49 (0)89 288 90 374
    AMSTERDAM +31 (0)20 5207583
    ZURICH +41 (0)44 307 37 62

    Please go to our website for a full breakdown of the range of services we can offer and to see all the roles we currently have that might interest you or friends/colleagues. Eurostaff has grown by referral so please feel free to share our details with others.

  5. Adrian
    February 11, 2011 at 15:50 | #5

    hello
    do you know what this could mean ?
    JScriptException: Expression ‘RenderComponentPresentation(“tcm:25-11891″, “tcm:25-451-32″)’ had error ‘Could not find mediator for template type: text/xml’

    thank you

  6. January 19, 2014 at 07:40 | #7

    Hi I’m also getting this same error message.

    JScriptException: Expression ‘RenderComponentPresentation()’ had error ‘Could not find mediator for template type: text/xml’

    I did configured, it’s working fine when I did publishing only on parent website. If I did publish on child also getting failed.

    If I preview no issue, mediator is working fine. If I publish bulk it’s getting failed. Only getting success one by article publishing english and arabic components.

    Because I did added new mediator function for generate thumnail image croping.

    Where ever my page, or DCP using this mediator it’s this issue when I did publish bulk.

    Please help us find this issue

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 315 other followers

%d bloggers like this: