Tridion

RSS

Posts tagged with "code sample"

Eureka, the missing link!
I am pretty sure this question has been around for quite some time (even by myself), however I have never gotten a correct answer or seen a working example before. Until now!

How do you pass a variable from a Page Template, or Component Template, to another Component Template (using compound templating).

This post by Will Price seems to be the solution! I have yet to try it, but why would it not work, right? Thanks for posting! 

Eureka, the missing link!

I am pretty sure this question has been around for quite some time (even by myself), however I have never gotten a correct answer or seen a working example before. Until now!

How do you pass a variable from a Page Template, or Component Template, to another Component Template (using compound templating).

This post by Will Price seems to be the solution! I have yet to try it, but why would it not work, right? Thanks for posting! 

Publishing to a fake target
A very useful functionality where it is needed to have a central content and structure publication, but does not have a site behind it. I have seen a few instances where this was solved via an elaborate Event system (bad!) or even a fake site (bad!).
So, this is a good one to remember!

Publishing to a fake target

A very useful functionality where it is needed to have a central content and structure publication, but does not have a site behind it. I have seen a few instances where this was solved via an elaborate Event system (bad!) or even a fake site (bad!).

So, this is a good one to remember!

Jun 9

Tridion GUI Extension: Adding a new Tab to the Edit Window

Another great in depth guide by Robert Curlette about how to use the Tridion GUI Extension to create an extra tab in the editing window.

Summary, of what he will show on his blog:

  • In Visual Studio, create a new project and an ASCX control
  • In a JavaScript editor, create a simple JavaScript GUI Extension
  • In an XML editor, create a HelloTab.config file and configure IIS
  • Copy files to a new folder on the server C:\Program Files (x86)\Tridion\web\WebUI\Editors\HelloTab and update the System.config file
  • Tips for working with Anguilla Framework

(Source: twitter.com)

Publishing from Template Code Using an Impersonated User
OK, so be warned up front that impersonation in the Template code is actually a bod practice. If done improperly it will look worse than this Elvis Presley impersonator!
So, that was the warning, if you would still like to continue and read about how it can be done take a look at Mihai Cadariu’s example code.

Publishing from Template Code Using an Impersonated User

OK, so be warned up front that impersonation in the Template code is actually a bod practice. If done improperly it will look worse than this Elvis Presley impersonator!

So, that was the warning, if you would still like to continue and read about how it can be done take a look at Mihai Cadariu’s example code.

(Source: twitter.com)

How to Create a Folder Structure with the Core Service?

A solid example by Mihai Cadariu about how to create a folder structure using the Core Service

(Source: twitter.com)

Create and Publish Page for Component in Workflow using Core Service

A nice code sample by Mihai Cadariu about how to create and publish a page for a component using workflow.

(Source: twitter.com)

May 1

How to Publish Stuff Programmatically

A solid TOM.NET and Core Service example of how to automatically publish content in Tridion by Mihai Cadariu.

(Source: twitter.com)

NetBiscuit linking solution updated!

Vesa Paakkanen has updated his Netbiscuit linking project, so you can now create component links for Netbiscuits BML.

(Source: plus.google.com)

A Custom Resolver in practice

Chris Summers is sharing his hands-on experiences with actually using a Custom resolver in a Tridion 2011 SP1 implementation.

(Source: twitter.com)

2390 Lines of Templating

Vesa Paakkanen has created a “TOM.Net extension library/start-up kit” and has finally (these are his words) managed to trim the code down about 700 lines.

He has his project in Github, so hop to it and please contribute and fork it!! TOM.NET extension library start-up kit project.

Razor Mediator 4 Tridion Version 1.2 Released

This new Razor Mediator Version 1.2 does not need much introduction. To see all earlier posts about the Razor Templating you can use this blog link.

But, it contains the following new and updated features:

- Ability to Import!
- Updated GetComponentPresentationsByTemplate and GetComponentPresentationsBySchema
- RenderComponentPresentations and RenderComponentPresentationsByTemplate
- Better Compile Error Message
- Index, IsFirst, and IsLast Properties
- Quick Access to Debug Writing
- Of Fixes and More 

And version 1.3 is already in the making as well! Keep up the great work Alex!

Tridion 2011 Core Service Console App

See how Robert Curlette finds his way around creating a Tridion 2011 Core Service App. Interesting read!

(Source: twitter.com)

Adding a URI Column to the Listview using Tridion DataExtenders

Another Tridion 2011 GUI Extension example by Robert Curlette:

Adding a new column to the Listview in Tridion 2011 is easy with using Data Extenders. With a few simple config changes we can add the TCM URI column to our default view – no code needed! In this article I will explain how to add the URI column as well as give some debugging tips.

(Source: twitter.com)

Apr 4

Dynamic Linking with Tridion and NetBiscuits

Netbiscuits’ mark-up language does not have standard support for Tridion linking. Vesa Paakkanen shows a way how to get it working anyway (in .NET)

(Source: plus.google.com)





Stack Exchange Q&A site proposal: Tridion