Saturday, July 31, 2010
  Search
 
Register
Login
 
Using DNN to take Advantage of GoDaddy Domain Names
Let's face it, GoDaddy is cheap. Pay for the hosting services and the domain names are $1.99, not a bad deal. And even without hosting services, you can pick up domain names for as low as $6.99. Put ...

Find this article and more in the category

Read This Article . . .

Quick Check for Troubleshooting the CodeEndeavor Ajax Templates
I haven’t just installed the the template and created a module out of the box yet. However, I have come across a few things that I know to check and fix and I’m up and running in no time at all. If y...

Find this article and more in the category

Read This Article . . .

Converting a CSS Template To a DotNetNuke Skin
Creating DotNetNuke Skins can be a time consuming task. But, it's really not that hard and it doesn't have to be if you can use templates to help get started. Why not convert some free templates from...

Find this article and more in the category

Read This Article . . .

Adding Google AdSense with Video
Adding Google AdSense to your DotNetNuke portal has never been easier. By default, a Google AdSense module is added the list of installed modules when your DNN portal is first created. It's easy to ...

Find this article and more in the Modules category

Read This Article . . .

Everything You Never Wanted to Know About the Config File
This is the "pre-" first installment in a series that will cover the parts of the web.config file to give you an idea of how to manipulate and customize your DotNetNuke portal. The web.config fi...

Find this article and more in the category

Read This Article . . .

Upgrading to DotNetNuke Cambrian 5.0 from DotNeNuke 4.x
If you're looking to try out the new DNN Cambrian package, you can upgrade previous DotNetNuke installations with the following steps. Remember, as of right now, the DNN 5.0 Cambrian package availabl...

Find this article and more in the category

Read This Article . . .

Simple Intro to the DNN UserInfo Class
 New DNN developers often wonder how to expose information about logged in users to a custom DotNetNuke module. So, I threw together a very simple example to show how easy it is to begin using the bu...

Find this article and more in the DotNetNuke category

Read This Article . . .

Fixing IE's Hover Problems in DNN
 So you have designed a great skin, skin object or module for DNN and it uses the :hover attribute and looks fantastic in Firefox. Now, you find out that nothing works in IE because IE doesn't suppor...

Find this article and more in the category

Read This Article . . .

Creating a Virtual Directory in IIS
One of the first things you will need to do prior to installing DotNetNuke on a server is to create a virtual directory which will host your DotNetNuke website.  If you have full control over you...

Find this article and more in the IIS & ASP.NET category

Read This Article . . .

Customize Google Analytics for DotNetNuke Search
You can easily set up your Google Analytics account to track the search feature on your DotNetNuke website and take advantage of all the in depth reporting that Google has to offer. It's simple, here...

Find this article and more in the category

Read This Article . . .

Recently Added Articles

Minimize
Article List

 

CodePrint Module

10/23/2008 2:37:56 AM - By Briana Tarrance

Category: DotNetNuke | | Comments 0

 

 

Related Links

Tired of mucking around with adding code chunks to your website? We all know what a pain it can be trying to add some simple block of code to our webpages and still make it readable. Introducing....The CodePrint module.

The CodePrint module is a DNN 3.x module crafted by Seabury Designs. Yes, the module was created for DNN 3.x, however, it works fine in DNN versions up to and including 4.9.0. It is a very easy to use, lightweight module and a very welcome addition to my site. Prior to finding this module, I was having to go copy and paste code from http://www.manoli.net/csharpformat/ (which is a terrific resource, btw).

The advantage of using the CodePrint module is that you can add code directly to the page, for example at the bottom of an article. It will display a properly formatted block of code, plus the HTML formatted code to include on a web page that you can easily cut and paste as well as the ASCII format.

It's a great module and I hope you can benefit from it. You can download the module PA and source code from Seabury's website here. *Note: Site registration is required for the downloads section.

From the Website:

CodePrint is a free module for DotNetNuke 3.x. It allows you to post source code examples of VB, C#, Javascript and HTML in a properly formatted and colorized manner, similar to what you would view in VS.NET.

CodePrint's features include:

  • Colorized Print
  • Option to include line numbers
  • Option to highlight alternating rows
  • Control over tab indent width
  • Optional textarea that allows users to download code in ASCII format
  • Optional textarea that allows users to download code in HTML 4.01 compliant format
  • Handles most .NET and supporting languages

ScreenShots:

Edit screen - adding new code block

View screen

 


 
 
Copyright 2008 by Virtual-Essentials.com Privacy Statement    Terms Of Use