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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...displaying actual html code in DNN?displaying actual html code in DNN?
Previous
 
Next
New Post
1/11/2008 3:49 PM
 

How do I display the actual html code inside DNN using the FCKeditor inside the Forum, Blog or Text/HTML module?

I have tried  < pre > and , < code >  and I know that by adding a space between the < and the verb that it won't be rendered.

When I go into source mode and use the code tag the contents are missing inside of FCKeditor but are visible but rendered after I have submited the test to the text/html module.

 


/Dave S
 
New Post
1/11/2008 4:43 PM
 

You may have tried HTML comment tags, but in an attempt to avoid overthinking this one I'm going to test it out in this post by adding two hyperlinks and commenting out the first one to compare the rendering.  I apologize if you're past this (insignificant?) test, but I'm curious as well.

(I hand wrote the html, so I'm not really sure if this is a valid test or even in the realm of the answer you're looking for.)

<!-- <a href="http://www.google.com">google</a> -->

<a href="http://www.google.com">google</a>


Cameron McCarter

 
New Post
1/11/2008 5:05 PM
 

After some more testing with a text module, I think what you want to do is just type out or paste your HTML inside the FCK Editor without accessing the source code behind the editor. 


Cameron McCarter

 
New Post
1/11/2008 10:46 PM
 

I have had problems when entering html code in the editor, so I use the following.

I am entering this post, not completely sure it will work on this forum, but here is an example.    
&lt; as the left bracket, &rt; as the right, and &quot; for quotes.

In the Source / code, you enter like the following:

&lt;a&nbsp;href=&quot;http://www.tmmworld.com&quot;&gt;<br>
&lt;img&nbsp;border=0&nbsp;src=&quot;http://www.tmmworld.com/images/sm_tmmlogo.gif&quot;&gt;&lt;/a&gt;

The Result will look like this...

<a href="http://www.tmmworld.com">
<img border=0 src="http://www.tmmworld.com/images/sm_tmmlogo.gif"></a>

 

 


Terence
TMMworld Dot Net Services
View Terence Maney's profile on LinkedIn
 
New Post
1/11/2008 11:49 PM
 

While that will cut properly out of there and paste correctly into an editor, I was hoping for a "magic tag" or method that I could paste html into so that I didn't have to worry about translation or other errors. This was for some "regex" xhtml code that I'd have to think about what characters required conversion.

In the old days wasn't there and < example > tag?  Doesn't modern html have something to equal it?

 


/Dave S
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...displaying actual html code in DNN?displaying actual html code in DNN?


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