- Posts: 47
- Thank you received: 3
external comment system under description section
2 years 6 months ago #359573
by diacotm
external comment system under description section was created by diacotm
-- HikaShop version -- : 5.0.2
-- Joomla version -- : 5.0.3
-- PHP version -- : 8.1.13
-- Browser(s) name and version -- : firefox
Hi,
Hope you do great!
Is it possible to show the external comment system under the "description" section? At the moment it showing under all sections in the product page.
comment systems are all located in the show.php file, I need them in the show_default.php file to arrange them as I mention.
Thanks in advance
-- Joomla version -- : 5.0.3
-- PHP version -- : 8.1.13
-- Browser(s) name and version -- : firefox
Hi,
Hope you do great!
Is it possible to show the external comment system under the "description" section? At the moment it showing under all sections in the product page.
comment systems are all located in the show.php file, I need them in the show_default.php file to arrange them as I mention.
Thanks in advance
Please Log in or Create an account to join the conversation.
2 years 6 months ago #359575
by nicolas
Replied by nicolas on topic external comment system under description section
Hi,
If you know PHP and HTML you should be able to move the code from one view file to the other.
Beware though that the comment area usually has its own HTML form and the whole show_default view is inside the product page HTML form element. And you can't have a form inside another form in HTML. That's not valid.
So that means you'll also have to move the HTML form tags and hidden input fields from the show view to the show_default view so that you can keep the comment area outside of the HTML form of the product page.
So it's not a simple copy / paste.
If you know PHP and HTML you should be able to move the code from one view file to the other.
Beware though that the comment area usually has its own HTML form and the whole show_default view is inside the product page HTML form element. And you can't have a form inside another form in HTML. That's not valid.
So that means you'll also have to move the HTML form tags and hidden input fields from the show view to the show_default view so that you can keep the comment area outside of the HTML form of the product page.
So it's not a simple copy / paste.
The following user(s) said Thank You: diacotm
Please Log in or Create an account to join the conversation.
Time to create page: 0.344 seconds