close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

DataAssist update breaks all links

Thread began 7/24/2009 4:56 pm by JeanM | Last modified 3/03/2010 8:08 am by phil.evans372967 | 2847 views | 6 replies |

JeanM

DataAssist update breaks all links

not sure if this is a DataAssist issue or an iRite issue since i'm using them both togther, but the problem is this:

every time i UPDATE a DataAssist page (i.e. "projects_update.php"), it adds a set of quotation marks to any link or inserted image in the iRite field, thus breaking the link.

where are these quotation marks coming from and why are they happening each time? for example, if i update the page twice, it adds TWO sets of quotation marks, and on and on, so that i can end up with something crazy like """"http://www.anydomain.com/""""

help!
thanks, jean

Sign in to reply to this post

Ray BorduinWebAssist

Most likely you are encoding or escaping the quotes in the default value of your irite field.

Update your iRite and make sure the default value is passed straight through from the datbase field with no encoding.

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

JeanM

you were RIGHT. somehow, there was a "str_replace()" adding quotes to the iRite update field. thanks Ray!

Sign in to reply to this post

Ray BorduinWebAssist

I can even explain how... DataAssist adds it because if you were to show that content in a text field or some other standard form element it is necessary.

When you replaced the dataAssist created field with iRite you kept the default value specified, but you need to remove the str_replace() when adding iRite because iRite doesn't need any encoding since it is set up to handle complex strings already.

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

phil.evans372967

Similar problem

Hi

I've been having a similar problem.

The code in my update page looks like this

<?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("strap", "../WA_iRite/", "100%", "100px", "Custom", "../custom/news_Update_strap1.js", "".(str_replace('"', '&quot;', $row_WADAnews['strap'])) ."");
?>


How should I rewrite that to fix the problem?

Thanks

Phil

Sign in to reply to this post

Ray BorduinWebAssist

update:

(str_replace('"', '&quot;', $row_WADAnews['strap']))

to:

$row_WADAnews['strap']

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

phil.evans372967

Thanks Ray. Great support as always. Nice work

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