close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

iRite Settings for HTML

Thread began 7/17/2009 9:27 am by johnlanglois | Last modified 7/31/2009 8:15 am by johnlanglois | 3498 views | 5 replies |

johnlanglois

iRite Settings for HTML

My client would like to paste HTML code into the CMS via the iRite page.

When pasting the following:

<div id="scoutWrapper" style="background-image:url(images/Boy_Scout_Images/Boy_Scouts_Of_America_Logo.jpg)">

<table border="0" cellspacing="2" cellpadding="0" width="585">
<tbody>
<tr>

<td rowspan="2" width="160"><img src="images/Boy_Scout_Images/Cub_Scouts_Logo.gif" border="0" width="160" height="120" align="left" /></td>
<td>
<h1><a href="images/Boy_Scout_Images/Den_Master.jpg" target="_Display"><img src="images/Boy_Scout_Images/Thumbnails/Den_Master_TN.gif" border="0" width="200" height="151" /></a><a href="images/Boy_Scout_Images/Troop.jpg" target="_Display"><img src="images/Boy_Scout_Images/Thumbnails/Troop_TN.gif" border="0" width="200" height="151" /></a></h1>
</td>



It gets store with a host of extraneous values such as:

"<div id="scoutWrapper" style="background-image: url(images/Boy_Scout_Images/Boy_Scouts_Of_America_Logo.jpg);"><table width="585" cellspacing="2" cellpadding="0" border="0"> <tbody> <tr> <td width="160" rowspan="2"><img width="160" height="120" border="0" align="left" alt="" src="images/Boy_Scout_Images/Cub_Scouts_Logo.gif" /></td> <td> <h1><a href="images/Boy_Scout_Images/Den_Master.jpg" target="_Display"><img width="200" height="151" border="0" alt="" src="images/Boy_Scout_Images/Thumbnails/Den_Master_TN.gif" /></a><a href="images/Boy_Scout_Images/Troop.jpg" target="_Display"><img width="200" height="151" border="0" alt="" src="images/Boy_Scout_Images/Thumbnails/Troop_TN.gif" /></a></h1> </td> "



Well, I tried four different ways to get the forum to show the series of "amperand& poundsign nine9 semi-colons;" that is intermixed with the code, but it drops it out and shows this as normal html.


The page displays properly, but obviously will be a nightmare for subsequent HTML edits.
Where do I tweak iRite to store the HTML "as is?"

Is there a security risk in doing that?

PartB: The images are not visible in the editor, but display properly on the website.
Am I supposed to be able to see them in this product?

Thanks.

Sign in to reply to this post

MickW

I too found that code was altered when pasting and saving in iRite, but I discovered that the alerations were made if the page was saved when the code was displayed.
If I clicked the 'source' button, pasted the code, then clicked the 'source' button again to return to preview, THEN clicking saved preserved my pasted code.

Hope that helps.

Sign in to reply to this post

johnlanglois

Originally Said By: MickW
  I too found that code was altered when pasting and saving in iRite, but I discovered that the alerations were made if the page was saved when the code was displayed.
If I clicked the 'source' button, pasted the code, then clicked the 'source' button again to return to preview, THEN clicking saved preserved my pasted code.

Hope that helps.  



Thanks Mick,

I tried that technique, but it didn't seem to make any difference.

I suspect there's a parameter in iRite that needs to be addressed.
Has anyone else run into this?

Sign in to reply to this post

Jason ByrnesWebAssist

I think what you are seing is tabs being converted to the corresponding HTML entity.

In the WA_iRite/fckconfig.js file you can change:

FCKConfig.ProcessHTMLEntities = true ;
FCKConfig.IncludeLatinEntities = true ;
FCKConfig.IncludeGreekEntities = true ;

to:
FCKConfig.ProcessHTMLEntities = false;
FCKConfig.IncludeLatinEntities = false;
FCKConfig.IncludeGreekEntities = false;


To combat this in IE, for some reason, it does not seam to affect Fire Fox however.

Sign in to reply to this post

Jason ByrnesWebAssist

I think what you are seing is tabs being converted to the corresponding HTML entity.

In the WA_iRite/fckconfig.js file you can change:

FCKConfig.ProcessHTMLEntities = true ;
FCKConfig.IncludeLatinEntities = true ;
FCKConfig.IncludeGreekEntities = true ;

to:
FCKConfig.ProcessHTMLEntities = false;
FCKConfig.IncludeLatinEntities = false;
FCKConfig.IncludeGreekEntities = false;


To combat this in IE, for some reason, it does not seam to affect Fire Fox however.

Sign in to reply to this post

johnlanglois

Thanks, Jason. That suggestion made a big difference.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...