View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

losing table formatting when Update - Adds """" every time

Thread began 8/18/2009 3:04 pm by garcia104518 | Last modified 8/18/2009 6:58 pm by garcia104518 | 1163 views | 2 replies

anonymous

Garcia,

I am not sure about your update page but I have seen where a string replace command that is used when the field for update gets automatically populated by the database can create this problem... while it works great for text areas without rich-text editors, it seems to cause problems for special items in iRite such as images or the example you describe.

The easy fix is to go into the update page and where the iRite instance is, you'll see the variable for the iRite attributes such as location, height, width, etc. and then it will hold the value that the database currently has and will look like this (please note that this code from one of my site... so it will vary slightly on yours):

(str_replace('"', '"', $row_WADAblog['content']))



You need to get rid of the str_replace and just pull the value from the database, so your code should be amended to look like this:

($row_WADAblog['content'])



Like I said, I'm not sure what your code looks like because the installation of PowerCMS does not have this code automatically on the update page but I know that the string replace method gets added when I add an iRite instance to a form created in DataAssist.

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