close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML Editor links break when updating

Thread began 4/20/2010 5:35 am by q_carlos322496 | Last modified 10/09/2010 8:36 pm by neilo | 1167 views | 3 replies |

q_carlos322496

HTML Editor links break when updating

I've created a form with the (insert page and update page) and have added the HTML Editor to the main content area of these forms. When I add a record, it works without issue. If I need to update the conten of that record and do not go back to modify the link - the link will be broken. When I go in to modify the link, I notice that the protocol which was set to http:// automatically changed to other: and that the whole link is now encapsulated with a set of double quotes like this - ''''http://www.google.com'''' which makes the link break. Is there a way to fix that?

Sign in to reply to this post

Eric Mittman

What does this link look like if you check on it's value directly in your db? If it is being stored like this then you will need to adjust the insert page to make it not add in these characters. If the value is correct in the db then there is likely some formatting of the initial value on the update page. Please check on this and if you can't get it resolved post back with what you discover along with the insert and update pages.

Sign in to reply to this post

Gizza372666

I have the same problem

When I update the record the old link will brake.

Update 1
<html dir="ltr"><head><title></title></head><body>Tora<br /><a target="&quot;_blank&quot;" href="&quot;http://myweb2.co.uk&quot;">ok</a><br /><a href="http://myweb.co.uk" target="_blank">now</a><br /></body></html>


Update 2
<html dir="&quot;ltr&quot;"><head><title></title></head><body>Tora<br /><a href="&quot;&quot;http://myweb2.co.uk&quot;&quot;" target="&quot;&quot;_blank&quot;&quot;">ok</a><br /><a target="&quot;_blank&quot;" href="&quot;http://myweb.co.uk&quot;">now</a><br /></body></html>

Update 3
<html dir="&quot;&quot;ltr&quot;&quot;"><head><title></title></head><body>Tora<br /><a target="&quot;&quot;&quot;_blank&quot;&quot;&quot;" href="&quot;&quot;&quot;http://myweb2.co.uk&quot;&quot;&quot;">ok</a><br /><a href="&quot;&quot;http://myweb.co.uk&quot;&quot;" target="&quot;&quot;_blank&quot;&quot;">now</a><br /></body></html>


any idea on how to solve this problem?

Sign in to reply to this post

neilo

Find the code in your xxxxxxx_Update.php page for your HTMLEditor content update. It will look something like:

<?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("nl_content", "HTMLEditor/", "100%", "400px", "Custom", "../custom/newsletter_Update_nl_content1.js", "".(str_replace('"', '&quot;', $row_WADAnewsletter['nl_content'])) ."");
?>

Using your own equivalent recordset and row names, change:

"".(str_replace('"', '&quot;', $row_WADAnewsletter['nl_content']))  ."");

to:

"".$row_WADAnewsletter['nl_content']  ."");

Once the image paths have been corrected once, updates should work properly, and the image links should remain intact.

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