Rob Stevenson-Leggett

Manchester, United Kingdom

electricbiro.co.uk

Age: 29

I work for Building Blocks

I love to code and snowboard.

Follow me on twitter: @rsleggett

Feb
19
awarded Yearling
Feb
19
awarded Yearling
Feb
19
awarded Popular Question
Feb
16
comment How to render HTML fragment using metadata using DD4T
As an alternative you could create a standard MVC endpoint in your DD4T application which calls your sales application and caches the result. This would make your AJAX calls much faster, or you could make the call as part of your page assembly process and render it server side.
Feb
16
revised How to render HTML fragment using metadata using DD4T
deleted 2 characters in body; edited title
Feb
3
awarded Notable Question
Jan
29
awarded Revival
Jan
29
awarded Popular Question
Jan
29
answered Do we need an update to our on-topic policy?
Jan
16
comment Subclass templates in tridion
Have you considered the Razor Mediator? I'm assuming you could be using Compound Templating, but please update your answer to get better information! We've found that a lot of the work that used to need to be done with C# Templating code can be achieved simply in the expanded API that Razor templating gives you access to (compared to DWT). You can still produce User control tags with it too, as Nick recommends.
Jan
9
comment Value cannot be null. Parameter name: type in Tridion DD4T setup
If your Header is a DCP - you could request it from the broker via DD4T. It still looks like you have too much code in your view. I would not expect to see use of Component Factory in the View. That should happen in the Controller.
Jan
8
comment Value cannot be null. Parameter name: type in Tridion DD4T setup
Thanks that is a little clearer, what exactly are you trying to do though? It looks like you're trying to use a common component for the header on each page - is that correct?
Jan
8
comment Value cannot be null. Parameter name: type in Tridion DD4T setup
Hi, could you explain the purpose of this code? It's a bit unclear what you're intending to achieve. It looks like you've got logic in your View which is not advised for MVC (and by extension DD4T).
Jan
8
accepted Elastic Search: Transfrom CSV to array on index
Jan
7
revised Elastic Search: Transfrom CSV to array on index
added 146 characters in body
Jan
7
asked Elastic Search: Transfrom CSV to array on index
Jan
4
revised Porting updated components and schemas, must I import twice?
added 45 characters in body
Jan
4
answered Porting updated components and schemas, must I import twice?
Jan
3
awarded Necromancer
Dec
29
asked Pattern for permissions in search results
1 2 3 4 5