email transformation results

Feb 4, 2011 at 4:52 PM

I'd like to use XsltDb as a standard module on a page. I would also like to reference it in a custom module I have built to send personalized/templated emails. Is that possible?

Developer
Feb 5, 2011 at 11:01 AM

Interesting... I didn't try yet, but I'd look at the new packaging feature.

This new feature allows to package a module generating an ascx control, which is then published as a normal DNN module: I guess it's possible to use the same technique to inject XsltDb in a custom module.

Let me know if you try this!

 

Coordinator
Feb 5, 2011 at 5:05 PM

Do you want to include XsltDb module as a user control in your module? This feature is not ready yet. I'm working on it but I'm not sure about when I finish.

As a workaround you can create XsltDb as separate module inside invisible div (wrap module in <div id="xsltdb-block" style="display:none;"> ... </div> using module Advanced Settings) and move DOM tree in specific position inside your module using jQuery:

$(function(){
   $("#xsltdb-block").detach().appendTo("#xsltdb-placeholder");
});

Coordinator
Feb 8, 2011 at 7:23 AM
jyjohnson wrote:

I'd like to use XsltDb as a standard module on a page. I would also like to reference it in a custom module I have built to send personalized/templated emails. Is that possible?

I've just pre-released a new version that can reuse configuration as a UserControl.

http://xsltdb.codeplex.com/releases/view/60588

I'm not shure how stable it is, so, please, use it for review and testing only.

See sample of using XsltDb configuration as a skin object in release description.