Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Code syntax editing.Code syntax editing.
Previous
 
Next
New Post
4/6/2010 10:34 PM
 

G'day,

I've downloaded the following DNN Skin object - http://dnnsyntaxhighlighter.codeplex.com/

Its based on the excellent work from http://alexgorbatchev.com/wiki/Syntax...

Now I really want to include code examples on my web site and have this formating working, but I'm not getting any help from the codeplex co-ordinators about how to complete the installation process (dnnsyntaxhighlighter.codeplex.com/Thr...) - Namely the steps involved in adding skin objects to my DNN 5.2.x portals. Can anyone elaborate on the following instructions, so I can get this working correctly?

 

STEP 4 - ADD THE SKIN OBJECT TO YOUR SKIN (JUST CHOOSE THE METHOD THAT SUITS YOUR SKINNING METHOD FROM BELOW):

-METHOD 1: ASCX Skin Object Example (RECOMMENDED - Supported in all DNN versions)

<%@ Register TagPrefix="dnn" TagName="MWD_SO_FCK_SytnaxHighlighter" Src="~/DesktopModules/MWD/Skin Objects/FCK_SyntaxHighlighter/SyntaxHighlighter.ascx" %>

<dnn:MWD_SO_FCK_SytnaxHighlighter runat="server" id="MWD_SO_FCK_SytnaxHighlighter" UseCompressedVersion="False" />

 -METHOD 2: HTML Skin Object Example (Only supported in DNN 5+)

<object id="MWD_SO_FCK_SytnaxHighlighter" codetype="dotnetnuke/server" codebase="MWD_SO_FCK_SytnaxHighlighter"></object>

 -METHOD 3: HTML Skin Token & XML File Example (Depreciated method that was being used in DNN 4.9x versions & below)

[MWD_SO_FCK_SytnaxHighlighter]

 
New Post
4/12/2010 10:56 AM
 

There isn't a lot more to explain here, once you follow the install process, you need to modify the .ascx file for your skin to include the items that are mentioned.

Your skins are stored in the /portals/_default/skins/ folder if installed as host skins.

NOTE: Be sure to make a backup of the skin before you start in case something goes wrong.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Code syntax editing.Code syntax editing.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out