Answer the question
In order to leave comments, you need to log in
Online store on Yii. I want to add a forum to it. What do you advise?
I write on Yii2 online store. I want to add the ability to discuss each product. Discussions are not needed on the product page itself. When a seller adds a product, a sub-forum should be created on the forum where topics related only to this product will be created.
So here's the actual question. Do you write everything from scratch yourself or tie in some ready-made free forum? In principle, the functionality of a standard and ready-made forum could solve the tasks. But how easy will these free forums be to make friends with YII? Maybe someone already had to fasten forums to their sites, which forum is better suited for such integration?
Answer the question
In order to leave comments, you need to log in
You can take any forum that you like and solder it, which is required, direct hands))
But I would still advise writing from scratch, it’s more convenient and from my point of view it’s easier, it’s very simple, you create a tpl / css / js shell in short forum, then you create a table for the "forum", a controller is created in the framework to which requests with the ID and name (instead of the topic) of the product will come, which will tell the "model" that you need to add the ID and name of the product to the table, then add "answers / comments "Yii has standard solutions (as far as I remember), basically, to create a Forum, you only need to know the template engine and standard sql queries, if you are good at the tool and, accordingly, the language itself (php), then there should not be any problems.
Attach a comment widget from a contact or Facebook. It's unlikely that you need a forum.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question