close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Why does Irite re-format content

Thread began 4/29/2009 3:49 pm by g292818 | Last modified 5/26/2009 11:17 am by Ray Borduin | 5797 views | 11 replies |

g292818

Why does Irite re-format content

Hi, I notice that when Irite is used within a textarea to update some existing content in that area, it messes up url links and tables that were there - even when you never touch them directly.

Say for example, the following:

--This is some text, and some more text and more.
Click here--

Assuming "Click here" is an active link, if I edit some/part of the line above and click save, the href link itself (even though source is NOT in view) will become messed up and the link no longer works.

If you do go back and painstakingly repair the href links it does work though - but this is VERY annoying and time consuming - especially when there are several different links in that textarea... there must be a way to ensure that this does not happen.

Please advice.

regards, Daniel

Sign in to reply to this post

neil349752

Formatting lost

Not sure if this is related to this question but I also have an issue. Got everything working fine on asp including the image upload option. So, I have iRite in an update page.. paste in text.. format, upload and resize a photo.. perfect.

Update and everything is as it should be on the live page.. perfect.

Then I go back to change something in the update page and the text has lost it's formatting and the image has gone. I tried using the save button in the iRite editor but no change.. is that normal or is something wrong?

As it stands that will not suffice as I am trying to setup a simple CMS for a user and it means that to chamge one word they would have to reformat the text and re-insert the image every time..

Neil

Sign in to reply to this post

Ray BorduinWebAssist

Something is wrong, it should work. What is the default value of the iRite field on the Update page?

Sign in to reply to this post
Did this help? Tips are appreciated...

neil349752

Sorry if interfering in this thread

Originally Said By: Ray Borduin
  Something is wrong, it should work. What is the default value of the iRite field on the Update page?  



Sorry if interfering in this thread, seem to be slightly different problems, move this to a separate thread if it is appropriate.

Not sure how to see the default value, do you mean the source code on a blank field?

If this helps paste below of a working update source before sending it live, with formatted text and a resized image that all works on the live page. Followed by the same update iRite source when revisited a minute later. In one with more text some of the text went funny too but not in this example but you can see how the image bits changed.

<html>
<head>
<title></title>
</head>
<body>
<div>
<div>
<div>&#160;</div>
</div>
<div><span>&#160;Other than that, get stuck in and enjoy yourselves. </span></div>
<div><span>&#160;</span></div>
<div><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Pukka.</span></div>
<div>&#160;</div>
<div>&#160;<input type="image" height="278" width="200" src="/userfiles/image/9780955912818.jpg" /></div>
</div>
<div>&#160;</div>
<div>&#160;</div>
</body>
</html>

<html>
<head>
<title></title>
</head>
<body>
<div>
<div>
<div>&#160;</div>
</div>
<div><span>&#160;Other than that, get stuck in and enjoy yourselves. </span></div>
<div><span>&#160;</span></div>
<div><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Pukka.</span></div>
<div>&#160;</div>
<div>&#160;<input src="&quot;/userfiles/image/9780955912818.jpg&quot;" width="&quot;200&quot;" height="&quot;278&quot;" type="text" /></div>
</div>
<div>&#160;</div>
<div>&#160;</div>
</body>
</html>

Sign in to reply to this post

Ray BorduinWebAssist

What is the default value of the iRite field on the Update page?

Sign in to reply to this post
Did this help? Tips are appreciated...

neil349752

Originally Said By: Ray Borduin
  What is the default value of the iRite field on the Update page?  



Sorry Ray, not sure how to see the default value, do you mean the source code on a blank field? Or the html on the update page in the iRite field in dreamweaver?

In dreamweaver the code for iRite is:

<%
' WebAssist iRite: Rich Text Editor for Dreamweaver
Dim WARichTextEditor_1 : Set WARichTextEditor_1 = CreateRichTextEditor ("content", "../WA_iRite/", "500px", "400px", "Default", "../custom/BB1_Update_content1.js", "" & cStr(Replace((WADANeilgww_adminBB1.Fields.Item("content").Value)&"", """", "&quot;")) & "")
%>

In a new record with just a space entered the source shows:

<html dir="ltr">
<head>
<title></title>
</head>
<body>
<p>&#160;</p>
</body>
</html>

Not sure what that dir "ltr" means..

Sign in to reply to this post

Ray BorduinWebAssist

Looks like the default value (open up the irite interface and look at the default value field).

it will be: <%= Replace((WADANeilgww_adminBB1.Fields.Item("content").Value)&"", """", "&quot;") %>

See where it says Replace...That replaces Quotes with &quot;... which is the problem you are having. This is necessary when working with input type="text" fields, but not with iRite.

Update it to:

<%= WADANeilgww_adminBB1.Fields.Item("content").Value %>

Sign in to reply to this post
Did this help? Tips are appreciated...

neil349752

Outstanding Ray.. fixed it and perfetto now!!

Thank you so much.. that was the final piece of the puzzle.. I am working on a custom CMS using DataAssist and iRite in asp and that is just about it now and I am almost ready to rock and roll.. have several websites that require this feature, only prepared to allow it for body content so far and as you will be aware the whole joomla type debate v dreamweaver designers is raging wide.. I know which side I am firmly on!

I noted a previous post I think you made about developing a webassist cms based around these progs.. any progress on this? Looks like it is ok anyway the way I am approaching it.. have yet to see how quickly I am move and apply this to other sites but should be not too arduous..

Many thanks again and appreciate your help

Neil

Sign in to reply to this post

Ray BorduinWebAssist

We are coming out with a simple CMS solution soon and are considering an overhaul of iRite to focus specifically around CMS and include more tools for that purpose in iRite as well. CMS is a big topic for our customers, so it is one that we will be taking seriously and taking some serious steps to facilitate over the upcoming year.

Sign in to reply to this post
Did this help? Tips are appreciated...

g292818

Default value

This post has been deleted.

loading

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...