|File size:||13 KB|
|Publisher:||PHD Computer Consultants Ltd|
Publisher description for phdcc.CodeModule
phdcc.CodeModule provides a simple way to add your own program code (and custom HTML) to a DNN site without having to write a full module or resort to using an IFRAME. Write your own ASP.NET/DNN code and HTML in a simple ascx user control - have it displayed by phdcc.CodeModule. Be careful who has access to this powerful functionality. Write your own code in either Visual Basic (VB) or C-Sharp (C#). You can use a codebehind .vb or .cs file if you wish, but this is not required. The Freeware version is called phdcc.CodeModuleFree and uses the DesktopModules\phdcc.CodeModuleFree\ directory. The Retail version is called phdcc.CodeModule and uses the DesktopModules\phdcc.CodeModule\ directory. The Freeware version always adds a "Powered by" message at the bottom of its output. The retail version also works in a skin by replacing the [CODEMODULE] skin token. Instructions Download and install the module. Add the module to a PaGE. You will then See This displayed: When first loaded, go to Settings Your next task is to write your code, eg based on the sample VB code below. Then upload it to the DesktopModules\phdcc.CodeModuleFree directory using FTP. Next, click on Settings, or select Settings in the module container menu. Scroll down and expand "phdcc.CodeModule Settings". Enter the name of your control and press Update.