Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Adding a block of .net code View modes: 
User avatar
Member
Member
jamxi - 3/17/2010 6:37:59 PM
   
Adding a block of .net code
I'm using the blank portal site install. I'm using several templates. I'd like to create a block of VB code that will be added to several templates. What's the best way to accomplish this?

User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 3/18/2010 3:36:23 AM
   
RE:Adding a block of .net code
Hi,

You can create custom web part for this purpose (http://devnet.kentico.com/docs/devguide/developing_web_parts.htm) or write the code inside layout of your portal page template.

Best regards,
Miroslav Remias.