close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multi language product table

Thread began 1/31/2017 9:52 am by tony | Last modified 1/31/2017 1:32 pm by Ray Borduin | 53 views | 1 replies |

tony

Multi language product table

Hi all,
I near to build a new complex website with a multilanguage products catalogue.
I'm using PHP+MYSQL.
Previously, with ADDT I was using the Many-to-Many server behaviour to manage the products table/languages is a single update/insert form.

What is the best approach to create a multilanguage catalogue with php+mysql + data assist?

I have 3 tables:
- products
- prod-lang
- lang

The prod-lang table contains the product foreign key, the lang foreign key and other fields for product description.
When I was using the many-to-many server behaviour in a product insert/update form some extra fields were created on the fly:
- checkbox for lang1, field1_lang1, field2_lang1, field3_lang1...
- checkbox for lang2, field1_lang2, field2_lang2, field3_lang2...

For every checked checkboxe above, a new record was added to the prod-lang table.

How can I do this with WA DB?
Or better, is there a better way to manage a multilanguage product catalogue/website?
TIA

tony

Sign in to reply to this post

Ray BorduinWebAssist

We have a manage relational table server behavior that will do this. On the insert table you just need the insert multiple rows server behavior, but on the update page you would need the manage relational table server behavior.

We have a tutorial on the topic: http://www.webassist.com/tutorials/Manage-relational-tables

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